Created
May 10, 2011 18:39
-
-
Save zircote/965105 to your computer and use it in GitHub Desktop.
phpcs report types
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
phpcs --standard=tests/build/phpcs.xml --report=summary . | |
PHP CODE SNIFFER REPORT SUMMARY | |
-------------------------------------------------------------------------------- | |
FILE ERRORS WARNINGS | |
-------------------------------------------------------------------------------- | |
/usr/local/zend/apache2/htdocs/project/application/Bootstrap.php 1 4 | |
...2/htdocs/Project/application/controllers/ActivityController.php 3 1 | |
... | |
-------------------------------------------------------------------------------- | |
A TOTAL OF 4 ERROR(S) AND 5 WARNING(S) WERE FOUND IN 99 FILE(S) | |
-------------------------------------------------------------------------------- | |
Time: 8 seconds, Memory: 6.00Mb | |
phpcs --standard=tests/build/phpcs.xml --report=source . | |
PHP CODE SNIFFER VIOLATION SOURCE SUMMARY | |
-------------------------------------------------------------------------------- | |
STANDARD CATEGORY SNIFF COUNT | |
-------------------------------------------------------------------------------- | |
Generic Files Line length too long 330 | |
Zend Naming conventions Valid variable name not camel caps 253 | |
PEAR Control structures Control signature 249 | |
Generic Functions Function call argument spacing no space aft 199 | |
Zend Naming conventions Valid variable name private no underscore 70 | |
Generic Functions Opening function brace bsd allman brace on 68 | |
Generic Files Line length max exceeded 55 | |
... | |
Zend Naming conventions Valid variable name string var not camel ca 1 | |
-------------------------------------------------------------------------------- | |
A TOTAL OF 1526 SNIFF VIOLATION(S) WERE FOUND IN 26 SOURCE(S) | |
-------------------------------------------------------------------------------- | |
Time: 6 seconds, Memory: 6.00Mb | |
phpcs --standard=tests/build/phpcs.xml --report=full . | |
FILE: /usr/local/zend/apache2/htdocs/Project/application/Bootstrap.php | |
-------------------------------------------------------------------------------- | |
FOUND 1 ERROR(S) AND 4 WARNING(S) AFFECTING 5 LINE(S) | |
-------------------------------------------------------------------------------- | |
15 | WARNING | Line exceeds 80 characters; contains 92 characters | |
19 | WARNING | Line exceeds 80 characters; contains 103 characters | |
32 | WARNING | Line exceeds 80 characters; contains 84 characters | |
36 | WARNING | Line exceeds 80 characters; contains 99 characters | |
76 | ERROR | Space after opening parenthesis of function call prohibited | |
------------------------------------------------------------------------------- | |
... | |
Time: 7 seconds, Memory: 6.00Mb |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment