Package Details: php-codesniffer 3.9.2-2

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: 64
Popularity: 0.000214
First Submitted: 2010-06-13 09:00 (UTC)
Last Updated: 2024-04-30 12:33 (UTC)

Latest Comments

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

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?

KingCrunch commented on 2016-04-14 22:08 (UTC)

Hi. I've seen the same issue and yes, adjusting the include_path should solve my problem. Is there's a reason you don't use the PHAR distribution? It contains all required dependencies, thus there is no need to change system settings to get things working.

broiniac commented on 2016-01-14 16:12 (UTC)

No, but thanks for update. My error can be fixed by setting: include_path = ".:/usr/share/pear" in php.ini. Thanks for your reply :)

sender commented on 2016-01-13 17:05 (UTC)

Updated to latest stable v2.5.0 @Alphanumerix: does this fix your problem?