[phpMyAdmin Developers] Trouble with phpcs?
MaurĂcio Meneghini Fauth
mauriciofauth at gmail.com
Thu Aug 10 17:02:44 CEST 2017
Hello, Isaac.
I just ran phpcs here and found no problem.
Try deleting the vendor directory and run composer update.
MaurĂcio Meneghini Fauth
On Thu, Aug 10, 2017 at 11:33 AM, Isaac Bennetch <bennetch at gmail.com> wrote:
> I'm having trouble manually running phpcs on my system, has anyone
> else tried lately? I haven't run it locally in some time and now I get
> an error.
>
> All the Google results I've found for this error are for software
> using phpcs that wasn't compatible with version 3, so it's tough for
> me to tell offhand if this is something wrong with my system directly
> or a version incompatibility.
>
> PHP Fatal error: Interface 'PHP_CodeSniffer_Sniff' not found in
> /var/www/pma-dev/coding-standard/PMAStandard/Sniffs/Commenting/
> FunctionCommentSniff.php
> on line 29
> PHP Stack trace:
> PHP 1. {main}() /usr/bin/phpcs:0
> PHP 2. PHP_CodeSniffer\Runner->runPHPCS() /usr/bin/phpcs:18
> PHP 3. PHP_CodeSniffer\Runner->init()
> /usr/share/php/PHP/CodeSniffer/src/Runner.php:70
> PHP 4. PHP_CodeSniffer\Ruleset->__construct()
> /usr/share/php/PHP/CodeSniffer/src/Runner.php:294
> PHP 5. PHP_CodeSniffer\Ruleset->registerSniffs()
> /usr/share/php/PHP/CodeSniffer/src/Ruleset.php:206
> PHP 6. PHP_CodeSniffer\Autoload::loadFile()
> /usr/share/php/PHP/CodeSniffer/src/Ruleset.php:1094
> PHP 7. include() /usr/share/php/PHP/CodeSniffer/autoload.php:167
>
> _______________________________________________
> Developers mailing list
> Developers at phpmyadmin.net
> https://lists.phpmyadmin.net/mailman/listinfo/developers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.phpmyadmin.net/pipermail/developers/attachments/20170810/25155a37/attachment.html>
More information about the Developers
mailing list