This repository has been abandoned. Its successor is PHPCSStandards/PHP_CodeSniffer (as written on the homepage of the project https://github.com/squizlabs/PHP_CodeSniffer). The files should point to the new releases on https://github.com/PHPCSStandards/PHP_CodeSniffer/
Search Criteria
Package Details: php-codesniffer 3.9.2-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/php-codesniffer.git (read-only, click to copy) |
---|---|
Package Base: | php-codesniffer |
Description: | PHP_CodeSniffer tokenizes PHP, JavaScript and CSS files to detect and fix violations of a defined set of coding standards. |
Upstream URL: | http://pear.php.net/package/PHP_CodeSniffer/ |
Licenses: | BSD |
Submitter: | None |
Maintainer: | sender |
Last Packager: | sender |
Votes: | 64 |
Popularity: | 0.000273 |
First Submitted: | 2010-06-13 09:00 (UTC) |
Last Updated: | 2024-04-24 23:57 (UTC) |
Dependencies (1)
Required by (10)
Sources (5)
G4Zz0L1 commented on 2024-04-26 10:28 (UTC)
simona commented on 2024-04-26 10:00 (UTC)
can't import key 95DE904AB800754A11D80B605E6DDE998AB73B8E
system7 commented on 2024-04-26 05:16 (UTC)
There is an error
-> Downloading phpcs-3.9.2.phar...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 9 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
curl: (56) The requested URL returned error: 404
==> ERROR: Failure while downloading https://github.com/squizlabs/PHP_CodeSniffer/releases/download/3.9.2/phpcs.phar
Aborting...
-> error downloading sources: /home/system7/.cache/yay/php-codesniffer
context: error downloading sources: /home/system7/.cache/yay/php-codesniffer
context: exit status 1
:: (1/2) Parsing SRCINFO: php-codesniffer-phpcsutils
:: (2/2) Parsing SRCINFO: php-codesniffer
gpg: error reading key: No public key
:: PGP keys need importing:
-> 95DE904AB800754A11D80B605E6DDE998AB73B8E, required by: php-codesniffer
:: Import? [Y/n]
:: Importing keys with gpg...
gpg: keyserver receive failed: No data
-> problem importing keys
blackout commented on 2024-04-25 16:48 (UTC)
==> ERROR: Failure while downloading https://github.com/squizlabs/PHP_CodeSniffer/releases/download/3.9.2/phpcs.phar Aborting... -> error making: php-codesniffer-exit status 1 -> Failed to install the following packages. Manual intervention is required: php-codesniffer - exit status 1
matth commented on 2024-04-22 20:57 (UTC)
@sender: I was able to validate the new key by using gpg --keyserver keys.openpgp.org --recv-keys 5E6DDE998AB73B8E
with the key of validpgpkeys=('95DE904AB800754A11D80B605E6DDE998AB73B8E')
in the PKGBUILD
Found the key here: https://keys.openpgp.org/search?q=5E6DDE998AB73B8E
As a side note, I'm thinking this package that downloads the .phar files directly should be named php-codesniffer-bin
I have a version of the PKGBUILD here that builds the .phar files from the source directly: https://github.com/matt-h/aur-pkgbuilds/blob/main/php-codesniffer/PKGBUILD
sender commented on 2024-04-07 21:38 (UTC)
Ready to update to 3.9.1, but as PHPCS is under a different organization now, I'm getting ==> ERROR: One or more PGP signatures could not be verified!
. Their website (https://github.com/PHPCSStandards/PHP_CodeSniffer#installation) supplies a fingerprint, but I wasn't successful in importing the right public key. Before I update PHPCS without asc files (no checking), I'd like to ask here whether anyone has a pointer to solve this. TIA
long_blade commented on 2020-11-10 16:14 (UTC) (edited on 2020-11-10 16:18 (UTC) by long_blade)
If you encounter the following error use a different key server!
gpg: keyserver receive failed: General error
Try the following:
gpg --keyserver keys.gnupg.net --recv-keys 31C7E470E2138192
sender commented on 2020-04-12 11:54 (UTC)
@ohobbs72: I never heard this complaint before. I have to say that I don't use this package myself anymore, but looking at https://github.com/squizlabs/PHP_CodeSniffer/blob/dabf3019abc9aff3d9c864167c19cee226da880a/src/Config.php#L1551 I don't see anything that can be changed during packaging to get rid of the error. Suggestions are welcome.
ohobbs72 commented on 2020-04-12 02:13 (UTC)
"ERROR: Config file /usr/bin/CodeSniffer.conf could not be written" - Why does it write the config there and not in the home directory?
sender commented on 2018-11-09 23:28 (UTC)
@OneEyedSpaceFish, pkgrel
didn't match. yay
let this slip, pacaur
apparently not. Anyway, should be fixed now!
Pinned Comments
sender commented on 2018-11-01 13:47 (UTC)
Installation note: the message "One or more PGP signatures could not be verified!" means that you need to import Greg Sherwood's key by running
gpg --recv-keys 31C7E470E2138192
. More info on keys: https://wiki.archlinux.org/index.php/GnuPG#Import_a_public_key