On Thu, May 3, 2012 at 9:23 AM, Michal Čihař <
michal@...> wrote:
> Just a small comment:
>
> you don't have to copy PMAStandard anywhere with phpcs if it is
> available in current directory - so running phpcs
> --standard=PMAStandard in phpMyAdmins checkout will work
Well I've initially tried it this way, but I get a stack trace:
$ git co master
$ git pull upstream master
$ ls -al | grep PMA
drwxrwxr-x 3 alex alex 4096 May 3 09:32 PMAStandard
$ phpcs --standard=PMAStandard libraries/import/*
PHP Fatal error: Uncaught exception 'PHP_CodeSniffer_Exception' with
message 'Class PMAStandard_Sniffs_Commenting_FileCommentSniff not
found' in /home/alex/Documents/work/pma_github/PMAStandard/Sniffs/Commenting/ClassCommentSniff.php:23
Stack trace:
#0 /usr/share/php/PHP/CodeSniffer.php(652): include_once()
#1 /usr/share/php/PHP/CodeSniffer.php(438):
PHP_CodeSniffer->setTokenListeners('PMAStandard', Array)
#2 /usr/share/php/PHP/CodeSniffer/CLI.php(551):
PHP_CodeSniffer->process(Array, 'PMAStandard', Array, false)
#3 /usr/bin/phpcs(37): PHP_CodeSniffer_CLI->process()
#4 {main}
thrown in /home/alex/Documents/work/pma_github/PMAStandard/Sniffs/Commenting/ClassCommentSniff.php
on line 23
alex@ukf-laptop:~/Documents/work/pma_github$
So my solution was to move that folder under Standards :)
Am I the only one getting this error?
--
Alex
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats.
http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/_______________________________________________
Phpmyadmin-devel mailing list
Phpmyadmin-devel@...
https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel