Package Details: php-codesniffer 3.12.2-1

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: https://github.com/PHPCSStandards/PHP_CodeSniffer
Licenses: BSD
Submitter: None
Maintainer: sender
Last Packager: sender
Votes: 63
Popularity: 0.000000
First Submitted: 2010-06-13 09:00 (UTC)
Last Updated: 2025-04-13 09:23 (UTC)

Pinned Comments

sender commented on 2024-07-25 10:59 (UTC)

In case of problems with GPG key try:

gpg --keyserver keys.openpgp.org --recv-keys 689DAD778FF08760E046228BA978220305CD5C32

Thanks @bickman2k, @system7

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 Next › Last »

sender commented on 2018-02-07 12:38 (UTC)

@leosanvieira Did you take a look at: https://wiki.archlinux.org/index.php/GnuPG#Import_a_public_key

leosanvieira commented on 2018-02-07 12:26 (UTC) (edited on 2018-02-07 12:35 (UTC) by leosanvieira)

Not working, failing at pgp verification.

==> Validating source files with sha256sums... phpcs-3.2.2.phar ... Passed phpcs-3.2.2.phar.asc ... Skipped phpcbf-3.2.2.phar ... Passed phpcbf-3.2.2.phar.asc ... Skipped licence-3.2.2.txt ... Passed ==> Verifying source file signatures with gpg... phpcs-3.2.2.phar ... FAILED (unknown public key 31C7E470E2138192) phpcbf-3.2.2.phar ... FAILED (unknown public key 31C7E470E2138192) ==> ERROR: One or more PGP signatures could not be verified!

vendion commented on 2017-02-14 14:17 (UTC) (edited on 2017-02-14 14:36 (UTC) by vendion)

Not sure if the checksums are out of date or if broken again ==> Making package: php-codesniffer 2.8.0-1 (Tue Feb 14 09:15:34 EST 2017) ==> Retrieving sources... -> Found phpcs.phar -> Found phpcbf.phar -> Found licence.txt ==> Validating source files with sha256sums... phpcs.phar ... FAILED phpcbf.phar ... FAILED licence.txt ... Passed ==> ERROR: One or more files did not pass the validity check! Edit: I removed pacaur's cache directory for php-codesniffer and tried again and it worked so please ignore.

rednas commented on 2016-10-21 07:04 (UTC)

@sender, thanks for looking about the problem. Today it worked. Maybe some broken build in my cache. Although I deleted it meanwhile.

sender commented on 2016-10-20 16:19 (UTC)

@rednas This time I can't replicate. When I download the phar's from github and run sha256sum on them, they all match.

rednas commented on 2016-10-19 06:02 (UTC)

Hi, since last update the validity check error is back: ==> Validating source files with sha256sums... phpcs.phar ... FAILED phpcbf.phar ... FAILED licence.txt ... Passed ==> ERROR: One or more files did not pass the validity check!

sender commented on 2016-06-01 10:14 (UTC)

@sanduhrs Fixed checksums. Got bitten by old-version/same-name *.phar in build dir.

sanduhrs commented on 2016-05-31 17:13 (UTC)

==> Validating source files with sha256sums... phpcs.phar ... FAILED phpcbf.phar ... FAILED licence.txt ... Passed ==> ERROR: One or more files did not pass the validity check! ==> ERROR: Makepkg was unable to build php-codesniffer.

sender commented on 2016-04-17 12:02 (UTC)

@KingCrunch I've switched this package to use PHAR instead of using PEAR. Thanks for the pointer. Please test.

sender commented on 2016-04-16 17:03 (UTC) (edited on 2016-04-16 17:04 (UTC) by sender)

@KingCrunch I haven't used this personally for a while. Do you refer to/what do you think of the: 'php pyrus.phar install pear/PHP_CodeSniffer' method that's suggested on http://pear.php.net/package/PHP_CodeSniffer?