Package Details: php-codesniffer 3.4.2-3

Git Clone URL: https://aur.archlinux.org/php-codesniffer.git (read-only)
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: custom
Submitter: None
Maintainer: sender
Last Packager: sender
Votes: 53
Popularity: 0.048067
First Submitted: 2010-06-13 09:00
Last Updated: 2019-04-11 09:14

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: https://wiki.archlinux.org/index.php/GnuPG#Import_a_public_key

Latest Comments

1 2 3 4 5 Next › Last »

sender commented on 2018-11-09 23:28

@OneEyedSpaceFish, pkgrel didn't match. yay let this slip, pacaur apparently not. Anyway, should be fixed now!

OneEyedSpaceFish commented on 2018-11-09 17:16

@sender

Hi! It seems that ever since the latest build 3.3.2-2 Pacaur fails to update the package with the following error message:

:: php-codesniffer package(s) failed to install.

:: ensure package version does not mismatch between .SRCINFO and PKGBUILD

:: ensure package name has a VCS suffix if this is a devel package

Do you have any idea why would this be?

Thanks; SpaceFish

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: https://wiki.archlinux.org/index.php/GnuPG#Import_a_public_key

sender commented on 2018-11-01 13:42

@hoerbert Apologies. Changed something in the procedure and this was left out. Pushed a fix.

hoerbert commented on 2018-11-01 12:59

Hey sender, is it possible you forgot to update the checksums of the downloaded files?

==> Validating source files with sha256sums... phpcs-3.3.2.phar ... FAILED phpcs-3.3.2.phar.asc ... Skipped phpcbf-3.3.2.phar ... FAILED phpcbf-3.3.2.phar.asc ... Skipped licence-3.3.2.txt ... Passed ==> ERROR: One or more files did not pass the validity check!

// Edit: Well… I don't seem to be able to format that correctly… Sorry for that.

lpanhirsch commented on 2018-10-30 13:21

gpg --recv-keys 31C7E470E2138192

leosanvieira commented on 2018-02-07 13:38

@sender, shouldn't(couldn't) this info about importing the key be in a pinned comment?

sender commented on 2018-02-07 12:38

@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

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

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.