Package Details: php-codesniffer 3.7.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: http://pear.php.net/package/PHP_CodeSniffer/
Licenses: BSD
Submitter: None
Maintainer: sender
Last Packager: sender
Votes: 64
Popularity: 0.000605
First Submitted: 2010-06-13 09:00 (UTC)
Last Updated: 2023-03-03 11:25 (UTC)

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

Latest Comments

1 2 3 4 5 Next › Last »

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!

OneEyedSpaceFish commented on 2018-11-09 17:16 (UTC) (edited on 2018-11-09 17:16 (UTC) by OneEyedSpaceFish)

@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 (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

sender commented on 2018-11-01 13:42 (UTC)

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

hoerbert commented on 2018-11-01 12:59 (UTC) (edited on 2018-11-01 13:02 (UTC) by hoerbert)

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 (UTC)

gpg --recv-keys 31C7E470E2138192

leosanvieira commented on 2018-02-07 13:38 (UTC)

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