Package Details: php-codesniffer 3.6.0-1

Git Clone URL: (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:
Licenses: BSD
Submitter: None
Maintainer: sender
Last Packager: sender
Votes: 61
Popularity: 0.90
First Submitted: 2010-06-13 09:00
Last Updated: 2021-04-15 17:26

Pinned Comments

sender commented on 2018-11-01 13:47

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:

Latest Comments

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

ram4nd commented on 2015-04-09 07:36

Does not work with PhpStorm!

bugbuster commented on 2015-04-05 14:24

I found the reason:

My user account has a .pearrc which defines custom directories. This .pearrc is picked up by the build and everything is screwed up.
I did not get -u working to skip user configuration. So I ended up using

HOME=/tmp pear install -P ${pkgdir} ${srcdir}/${_pkgname}-${pkgver}.tgz

which worked ;-)

sender commented on 2015-04-04 21:33

@bugbuster I can't reproduce this error. Other packages installing through PEAR apply similar techniques to remove PEAR metadata from $pkgdir. Suggestions are welcome.

bugbuster commented on 2015-04-04 10:20

The PKGBUILD does not work as expected:

LANG=en_US.UTF-8 makepkg
==> Making package: php-codesniffer 2.3.0-1 (Sat Apr 4 12:18:07 CEST 2015)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found PHP_CodeSniffer-2.3.0.tgz
==> Validating source files with md5sums...
PHP_CodeSniffer-2.3.0.tgz ... Passed
==> Extracting sources...
==> Removing existing $pkgdir/ directory...
==> Entering fakeroot environment...
==> Starting package()...
install ok: channel://
/tmp/php-codesniffer/PKGBUILD: line 24: cd: /tmp/php-codesniffer/pkg/php-codesniffer/usr/share/pear: No such file or directory
==> ERROR: A failure occurred in package().

Durag commented on 2015-04-02 22:08

2.3.0 is out. md5sum is 7572350670346fe9183259d7c0c91656

If you also get a PHP Warning about open_basedir restrictions, I found an easy tutorial how to fix this:
It's in spanish but easy to understand.

Durag commented on 2015-04-02 21:39

2.3.0 is out

pfrenssen commented on 2015-01-13 08:09

2.1.0 is out.

Cthulhu82 commented on 2014-12-12 14:58

2.0.0 was released on 2014-12-05

dago_ar commented on 2014-10-19 01:00

1.5.5 (stable) was released on 2014-09-26

sender commented on 2013-03-10 11:00

@skremiec Your lines have been added, tested and seem to work fine. Thanks for the addition.