PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » PHP » PHP_CodeSniffer

PHP_CodeSniffer tokenizes PHP, JavaScript and CSS files to detect and fix violations of a defined set of coding standards.

Download latest release 3.7.2 (archived versions might be outdated)

License: BSD 3-Clause License

Description

PHP_CodeSniffer is a set of two PHP scripts; the main phpcs script that tokenizes PHP, JavaScript and CSS files to detect violations of a defined coding standard, and a second phpcbf script to automatically correct coding standard violations. PHP_CodeSniffer is an essential development tool that ensures your code remains clean and consistent.

Documentation

Manual

Maintainers

Dependencies

Required

Releases

Bugs

IDStatusTypeVersionDateSummary
#8834ClosedBugCVS2006-10-03Massive memory consumption
#8836ClosedBugCVS2006-10-03path case issues in package.xml
#8837ClosedBugCVS2006-10-03Indent rules are applied to multi line string data
#8841ClosedBugCVS2006-10-03comments taken as whitespace
#8843ClosedBugCVS2006-10-03confusion on nested switch()
#8884ClosedBug2006-10-07another problem with nested switch() statements
#8886BogusBug0.1.12006-10-07Tabs counted as 1 whitespace
#9196ClosedBug0.2.02006-10-31Closing brace detected wrong when comment is used
#9202BogusBug0.2.02006-10-31php notice: Undefined index: scope_closer
#9203BogusBug0.2.02006-10-31Problems with return statement not alone
#9274ClosedBug0.2.02006-11-08nested_parenthesis element not set for open and close parenthesis tokens
#9411ClosedBug0.2.02006-11-21too few pattern characters cause incorrect error report
#9806ClosedBug0.3.02007-01-11When comment is no data, The result is that output script error message.
#9837BogusBug0.3.02007-01-15no phpcs
#9844ClosedBug0.3.02007-01-15throw new Exception(\n accidently reported as error but it ain't
#9883DuplicateBug0.3.02007-01-20Fatal error if empty comment block encountered
#10348ClosedReq0.4.02007-03-13phpcs script should return a value
#10704ClosedBug0.4.02007-04-12Function name "__autoload"
#10751ClosedBug0.5.02007-04-17phpcs fails with fatal error
#10757ClosedBug0.5.02007-04-17Error in ControlSignatureSniff
#10761ClosedReq0.5.02007-04-17phpcs should output lineends os dependently
#10777DuplicateBug0.5.02007-04-19Sniffer class paths handled incorrectly in Windows
#10875ClosedBug0.5.02007-04-28Example error in doc
#10952DuplicateBug0.5.02007-05-06Invalid detection of "if (foo){"
#10953DuplicateReq0.5.02007-05-06(optional) non-0 exitcode when files do not match coding standards
#10961ClosedBug0.5.02007-05-07Error "Last parameter comment requires a blank newline after it" thrown
#10962BogusBug0.5.02007-05-07per reference parameter doc should not include &
#10979ClosedReq0.5.02007-05-08Add switch to ignore subdirectories
#10980ClosedBug0.5.02007-05-08Incorrect warnings for euqals sign
#10983ClosedBugCVS2007-05-08phpcs outputs notices when checking invalid PHP
#11038ClosedReq0.6.02007-05-15Allow SVN version tag in PEAR standard file doc block
#11041BogusBug0.6.02007-05-15Incorrect detection of line endings
#11056ClosedReq0.6.02007-05-16Add possibility to exclude sniffs from another standard
#11087ClosedReq0.6.02007-05-21Change private methods to protected to allow subclassing of standards
#11105ClosedBug0.6.02007-05-23getIncludedSniffs() not working anymore
#11119DuplicateBug0.6.02007-05-24Invalid warning when param and doc block param do not match because of &
#11120ClosedBug0.6.02007-05-24Uninitialized string offset in AbstractParser.php on line 200
#11183DuplicateBug0.6.02007-05-31getExcludedSniffs() not working anymore
#11535ClosedReqCVS2007-07-05Offer other report formats
#11549BogusBug0.7.02007-07-06don't warn on cvs IDs in @version
#11550BogusBug0.7.02007-07-06don't require file docblock if class is the only one in file
#11554BogusBug0.7.02007-07-06undefined notices with Net/Wifi.php
#11555ClosedReq0.7.02007-07-07Equals sign alignment warnings too hard
#11556ClosedReq0.7.02007-07-07cmdline option to exclude certain directories
#11561ClosedReq0.7.02007-07-08equal sign alignment and long lines
#11562BogusReq0.7.02007-07-08space after opening paranthesis (
#11693ClosedReq0.7.02007-07-26More verbose messages
#11738ClosedReq0.7.02007-08-02Tab in col1 should be flagged as illegal
#11803ClosedReq0.8.02007-08-09Standards can't be placed as Symlinks
#11886ClosedReq0.8.02007-08-21Allow command line input of sniffs directory
#12192BogusBug0.9.02007-10-07The Generic DisallowShortOpenTag sniff doesn't work
#12270BogusBug0.9.02007-10-18@version parsing wrong in PEAR standards
#12288BogusBug0.9.02007-10-21warnings and notices when generating report
#12309DuplicateReq0.9.02007-10-23Tedious to make standard which uses tab indents
#12315BogusBug0.9.02007-10-23PHPDoc params do not align
#12316ClosedBug0.9.02007-10-23PEAR is no longer the default standard
#12321ClosedBugCVS2007-10-24wrong detection of missing function docblock
#12368ClosedBug1.0.0RC12007-11-01Autoloader cannot be found due to include_path override
#12378ClosedBug1.0.0RC12007-11-04equal sign alignments problem with while()
#12380ClosedReqCVS2007-11-04add exitcodes on errors and check PHP version
#12382ClosedReqCVS2007-11-04add parsing of @subpackage
#12421ClosedReq1.0.0RC12007-11-11Optimize CodeSniffer
#12434ClosedReq1.0.0RC12007-11-13allow several output renderers
#12455ClosedBug1.0.0RC22007-11-15CodeSniffer treats content inside heredoc as PHP code
#12471ClosedBug1.0.0RC22007-11-18Checkstyle report is broken
#12474BogusReq1.0.0RC22007-11-18do not warn about legacy function names
#12476ClosedBug1.0.0RC22007-11-18PHP4 destructors are reported as error
#12477BogusBug1.0.0RC22007-11-18Undefined index/uncaught exceptions
#12509BogusReq1.0.0RC22007-11-23@version troubles
#12513ClosedBug1.0.0RC22007-11-23Checkstyle XML messages need to be utf8_encode()d
#12517ClosedBug1.0.0RC22007-11-24getNewlineAfter() and dos files
#12535BogusBug1.0.0RC22007-11-27Ignore pattern seems to ignore deeper directories
#12544ClosedReq1.0.0RC22007-11-28extended --ignore pattern behavior
#12561ClosedReq1.0.0RC32007-12-01Scope detection throws E_NOTICE
#12621ClosedBug1.0.0RC32007-12-05"space after AS" check is wrong.
#12645ClosedBug1.0.0RC32007-12-09error message is wrong.
#12651ClosedBug1.0.0RC32007-12-10Increment/Decrement Operators Usage at -1
#12700ClosedReq1.0.0RC32007-12-15avoid raising error when @ignore tag is set for a class/function
#12752BogusBug1.0.02007-12-21PHP_CodeSniffer not picking up changes to Code Standard
#12767ClosedBug1.0.02007-12-23Cant run phpcs from dir with PEAR subdir
#12773ClosedBug1.0.02007-12-25Reserved variables are not detected in strings
#12832ClosedBug1.0.02008-01-05Tab to space conversion does not work
#12888ClosedBug1.0.02008-01-12extra space indentation = Notice: Uninitialized string offset...
#12909ClosedBug1.0.02008-01-14Default generateDocs function does not work under linux
#12936BogusReq1.0.02008-01-20Tabs only for indentation
#12952ClosedReq1.0.02008-01-21short open tags = nothing happens
#12957ClosedBug1.0.02008-01-22PHP 5.3 magic method __callStatic
#13062ClosedBugCVS2008-02-05Interface comments aren't handled in PEAR standard
#13119ClosedBug1.0.12008-02-14php minimum requirement need to be fix
#13156ClosedBug1.0.12008-02-20Bug in Squiz_Sniffs_PHP_NonExecutableCodeSniff
#13158ClosedBug1.0.12008-02-20Strange behaviour in AbstractPatternSniff
#13169ClosedBugCVS2008-02-21Undefined variables
#13178ClosedBug1.0.12008-02-22Catch exception in File.php
#13242ClosedReq1.0.12008-02-28Checkstyle output misses source attribute
#13254ClosedBug1.0.12008-02-28Notices output in checkstyle report causes XML issues
#13269ClosedReq1.0.12008-02-29phpcs doesn't check if tokenizer extension is installed
#13330ClosedBug1.0.12008-03-07Output non-content-warnings on stderr
#13365ClosedReq1.0.12008-03-10Allow '\x' in double quotes
#13405Wont fixReq1.0.12008-03-16error raised when define user function
#13446ClosedBug1.0.12008-03-20crash with src of phpMyAdmin
#13570ClosedReq1.0.12008-04-03Enhancement of DisallowCountInLoopsSniff
#13774Wont fixReq1.0.12008-04-25Make coding standards separate packages
#13813OpenReq1.1.0a12008-04-30ScopeIndent with "exact" does not work properly
#13820ClosedReq1.0.12008-05-02add INDENT pattern to AbstractPatternSniff class
#13827ClosedBug1.1.0a12008-05-02AbstractVariableSniff throws "undefined index"
#13834Wont fixReq1.0.12008-05-03Add a sniff for camelCase variables (PEAR CS)
#13846ClosedBug1.1.0a12008-05-07Bug in Squiz.NonExecutableCodeSniff
#13849ClosedBugCVS2008-05-07infinite loop in PHP_CodeSniffer_File::findNext()
#13921ClosedBug1.1.0RC12008-05-16js parsing fails for comments on last line of file
#13922ClosedBug1.1.0RC12008-05-16crash in case of malformed (but tokenized) php file
#14002ClosedReqCVS2008-05-28Add mechanism to suppress error/warning due to failed sniff
#14074Wont fixReq1.0.12008-06-04Log in Database, ala PHPUnit
#14076ClosedReq1.0.12008-06-04Gracefully handle permission denied errors (filesystem)
#14077ClosedBug1.0.12008-06-04Fatal error: Uncaught PHP_CodeSniffer_Exception: $stackPtr is not a class membe
#14092No FeedbackBug1.1.0RC12008-06-06Notices and Fatal Error
#14094ClosedBug1.0.12008-06-06Fatal Error
#14168ClosedBug1.1.0RC22008-06-17Global Function -> Static Method and __autoload()
#14172BogusBug1.1.0RC22008-06-17unexpected sniff error on indenting
#14216No FeedbackBug1.0.12008-06-23Notices when running phpcs
#14237ClosedReq1.1.0RC22008-06-25Line length should be measured by mb_strwidth
#14238ClosedBug1.1.0RC22008-06-25Line length not checket at last line of a file
#14249ClosedBug1.0.12008-06-27wrong detection of scope_opener
#14250ClosedBug1.1.0RC22008-06-27ArrayDeclarationSniff emit warnings at malformed array
#14251ClosedBug1.1.0RC22008-06-27--extensions option doesn't work
#14362BogusBug1.1.02008-07-17Problem with Zend coding standard
#14409ClosedBug1.1.02008-07-27Output of warnings to log file
#14410ClosedReq1.1.02008-07-27Possible memory leackage?
#14489BogusBug1.1.02008-08-11Uncaught PHP_CodeSniffer_Exception
#14520ClosedBug1.1.02008-08-18Notice: Undefined offset: 1 in /usr/share/php/PHP/CodeSniffer/File.php on line
#14521BogusBug1.1.02008-08-18Warnings while multi byte overloading is turned on
#14637ClosedBug1.1.02008-09-11Call to processUnknownArguments() misses second parameter $pos
#14647ClosedReq1.1.02008-09-14Zend standard does not distinguish opening brace on function declarations
#14699ClosedReq1.1.02008-09-24PEAR FileCommentSniff makes bad inheritence choice
#14712BogusBug1.1.02008-09-25The forwards-compatibility 'binary' keyword is not recognized
#14713ClosedDoc1.1.02008-09-25UselessOverridingMethodSniff: Documentation - Class overview section
#14797ClosedBug1.1.02008-10-15Incorrect "actual spaces" count
#14874ClosedReq1.1.02008-10-25Allow GIT: in @version
#14889ClosedBugCVS2008-10-26Lack of clarity: licence or license
#14953ClosedReq1.1.02008-11-04output into file
#14967ClosedReq1.1.02008-11-06Allow relative paths to specify location of custom coding standards
#15008ClosedBug1.1.02008-11-12Nested Parentheses in Control Structure Sniffs
#15036BogusBugCVS2008-11-14Odd behaviour with space counting
#15091ClosedBug1.1.02008-11-19pre-commit hook attempts to sniff folders
#15124ClosedBugCVS2008-11-22AbstractParser.php uses deprecated split() function
#15183Wont fixBug1.1.02008-11-28Maximum function nesting level of '100' reached, in CodeSniffer/File.php
#15188ClosedBugCVS2008-11-29PHPCS vs HEREDOC strings
#15195ClosedReq1.1.02008-12-01Code for detecting asperand silenced errors in code.
#15231ClosedBugCVS2008-12-03Notice: Uninitialized string offset: 0 in FileCommentSniff.php on line 555
#15265ClosedBugCVS2008-12-07Parse error: syntax error, unexpected ',' in /home/clockwerx/pear/PHP_CodeSniff
#15336ClosedBugCVS2008-12-17Notice: Undefined offset: 2 in /usr/share/php/PHP/CodeSniffer/File.php on line
#15338Wont fixReqCVS2008-12-17Add INFO message level
#15371No FeedbackBug1.1.02008-12-21E_ALL warnings
#15383ClosedBug1.1.02008-12-23Uncaught PHP_CodeSniffer_Exception
#15408ClosedBugCVS2008-12-26An unexpected exception has been caught: Undefined offset: 2
#15519ClosedBugCVS2009-01-05Uncaught PHP_CodeSniffer_Exception
#15624ClosedBug1.2.0a12009-01-13Pre-commit hook fails with PHP errors
#15661ClosedBugCVS2009-01-16Uncaught PHP_CodeSniffer_Exception
#15722ClosedBug1.1.02009-01-22"declare(encoding = 'utf-8');" leads to "Missing file doc comment"
#15723DuplicateBug1.1.02009-01-22Syntax-Error in phpcs-svn-pre-commit
#15726No FeedbackDoc1.1.02009-01-22--ignore Flag in CLI help block should read --patterns
#15830ClosedReq1.2.0a12009-01-30Magic Methods property is private in NamingConventions/ValidFunctionNameSniff
#15833BogusBug1.2.0a12009-01-30<code> tag in phpdoc not honoured
#15865ClosedReq1.2.0a12009-02-02Sniff to help ensure use of multibyte functions
#15910ClosedBug2009-02-18Object operator indention not calculated correctly
#15936No FeedbackBug2009-02-24duplicate error messages being displayed for custom sniff
#15966No FeedbackBug2009-03-01Fatal error when code sniffing a nested switch
#15980ClosedBug2009-03-05PHP_CodeSniffer change php current directory
#16001ClosedBug1.2.0RC12009-03-09Notice triggered
#16054ClosedBug1.2.0RC12009-03-23phpcs-svn-pre-commit not showing any errors
#16071ClosedBug1.2.0RC12009-04-04Fatal error: Uncaught PHP_CodeSniffer_Exception
#16107No FeedbackReq1.1.02009-04-15Error/Warning output for ant
#16114ClosedReqCVS2009-04-17Find unused functions, methods, classes
#16133Wont fixReqUnkown2009-04-21Prepare for change to PHP 6
#16137No FeedbackBug1.2.0RC12009-04-22Undefined offset: 2 File.php line 531
#16140DuplicateBug1.2.0RC12009-04-22$stackPtr is not a class member var
#16141DuplicateBug1.2.0RC12009-04-22Unable to handle switch case statements.
#16142DuplicateBug1.2.0RC12009-04-22Unable to handle switch case statements.
#16143No FeedbackBug1.2.0RC12009-04-22Unable to handle switch case statements.
#16163ClosedReq1.2.0RC12009-04-30Allow error messges to be overridden when extended sniffs
#16170ClosedBug1.2.0RC12009-05-02Undefined Offset -1 in MultiLineConditionSniff.php on line 68
#16171ClosedBug1.2.0RC12009-05-02Undefined Offset -1 in ObjectOperatorIndentSniff.php on line 89
#16172No FeedbackBug1.2.0RC12009-05-02Undefined offset -1 in FunctionCallSignatureSniff.php on line 176
#16175ClosedBug1.2.0RC12009-05-03Bug in Squiz-IncrementDecrementUsageSniff
#16179ClosedBug1.2.0RC12009-05-04TestSuite not run with php <file> command
#16198BogusBug1.1.02009-05-07Function name invalid: suggestion does not make sense
#16209ClosedReqCVS2009-05-09Sniffs for PHPUnit tests that to not assert anything
#16274ClosedDoc1.2.0RC22009-05-31phpcs-svn-pre-commit fails when file contains v-character
#16283Wont fixBug1.2.0RC22009-06-03Zend switch spacing
#16424ClosedBug1.2.0RC32009-07-10SubversionPropertiesSniff print PHP Warning
#16450ClosedBugCVS2009-07-18Constant PHP_CODESNIFFER_VERBOSITY already defined (unit tests)
#16453ClosedBug1.2.0RC32009-07-18function declaration long line splitted error
#16482ClosedBug1.2.0RC32009-07-31phpcs-svn-pre-commit ignores extensions parameter
#16530ClosedBug1.2.02009-08-17ScopeIndentSniff reports false positive
#16533ClosedBug1.2.02009-08-17Duplicate errors and warnings.
#16563ClosedBug1.2.02009-09-02Check file extensions problem in phpcs-svn-pre-commit
#16592ClosedBug1.2.02009-09-11Object operator indentation incorrect when first operator is on a new line
#16641ClosedBug1.2.02009-09-24Notice output
#16682ClosedBug1.2.02009-10-07Squiz_Sniffs_Strings_DoubleQuoteUsageSniff reports string "\0" as invalid
#16683ClosedBug1.2.02009-10-07Typing error in PHP_CodeSniffer_CommentParser_AbstractParser
#16684ClosedBug1.2.02009-10-07Bug in Squiz_Sniffs_PHP_NonExecutableCodeSniff
#16689ClosedBug1.2.02009-10-09Bug in Squiz_Sniffs_CSS_ColonSpacingSniff
#16690Wont fixBug1.2.02009-10-10function declaration long line splitted error
#16692ClosedBugCVS2009-10-12Spaces in paths in Squiz_Sniffs_Debug_JavaScriptLintSniff
#16693ClosedReqCVS2009-10-12Support for incremental scans
#16694ClosedReqCVS2009-10-12Sniff for deprecated functions
#16696ClosedBug1.2.02009-10-13Spelling error in MultiLineConditionSniff
#16697ClosedBug1.2.02009-10-13MultiLineConditionSniff incorrect result with inline IF
#16698ClosedBug1.2.02009-10-13Notice in JavaScript Tokenizer
#16699Wont fixReq1.2.02009-10-14Add Java coding style
#16736ClosedBug1.2.02009-10-24Multi-files sniffs aren't processed when <file> is a single directory
#16740ClosedBug1.2.02009-10-25False positives for heredoc strings and unused parameter sniff
#16778DuplicateBug1.2.02009-11-10PHPCS can not deside how many spaces it wants (Zend Coding Standard)
#16785BogusReq1.2.02009-11-13Cylcomatic complexity is illogical in case of a switch
#16791BogusBug1.2.02009-11-16PHPDoc + Reference variables
#16792ClosedBugCVS2009-11-16Bug in Generic_Sniffs_PHP_ForbiddenFunctionsSniff
#16794ClosedBugCVS2009-11-17ValidLogicalOperatorsSniff doesn't report operators not in lowercase
#16804ClosedBug1.2.12009-11-19Report filename is shortened too much
#16821ClosedBugCVS2009-11-22Bug in Squiz_Sniffs_WhiteSpace_OperatorSpacingSniff
#16836ClosedBug1.2.12009-11-26Notice raised when using semicolon to open case
#16855ClosedBug1.2.12009-11-30Generic standard sniffs incorrectly for define() method
#16865ClosedBugCVS2009-12-02Two bugs in Squiz_Sniffs_WhiteSpace_OperatorSpacingSniff
#16866ClosedReq1.2.12009-12-02The method PHP_CodeSniffer_File::getDeclarationName cannot handle closures
#16871ClosedBug1.2.12009-12-04Bug in Squiz_Sniffs_Operators_IncrementDecrementUsageSniff
#16873BogusReq1.2.12009-12-04Line length detection is wrong on UTF8 files
#16876ClosedBug1.2.12009-12-06"Undefined index" notice in ouput
#16896BogusBug1.2.12009-12-10Incorrect cutting filename in error repert when 80 < strlen < 89
#16902ClosedBugUnknown2009-12-12Inline If Declaration bug
#16932ClosedBug1.2.12009-12-20MethodScopeSniff does not support lambda functions
#16960ClosedBugCVS2009-12-31False positive for late static binding in Squiz/ScopeKeywordSpacingSniff
#16961ClosedReqCVS2009-12-31Add support for anonymous functions in PHP 5.3
#16976ClosedBug1.2.12010-01-06The phpcs attempts to process symbolic links that don't resolve to files
#16977DuplicateBug1.2.12010-01-06The phpcs attempts to process symbolic links that don't resolve to files
#17013No FeedbackBug1.2.12010-01-19PHP Notice submitted ruins xml output
#17017ClosedBug1.2.12010-01-20Including one file in the files sniffed alters errors reported for another file
#17030No FeedbackReq1.2.12010-01-25Add support for PHP namespaces
#17041ClosedBug1.2.22010-01-28Wrong status returned
#17048ClosedBug1.2.22010-01-31False positive in Squiz_WhiteSpace_ScopeKeywordSpacingSniff
#17054ClosedBug1.2.22010-02-02phpcs more strict than PEAR CS regarding function parameter spacing
#17055BogusBug1.2.22010-02-02[PEAR] @return required even for functions with no return statement
#17061ClosedReq1.2.22010-02-03Overiding CS's maximum line-width with a command-line param?
#17074ClosedBugCVS2010-02-08Fatal error: Class 'PHP_CodeSniffer_Cli' not found in /media/disk/pear/packages
#17092ClosedBug1.2.22010-02-12Problems with utf8_encode and htmlspecialchars with non-ascii chars
#17095ClosedReq1.2.22010-02-13Token for variable variables
#17096ClosedBug1.2.22010-02-13Notice: Undefined index: scope_condition in ScopeClosingBraceSniff.php
#17123ClosedReq1.2.22010-02-17curled braces in Zend standard, would be nice to validate them
#17143No FeedbackBug1.2.22010-02-22error when using --config-set zend_ca_path
#17144ClosedBug1.2.22010-02-22Deprecated: Function eregi() is deprecated
#17154ClosedReq1.2.22010-02-24Spacing sniff for use keyword
#17177No FeedbackReq1.2.22010-03-01Multiline IF vs. Multiline function call
#17190ClosedReq1.2.22010-03-03Allow easy override of Pear's standard FileCommentSniff
#17227ClosedReq1.2.22010-03-15Allow multipart file extensions
#17235ClosedReq1.2.22010-03-16--quiet option to disable error reporting
#17236ClosedBugSVN-201003222010-03-17PHP Warning due to token_get_all() in DoubleQuoteUsageSniff
#17237ClosedBug1.2.22010-03-17PHP Warning due to token_get_all() in UnusedFunctionParameterSniff
#17240ClosedReq1.2.22010-03-17Get --report-file to accept relative paths
#17243ClosedBug1.2.22010-03-18Alternate Switch Syntax causes endless loop of Notices in SwitchDeclaration
#17244ClosedReq1.2.22010-03-18Add option to specify PHP setting
#17248ClosedReq1.2.22010-03-19Improved Zend Coding Standard Support
#17251ClosedBug1.2.22010-03-21Namespaces detected as constants
#17253Wont fixBug1.2.22010-03-22Wrong parsing parameter in single quotes
#17258BogusBugSVN2010-03-24Generic standard not returned by PHP_CodeSniffer::getInstalledStandards(true)
#17265ClosedReq1.2.22010-03-25Require all variables to be declared before using
#17266ClosedReq1.2.22010-03-25Incorrect use of assign and comparison
#17313ClosedBugUnknown2010-04-15Bug with switch case struture
#17328ClosedBug1.2.22010-04-20PHP Warnings appears in xml
#17331ClosedBug1.2.22010-04-21Possible parse error: interfaces may not include member vars
#17337ClosedBug1.2.22010-04-22CSS tokenizer fails on quotes urls
#17351DuplicateBug1.2.22010-04-28Spacing error in define
#17369ClosedBug1.2.22010-05-05add support for closures in php 5.3
#17420ClosedBug1.2.22010-05-20Uncaught exception when comment before function brace
#17441ClosedReq1.2.22010-05-26Missing operators in javascript Tokenizer
#17467ClosedReq1.2.22010-06-04Do not ouput report, if argument report-file is given
#17503ClosedBug1.2.22010-06-18closures formatting is not supported
#17556ClosedReq1.2.22010-07-03Add Git blame report
#17580No FeedbackBug1.2.22010-07-12parameter --ignore doesn't work
#17602ClosedBug1.2.22010-07-16Problem counting blank spaces when using substr
#17605ClosedReqSVN2010-07-17Define violation codes for all warnings/errors
#17606ClosedReq1.3.0a12010-07-17Add a new percentage col in svn and gitblame reports
#17611ClosedBug1.3.0a12010-07-20Regular expression tokens not recognised
#17624BogusReq1.3.0a12010-07-23Missing addEvent for PHP sonar Plugin
#17629ClosedBug1.2.22010-07-24PHP_CodeSniffer_Tokens::$booleanOperators missing T_LOGICAL_XOR
#17682ClosedReq1.2.22010-08-10Generic Sniff VersionControl does not support mime-type
#17683ClosedReq1.2.22010-08-10ignore files by coding standard
#17693ClosedBug1.2.22010-08-11issue with pre-commit hook script with filenames that start with v
#17695ClosedBug1.2.22010-08-12Notice on braces/codeblock in 'case' block in switch statement
#17697No FeedbackBug1.2.22010-08-13PEAR sniff FunctionCallSignature does not allow same rules as MultiLineAssignme
#17698Wont fixBug1.3.0a12010-08-13No error when using coding standard without ruleset in ruleset.xml
#17699ClosedBug1.3.0a12010-08-13Fatal error generating code coverage with PHPUnit 5.3.0RC1
#17708ClosedBug1.3.0a12010-08-16phpcs --standard= not finding custom ruleset file
#17718ClosedBug1.2.22010-08-17namespace 'use' statement: used global class name is recognized as constant
#17734ClosedBug1.3.0a12010-08-18Generic SubversionPropertiesSniff complains on non SVN files
#17742ClosedBug1.3.0a12010-08-18EmbeddedPhpSniff reacts negatively to file without closing php tag
#17798ClosedReqSVN2010-08-22PEAR CS: Add an exception for PHPUnit
#17805BogusBug1.3.0a12010-08-24problems with classpath/resolving of testcase classes
#17823ClosedBug1.3.0a12010-08-26Notice: Please no longer include "PHPUnit/Framework.php".
#17824BogusBug1.3.0a12010-08-26--sniff do not work with all sniffs
#17846No FeedbackReq1.3.0RC12010-09-06Include more than one Custom-Standard
#17847BogusBug1.3.0RC12010-09-06No scope modifier specified for function "__construct"
#17857ClosedReqSVN2010-09-09Add --create-skeleton CodingStandardName to generate a coding standard
#17860ClosedBug1.2.22010-09-10isReference function fails with references in array
#17864ClosedBug1.2.22010-09-13Ignores ruleset.xml
#17870Wont fixReq1.3.0RC12010-09-16add ability to force commit or select CS in the svn commit hook
#17873DuplicateReq1.3.0RC12010-09-19Ignoring Parts of a File for single sniff
#17878ClosedReq1.3.0RC12010-09-21config file not loaded properly during unit testing
#17889ClosedReq1.3.0RC12010-09-23Display the standard being used
#17900BogusReq1.3.0RC12010-09-27Confused about switch statement
#17902ClosedBug1.2.22010-09-28Cannot run tests when tests are symlinked into tests dir
#17903ClosedReq1.3.0RC12010-09-28Allow exclude patterns at sniff level
#17904BogusBug1.3.0RC12010-09-29External standards do not work in 1.3
#17908ClosedBug1.3.0RC12010-09-29CodeSniffer does not recognise optional @params
#17928ClosedBug1.3.0RC12010-10-05Improve error message for Generic_Sniffs_PHP_UpperCaseConstantSnif
#18026ClosedBug1.3.0RC12010-11-03CodeSniffer/File.php have mistake
#18030No FeedbackBug1.3.0RC12010-11-08Executing phpcs crashes with fatal error
#18039ClosedBug1.3.0RC12010-11-09JS Tokenizer crash when ] is last character in file
#18043ClosedReq1.3.0RC12010-11-11Add T_NAMESPACE to PHP_CodeSniffer_Tokenizers_PHP::$scopeOpeners
#18047ClosedBug1.3.0RC12010-11-12incorrect handling of namespace aliases as constants
#18052BogusReq1.2.22010-11-13Missing option
#18053Wont fixBug1.2.22010-11-14Problem to include custom standard sniffs
#18066ClosedBug1.2.22010-11-16parse timeout
#18072ClosedBug1.3.0RC12010-11-18Impossible to exclude path from processing when symlinked
#18073ClosedBug1.3.0RC12010-11-18Squiz.PHP.NonExecutableCode fault
#18075DuplicateReq1.3.0RC12010-11-19add ability to ignore specific errors
#18079Wont fixBugSVN2010-11-19Squiz.PHP.NonExecutableCode bogus report: Code after BREAK
#18086Wont fixReq1.2.22010-11-29False positive. In ZEND standard, opening brace is not always on a new line
#18094ClosedReq1.2.22010-12-03Progress bar for long process
#18096ClosedBug1.3.0RC12010-12-03First param default value returned as type hint is getMethodParameters
#18117ClosedBug1.3.0RC12010-12-15PEAR coding standard: Method constructor not sniffed as a function
#18125Wont fixReq1.3.0RC12010-12-20Fatal error when excluded sniff does not exist
#18126ClosedDoc1.3.0RC12010-12-20SubversionPropertiesSniff.php::getProperties() - null return value undocumented
#18134ClosedBug1.3.0RC12010-12-22No level change after adding extra curly brackets
#18135ClosedBug1.3.0RC12010-12-22Generic FunctionCallArgumentSpacingSniff reports function declaration errors
#18137ClosedReq1.3.0RC12010-12-22Colored output
#18140ClosedBug1.3.0RC12010-12-22Generic scope indent in exact mode: strange expected/found values for switch
#18145ClosedBug1.3.0RC12010-12-26Sniffs are not loaded for custom ruleset file
#18148Wont fixReq1.3.0RC12010-12-27Moving Sniffs out of standards
#18152ClosedBug1.3.0RC12010-12-28While and do-while with AbstractPatternSniff
#18153BogusBug1.2.22010-12-28Token type is not T_FUNCTION, T_CLASS OR , T_INTERFACE
#18154ClosedReq1.3.0RC12010-12-28Support current Zend framework Coding standard
#18158BogusBug1.3.0RC12010-12-29Config option -d (setting temporary php.ini settings) does not exist
#18159BogusBug1.3.0RC12010-12-29Missing parameter -p for progress
#18160BogusBug1.3.0RC12010-12-29Massive notices about undefined offset
#18165ClosedReq1.3.0RC12010-12-30Add severity to reports (especially xml)
#18166ClosedReq1.3.0RC12010-12-30Parameter for only outputing status infos but not the report itself
#18168Wont fixBug1.3.0RC12011-01-01Generic UselessOverridingMethodSniff does not check visibility
#18174Wont fixBug1.2.22011-01-04Unable to run tests via pear
#18186BogusReq1.3.0RC12011-01-12Add ability to configure rules more precisely
#18190Wont fixBug1.3.0RC12011-01-13Analysis crashes on switch containing long sequence of empty cases
#18191ClosedBug1.3.0RC12011-01-13Squiz.PHP.LowercasePHPFunctions does not work with "new Date()"
#18193ClosedBug1.3.0RC12011-01-13CodeSniffer doesn't reconize CR (\r) line endings
#18194ClosedReqSVN2011-01-13A sniff detecting BOM (byte order mark) for *.php files
#18195Wont fixBug1.3.0RC12011-01-13Possible Bug: Squiz.PHP.EmbeddedPhp.NoSemicolon in PHP
#18196ClosedDoc1.3.0RC12011-01-16PEAR MultiLineCondition.SpaceBeforeOpenBrace not consistent with newline chars
#18200ClosedBug1.3.0RC22011-01-17Using custom named ruleset file as standard no longer works
#18204ClosedBug1.3.0RC22011-01-20FunctionCommentThrowTag picks wrong exception type when throwing function call
#18222ClosedBug1.2.22011-01-25Add __invoke method to PEAR standard
#18235ClosedBug1.3.0RC22011-02-03Invalid error generation in Squiz.Commenting.FunctionCommentThrowTag
#18236BogusBug1.3.0RC22011-02-03Invalid error generation in Squiz.Commenting.FunctionCommentThrowTag
#18240No FeedbackReq1.3.0RC22011-02-04Improve performance by pruning directories
#18245ClosedReq1.3.0RC22011-02-07Multiple reports in the same file
#18246Wont fixBug1.3.0RC22011-02-07Svnblame error on local modification
#18247ClosedReq1.3.0RC22011-02-07Remove dependency on PHP_CodeSniffer_CLI
#18250ClosedBug1.3.0RC22011-02-07--standard with relative path skips Standards' "implicit" sniffs
#18252ClosedReq1.3.0RC22011-02-08PHP_Timer output in report
#18266Wont fixReq1.3.0RC22011-02-11Extra check in populateTokenListeners()
#18274ClosedBug1.2.22011-02-14Multi-line IF and function call indent rules conflict
#18277DuplicateReq1.3.0RC22011-02-15incompatability when working as library
#18282ClosedReq1.3.0RC22011-02-17Squiz doesn't handle 'final' keyword before function comments
#18283DuplicateReq1.3.0RC22011-02-17Squiz doesn't handle 'final' keyword before function comments
#18286BogusBug1.3.0RC22011-02-20Generic.PHP.ForbiddenFunctions does not detect forbidden functions
#18288ClosedReq1.3.0RC22011-02-21Generic.PHP.DeprecatedFunctions reports functions as forbidden
#18303BogusBug1.2.22011-02-23Don't issue a warning for some uses of numbers in variables
#18336ClosedBug1.3.0RC22011-03-04Function isUnderscoreName gives php notices
#18441ClosedReq1.3.02011-04-13Add escaped comment
#18447ClosedReq1.3.02011-04-15Runin on pipe
#18465ClosedBug1.3.02011-04-20"self::" does not work in lambda functions
#18468OpenReq1.3.02011-04-21exclude-pattern does not work as documented
#18471ClosedReq1.3.02011-04-21Newlines should be allowed in Squiz_Sniffs_Arrays_ArrayBracketSpacing
#18481No FeedbackBug1.3.02011-04-26Line numbers incorrect when typing german Umlaute
#18483ClosedDoc1.3.02011-04-26Requirements Missing PEAR
#18489Wont fixBug1.3.02011-04-29It gets hung when processing a "minified" version of jQuery
#18495ClosedReqSVN2011-05-01Allow use of constants in ruleset properties
#18498OpenReq1.3.02011-05-02Update the rhino / jslint
#18504ClosedReq1.3.02011-05-04pre-commit-hook ignores javascript sniff
#18533ClosedReq1.3.02011-05-13Option to limit the number of errors shown
#18543ClosedBug1.3.02011-05-16CSS Tokenizer deletes too many #
#18544Wont fixBug1.3.02011-05-16Memory consumption is too high
#18566ClosedReq1.3.02011-05-26Option to run syntax check
#18576Wont fixBug1.3.02011-05-31ControlSignatureSniff doesn't enforce EOL
#18577DuplicateBug1.3.02011-05-31ControlSignatureSniff doesn't enforce EOL
#18585Wont fixBug1.3.02011-06-03PHPCS Hangs on Parsing Javascript File
#18601ClosedReqSVN2011-06-16Mercurial report
#18624ClosedBug1.3.02011-06-23@throws namespace problem
#18628ClosedBug1.3.02011-06-24Generic.Files.LineLength gives incorrect results with Windows line-endings.
#18631ClosedReq1.3.02011-06-28Allow to add custom report format in PHP_CodeSniffer.
#18633ClosedBug1.3.02011-06-28CSS Tokenizer doesn't replace T_LIST tokens inside some styles
#18651ClosedBug1.3.02011-07-05PHPunit Test cases for custom standards are not working on Windows.
#18657ClosedBug1.3.02011-07-08anonymous functions wrongly indented
#18661BogusBug1.3.02011-07-12Function call with a multiline array is not allowed by Zend standard
#18670ClosedBug1.3.02011-07-15UpperCaseConstantNameSniff fails on dynamic retrieval of class constant
#18691ClosedReq1.3.02011-07-27Hardcoded regular expressions
#18709ClosedBugSVN2011-08-04Code sniffer sniffs file if even if it's in --ignore
#18717ClosedBug1.3.02011-08-11Duplicate class names on different packages issue
#18748ClosedReqSVN2011-08-22Add a Generic.Files.ConsistentLineEndings sniff
#18750ClosedReq1.3.02011-08-23Override a method
#18751ClosedReq1.3.02011-08-23Confusing error message from autoloader
#18762ClosedBug1.3.02011-08-28Incorrect handling of define and constant in UpperCaseConstantNameSniff (patch)
#18769ClosedBug1.3.02011-08-30CSS Tokenizer doesn't replace T_BREAK tokens inside some styles
#18778DuplicateBug1.3.02011-09-02Undefined index message while analyse
#18797ClosedReqSVN2011-09-06Improve @version considerations
#18799ClosedReq1.3.02011-09-07Please add a token for the backtick operator
#18815BogusBug1.3.02011-09-08$stackPtr is not a class member var
#18828DuplicateBugSVN2011-09-12[Patch] AbstractVariableSniff HEREDOC support and regexp fix
#18829ClosedReqSVN2011-09-12[Patch] AbstractVariableSniff HEREDOC support and regexp fix
#18835ClosedBug1.3.02011-09-15Unreachable errors of inline returns of closure functions
#18839ClosedReqSVN2011-09-17[Patch] Fix miscount of warnings in AbstractSniffUnitTest.php
#18844ClosedBug1.3.02011-09-19Generic_Sniffs_CodeAnalysis_UnusedFunctionParameterSniff with empty body
#18847ClosedBug1.3.02011-09-19Running Squiz_Sniffs_Classes_ClassDeclarationSniff results in PHP notice
#18853BogusBug1.3.02011-09-20Could not install phpcs from pear
#18862ClosedReq1.3.02011-09-22specify config options via command line parameter
#18863ClosedReq1.3.02011-09-22autodetect rhino
#18867AnalyzedReq1.3.02011-09-23No warning that rhino/jslint paths are not set
#18868ClosedBugSVN2011-09-23jslint+rhino: errors/warnings not detected
#18879ClosedBug1.3.02011-09-28phpcs-svn-pre-commit requires escapeshellarg
#18885ClosedReq1.3.02011-09-29Please extend "inline" suppression to individual sniffs
#18899No FeedbackBug1.3.02011-10-11Error in Generic.CodeAnalysis.UnusedFunctionParameter
#18902No FeedbackReq1.3.02011-10-13Performance issues in CSS tokenizer
#18920ClosedBug1.3.02011-10-20Missing dependency on pear/PEAR
#18930DuplicateBug1.3.02011-10-26Alternative namespace declaration syntax confuses scope sniffs
#18932ClosedBug1.3.02011-10-26Setting relative path on --report-file causes problems
#18933ClosedBug1.3.02011-10-26Alternative namespace declaration syntax confuses scope sniffs
#18949ClosedBug1.3.02011-10-30Call to private method from static
#18951ClosedBug1.3.02011-10-31weird behaviour with closures and multi-line use () params
#18964ClosedBug1.3.12011-11-06"$stackPtr must be of type T_VARIABLE" on heredocs and nowdocs
#18972Wont fixBugSVN2011-11-08A comment shouldn't trigger a "last content on the line" error
#18973ClosedBugSVN2011-11-08phpcs is looking for variables in a nowdoc
#18974ClosedBug1.3.12011-11-08Blank line causes "Multi-line function call not indented correctly"
#18975ClosedBug1.3.12011-11-09"Closing parenthesis must be on a line by itself" also causes indentation error
#19042No FeedbackBug1.3.12011-11-15Type hinting on references
#19051Wont fixBugSVN2011-11-16remove error_reporting (for PEAR QA team)
#19061ClosedBugSVN2011-11-20Tests don't work with PHPUnit 3.6
#19076ClosedBug1.3.12011-11-25Closures whose parameters are passed by reference causes NoSpaceBeforeAmp/NoSpa
#19095No FeedbackBug1.3.12011-12-01External standard does not work
#19114ClosedBug1.3.22011-12-07CodeSniffer checks extension even for single file
#19137ClosedBug1.3.22011-12-15undefined index notice on closure inside if statement
#19144ClosedReq1.3.22011-12-18multiple rulesets and pathing
#19155ClosedBug1.3.22011-12-22phpcs doesn't follow zf standards when argument list is too long (> 80 chars)
#19162BogusBug1.3.22011-12-29Trailing comma on array declaration
#19171ClosedBug1.3.22011-12-29Show sniff codes option is ignored by some report types
#19188ClosedBug1.3.22012-01-04Lots of PHP Notices when analyzing the Symfony framework
#19208ClosedBug1.3.22012-01-09UpperCaseConstantName reports class members
#19223BogusBug1.3.22012-01-13Not following external standard
#19246ClosedBug1.3.22012-01-24In Eclipse CodeSniffer drops the extensions paramater
#19256ClosedBugSVN2012-01-29T_DOC_COMMENT in CSS files breaks ClassDefinitionNameSpacingSniff
#19259ClosedReq1.3.22012-01-30FunctionCall.processMultiLineCall shoud use the ScopeIndent.indent param
#19264ClosedBug1.3.22012-01-31Squiz.PHP.NonExecutableCode does not handle RETURN in CASE without BREAK
#19270ClosedBug1.3.22012-02-01DuplicateClassName does not handle namespaces correctly
#19283ClosedBugSVN2012-02-10CSS @media rules cause false positives
#19290ClosedBug1.3.22012-02-13Generic indent sniffer fails for anonymous functions
#19313ClosedReqSVN2012-03-02Make getTokensAsString() more robust by detecting incorrect length value
#19324ClosedBug1.3.32012-03-09Setting show_warnings configuration option does not work
#19338No FeedbackReq1.3.32012-03-19Option for limiting error and warning report
#19339Wont fixDocUnknown2012-03-20storing SVN password
#19348Wont fixBug1.3.32012-03-25Missing function parameters in AbstractSniffUnitTest
#19354ClosedBug1.3.32012-03-27Not recognizing references passed to method
#19361ClosedBug1.3.32012-03-30CSS tokenzier generates errors when PHP embedded in CSS file
#19374ClosedBug1.3.32012-04-05HEREDOC/NOWDOC Indentation problems
#19381ClosedBug1.3.32012-04-12traits and indetations in traits are not handled properly
#19394ClosedBug1.3.32012-04-21Notice in NonExecutableCodeSniff
#19399ClosedBug1.3.32012-04-26Bogus "Missing @return tag"
#19402ClosedBug1.3.32012-04-27Syntax error when executing phpcs on Windows with parens in PHP path
#19404AssignedReqSVN2012-05-01Improve the exact mode of ScopeIndentSniff
#19411ClosedBug1.3.32012-05-08magic method error on __construct()
#19412ClosedBug1.3.32012-05-09Incorrect error about assigning objects to variables when inside inline IF
#19413ClosedBug1.3.32012-05-09php_cs thinks I haven't used a parameter when I have
#19414ClosedBug1.3.32012-05-10php_cs seems to not track variables correctly in heredocs
#19416ClosedBug1.3.32012-05-11Shorthand arrays cause bracket spacing errors
#19417ClosedReqSVN2012-05-12Allow aliased standards via symlinks.
#19418No FeedbackBug1.3.32012-05-13Traits are not handled properly
#19421ClosedBug1.3.32012-05-16phpcs doesn't recognize ${x} as equivalent to $x
#19424BogusBug1.3.42012-05-18Squiz.Objects.ObjectInstantiation wrongly reports violation
#19428ClosedBug1.3.42012-05-21PHPCS Report "hgblame" doesn't support windows paths
#19437DuplicateBug1.3.42012-05-24Ingoring Sniffs with dots on Windows
#19448ClosedBug1.3.42012-06-01Problem with detecting remote standards
#19459ClosedBug1.3.42012-06-07Wrong calculated line length
#19463ClosedBugSVN2012-06-07Anonymous functions incorrectly being flagged by NonExecutableCodeSniff
#19469ClosedBug1.3.42012-06-10PHP_CodeSniffer_File::getMemberProperties() sets wrong scope
#19471ClosedBug1.3.42012-06-13phpcs on Windows, when using Zend standard, doesn't catch problems
#19478ClosedBug1.3.42012-06-22Incorrect indent detection in PEAR standard
#19480Wont fixBug1.3.42012-06-23Wrong space calculation on scope indent for closure
#19481Wont fixBug1.3.42012-06-23Generic.CodeAnalysis.UselessOverridingMethod does not provide type hints
#19483ClosedBug1.3.42012-06-26Blame Reports fail with space in directory name
#19485Wont fixBug2012-06-27Undefined index in CSS tokenizer ...
#19486ClosedBug1.3.42012-06-28PSR2 error
#19487SpamBug2012-06-29sss
#19489ClosedBug1.3.42012-06-30phpunit warning: No tests found in class
#19490Wont fixBug1.3.42012-06-30Zend protected property underscore and camel caps issue (in trait)
#19493ClosedBug1.3.42012-07-02Sniff paths are incorrectly resolved in Windows
#19498DuplicateBug1.3.42012-07-09CodeSniffer.php and DIRECTORY_SEPARATOR change causing sniffs to be disregarded
#19502ClosedBug1.3.42012-07-11Generic.Files.LineEndingsSniff fails if no new-lines in file.
#19508ClosedBug1.3.52012-07-12switch+return: Closing brace indented incorrectly
#19514DuplicateBug1.3.52012-07-18PEAR.WhiteSpace.ScopeClosingBrace.Indent rule works bad on switch/case
#19521ClosedBug1.3.52012-07-20The PSR-2 standard don't recognize valid Closure arguments.
#19532ClosedBug1.3.52012-07-28The PSR-2 standard don't recognize Null in class names.
#19537BogusBug1.3.52012-08-01The PSR-2 reports errors for strings that contain line break
#19538ClosedBug1.3.52012-08-02Function identation code sniffer checks inside short arrays
#19539DuplicateBug1.3.52012-08-02Function identation code sniffer
#19540DuplicateBug1.3.52012-08-02Incorrect useless method override
#19546ClosedBugSVN2012-08-06Error thrown for __call() method in traits
#19547DuplicateBugSVN2012-08-06Recognizing __call() method in traits.
#19550ClosedReq1.3.52012-08-07MultiFileSniff: temporarily store file tokens to prevent memory exhaustion
#19554BogusBug1.3.62012-08-09The PSR-2 reports more errors that expects for files with traits and classes.
#19561BogusBugSVN2012-08-11The PSR-2 reports errors for require_once statements.
#19565ClosedBug1.3.62012-08-15Non-Executable Code Sniff Broken for Case Statements with both return and break
#19566ClosedBug1.3.62012-08-16PHP warnings appearing when array properties used within a ruleset
#19570ClosedReq1.3.62012-08-18PHP5.3/5.4 Compatibility Check
#19571ClosedReq1.3.62012-08-18PHP5.3/5.4 Compatibility Check
#19580ClosedBug1.3.62012-08-24PSR-2 - extend / implements full class - false positive
#19602ClosedBug1.3.62012-09-11Incorrect error reported for the 'use' statement
#19611ClosedBug1.3.62012-09-22Several false reports with PSR2
#19612ClosedBug1.3.62012-09-24Invalid @package suggestion
#19613DuplicateBug1.3.62012-09-24Invalid @package suggestion
#19614ClosedReq1.3.62012-09-24PHP_Codesniffer has no logo!
#19615ClosedBug1.3.62012-09-25PSR2 EndFileNewlineSniff wants 2 new lines
#19616ClosedBug1.4.02012-09-26Nested switches cause false error in PSR2
#19621ClosedBug1.4.02012-09-27Check for blank line at end of file
#19629ClosedBug1.4.02012-10-01PSR2 error for inline comments on multi-line argument lists
#19633ClosedBug1.4.02012-10-03Wrong case for __toString
#19644ClosedBugSVN2012-10-09Alternative syntax, e.g. if/endif triggers Inline Control Structure error
#19647ClosedReq1.4.02012-10-10Allow severity to be set for a whole sniff in a ruleset.xml file
#19648ClosedBug1.4.02012-10-11Ignore patterns no longer work as expected in 1.4
#19651No FeedbackBug1.4.02012-10-13PHP 5.4 square bracket arrays indentation error
#19654ClosedBug1.4.02012-10-16PSR class name sniff complains about camel caps instead of StudlyCaps
#19655ClosedBug1.4.02012-10-17Closures reporting as multi-line when they are not
#19657BogusBug1.4.02012-10-19TypeHintMissing not detecting invalid phpdoc var/type combination
#19666ClosedBugSVN2012-10-22PSR1.Files.SideEffects throws a notice "Undefined index: scope_closer ..."
#19675ClosedBug1.4.02012-10-25Improper indent of nested anonymous function bodies in a call
#19685ClosedBug1.4.02012-10-30PSR2 catch-22 with empty third statement in for loop
#19687ClosedBugSVN2012-10-31Anonymous functions inside arrays marked as indented incorrectly in PSR2
#19691ClosedBug1.4.12012-11-05SubversionPropertiesSniff fails to find missing properties
#19692ClosedBugSVN2012-11-06DisallowMultipleAssignments is triggered by a closure
#19693ClosedBug1.4.12012-11-07exclude-patterns no longer work on specific messages
#19694ClosedBug1.4.12012-11-07Squiz.PHP.LowercasePHPFunctions incorrectly matches return by ref functions
#19695BogusBugSVN2012-11-07PSR-1 Namespace sniff - false positive for PHP5.2 style namespacing
#19699ClosedBug1.4.22012-11-10Generic.Files.LineLength giving false positives when tab-width is used
#19705ClosedDoc1.4.22012-11-14Error in the Annotated ruleset.xml Sample File
#19706No FeedbackBug1.4.22012-11-15Incorrect file doesn't exist error on mapped network drives
#19708ClosedBug1.4.22012-11-15PHP_CodeSniffer doesn't detect <% and <? if short_open_tag and asp_tags are off
#19714ClosedReq1.4.22012-11-20Add the ability to specify tab size in ruleset.xml
#19726ClosedBug1.4.22012-11-29Wrong number of spaces expected after instanceof static
#19727ClosedBug1.4.22012-11-29PSR2: no error reported when using } elseif {
#19731ClosedReq1.4.32012-12-05Unable to Exclude Directory of Sniffs
#19732ClosedBug1.4.32012-12-05PSR2: some control structures errors not reported
#19733ClosedReq1.4.32012-12-06Add variables to main CodeSniffer options similar to classes, etc...
#19734ClosedDoc1.4.32012-12-07All files scanned by default
#19748ClosedBug1.4.32012-12-12code sniffer error with closure in function call
#19749ClosedReq1.4.32012-12-12Enable a default XML for configuration options, similar to the other QA tools
#19755ClosedBug1.4.32012-12-17Token of T_CLASS type has no scope_opener and scope_closer keys.
#19757ClosedBug1.4.32012-12-19Composer now loads .inc files in the class map
#19759ClosedBug1.4.32012-12-20Squiz.PHP.NonExecutableCode fails for return function()...
#19763ClosedBugSVN2013-01-01Use statements for traits not recognised correctly for PSR2 code style
#19764ClosedBugSVN2013-01-01Instead of for traits throws uppercase constant name errors
#19767ClosedReqSVN2013-01-01@codingStandardsIgnoreStart, @codingStandardsIgnoreEnd don't recognized
#19768ClosedBug2013-01-01The new Foo(array()) notation reported as invalid for PSR-2.
#19769ClosedBug1.4.32013-01-01Syntax error reported
#19772ClosedBugSVN2013-01-04PSR2_Sniffs_Namespaces_UseDeclarationSniff does not properly recognize last use
#19774DuplicateReq1.4.32013-01-04PSR1: allow in underscores as a separator in class names
#19775ClosedBug1.4.32013-01-04False positive in NonExecutableCode sniff when not using curly braces
#19777ClosedBugSVN2013-01-05Warnings should not produce an exit code that is non-zero
#19780ClosedBug1.4.32013-01-08PSR1.Files.SideEffects.FoundWithSymbols fails when using a require()
#19782ClosedBug1.4.32013-01-11Invalid found size functions in loop when using object operator
#19791DuplicateBug1.4.32013-01-16"Useless method override" vs. changing of default values
#19798ClosedBug1.4.32013-01-23PSR-2: default value assignment in method arguments
#19799ClosedBug1.4.32013-01-26config folder is not created automatically
#19804ClosedBug1.4.32013-01-29JS Tokenizer wrong /**/ parsing
#19810ClosedBug1.4.32013-02-05Space detection not working with blank lines
#19811ClosedBug1.4.32013-02-06Comments not ignored in all cases in AbstractPatternSniff
#19818DuplicateBug1.5.0RC12013-02-13Freeze with syntax error in use statement
#19819ClosedBug1.5.0RC12013-02-13Freeze with syntax error in use statement
#19820ClosedBug1.4.42013-02-13Wrong message level in Generic_Sniffs_CodeAnalysis_EmptyStatementSniff
#19837Wont fixBug1.4.42013-02-27Alternative syntax, e.g. if/endif triggers closing brace error
#19838No FeedbackBug1.4.42013-02-27Comments throw an error when parsing psr2
#19842ClosedReq1.4.42013-03-06@var constructs ignored in BlockCommentSniff.php
#19843ClosedReq1.4.42013-03-06Add parameter to Squiz.WhiteSpace.FunctionSpacing sniff
#19856ClosedReq1.4.42013-03-14Exit with highest encountered severity
#19859ClosedBug1.4.42013-03-16CodeSniffer::setIgnorePatterns API changed
#19862DuplicateReq1.4.42013-03-20Sniff to detect php_sapi_name() instead of PHP_SAPI
#19863ClosedReqSVN2013-03-20Sniff to detect php_sapi_name() instead of PHP_SAPI
#19868ClosedBugSVN2013-03-24Anonymous Functions Break ML Function Sniff
#19869No FeedbackBug1.4.42013-03-25PSR-2 Sniff no longer allows operator namespce in IF negations
#19871ClosedBug1.5.0RC12013-03-28findExtendedClassName doesn't return FQCN on namespaced classes
#19878ClosedReq1.5.0RC12013-04-02Detect malformed annotations/tags
#19879ClosedBug1.4.42013-04-02bitwise and operator '&' interpreted as reference by value
#19881DuplicateReq1.4.62013-04-03Maximum number of errors
#19883ClosedBug1.4.52013-04-04Single line comments must be ignored
#19892ClosedBug1.4.52013-04-10ELSE with no braces causes incorrect SWITCH break statement indentation error
#19897ClosedBug1.4.52013-04-12Indenting warnings in templates not consistent
#19899ClosedReq1.4.52013-04-16Exclude files like compressed JS based on e.g. size
#19908ClosedBug1.5.0RC22013-04-23PEAR MultiLineCondition Does Not Apply elseif
#19913ClosedBug1.4.52013-04-26Running phpcs in interactive mode causes warnings
#19916BogusBug1.5.0RC22013-04-29Don't show warning for one argument case
#19926ClosedBug1.4.52013-04-30PSR2 - Incorrect sniff inherited from PEAR
#19928BogusBug1.4.52013-05-02bug in newline standard
#19930ClosedBug1.5.0RC22013-05-02option --report-file generate an empty file
#19933ClosedDoc1.5.0RC22013-05-06emacs configuration problem
#19935ClosedBug1.5.0RC22013-05-06notify-send reports do not vanish in gnome-shell
#19938ClosedReqUnknown2013-05-07Reflection for current position
#19939AssignedReq1.5.0RC22013-05-07No documentation on rules
#19944ClosedBugUnknown2013-05-09docblock squiz sniff "return void" trips over return in lambda function
#19950ClosedReq1.4.52013-05-16UnusedFunctionParameter sniff should allow skipping unused before used ones
#19951Wont fixBugUnknown2013-05-17throws check does not consider exceptions from called methods
#19953ClosedBug1.4.52013-05-21PSR2 - Spaces before interface name for abstract class
#19956ClosedBug1.4.52013-05-24phpcs warns for Type Hint missing Resource
#19957ClosedBugUnknown2013-05-25Does not understand trait method aliasing
#19966ClosedReq1.5.0RC22013-05-31Include Symfony2 Coding Standard
#19967DuplicateBug1.4.52013-06-01Closure return statements considered as method own return statements
#19968ClosedBug1.4.52013-06-04Permission denied on excluded directory
#19969ClosedBug1.4.52013-06-05Sniffs with namespace not recognized in reports
#19976ClosedReq1.5.0RC22013-06-12Run own CS tests without being installed
#19985FeedbackReqSVN2013-06-19Add the ability to apply pre-filters to file input.
#19988ClosedReq1.4.52013-06-21Space and tab value
#19992DuplicateBug1.4.52013-06-25@return function comment and closures
#19993No FeedbackBug1.4.52013-06-25phpcs runs forever
#19997ClosedBug1.4.52013-06-26Class names incorrectly detected as constants
#20001ClosedReq1.4.52013-07-04Add Summary to the full report
#20002DuplicateReq1.4.52013-07-04Add Summary to the full report
#20021ClosedBug1.5.0RC32013-07-25PSR2: Case statements using class constants are flagged as an error
#20022DuplicateBug1.5.0RC32013-07-25PSR2: Case statements using class constants are flagged as an error
#20023DuplicateBug1.5.0RC32013-07-25PSR2: Case statements using class constants are flagged as an error
#20026ClosedBug1.4.62013-08-01Check for multi-line arrays that should be single-line is slightly wrong
#20029ClosedBug1.4.62013-08-05ForbiddenFunction sniff incorrectly recognizes methods in "use" clauses
#20037BogusBug1.4.62013-08-14If statement indentation with multiple multiline function calls
#20039No FeedbackBug1.4.62013-08-14Reference parameter in closure use clause seen as bitwise and
#20043ClosedBug1.5.0RC32013-08-19Mis-interpretation of Foo::class
#20044ClosedBug1.4.62013-08-19PSR1 camelCase check does not ignore leading underscores
#20045ClosedBug1.4.62013-08-21Errors about indentation for closures with multi-line 'use' in functions
#20047DuplicateBug1.5.0RC32013-08-22Undefined index: scope_closer, T_CASE and return
#20048DuplicateBug1.5.0RC32013-08-22Undefined index: scope_closer, T_CASE and return
#20050ClosedReq1.4.62013-08-22Composer installed phpcs does no report version
#20051ClosedBugSVN2013-08-22Undefined index: scope_opener / scope_closer
#20053ClosedDoc1.5.0RC32013-08-23phpunit tests fail with phpunit 3.7 (phar)
#20055ClosedDoc1.5.0RC32013-08-25Typo in sample code
#20057ClosedBug1.4.62013-09-02Custom ruleset not working with composer-version
#20060DuplicateBug1.4.62013-09-04PSR-2 standard doesn't support PHP 5.5: New Class Constant
#20066No FeedbackBug1.4.62013-09-18phpcs installed but nothing happens
#20067DuplicateBug1.4.62013-09-18Foo::class is broken in PSR-2
#20090ClosedReq2013-10-09The sniff about constant name case should only be pllied on definition
#20091ClosedReq1.4.72013-10-11Excluding a message using the exclude tag
#20093ClosedBug1.5.0RC42013-10-12Bug with ternary operator token
#20094ClosedBug1.4.72013-10-13<exclude-pattern> doesn't work for relative referenced sniffs
#20097ClosedBug1.4.72013-10-14CLI.php throws error in php 5.2
#20100ClosedBugUnknown2013-10-15incorrect Function mysql() has been deprecated report
#20101ClosedReq1.5.0RC42013-10-16CodeSniffer doesn't work when run from a symlink farm
#20105ClosedBug1.4.72013-10-31Double declaration of sniff class
#20118DuplicateBug1.4.72013-11-05::class picked up as class definition
#20119ClosedBug1.4.72013-11-05PHP warning: invalid argument to str_repeat() in SVN blame report with -s
#20121OpenReq1.4.72013-11-05Overloading of -v option generates unwanted output for svnblame report
#20122ClosedBug1.4.72013-11-05PSR2 standard not catching FunctionCallSignature.ContentAfterOpenBracket
#20123ClosedBug1.4.72013-11-07PSR2 complains about an empty second statement in for-loop.
#20126OpenReq1.4.72013-11-12Introduce findNextAll
#20127OpenReq1.5.0RC42013-11-12Enable Regex matching for token value
#20128BogusBug1.5.0RC42013-11-13change type of a message does not work
#20129ClosedReq1.4.72013-11-17Sniff to check omission of braces for single line blocks
#20131ClosedBug1.4.72013-11-20PHP errors in svnblame report, if there are files not under version control.
#20133ClosedBug1.5.0RC42013-11-22Allow "HG: <hg_id>" as value for @version tag
#20136ClosedBug1.5.02013-11-28Squiz_Sniffs_WhiteSpace_ScopeKeywordSpacingSniff and Traits
#20137ClosedBugUnknown2013-11-28Overriding method to change visibility classified as Useless method overriding
#20138ClosedBug1.5.02013-11-29Protected property underscore and camel caps issue (in trait with Zend)
#20139ClosedBug1.5.02013-12-03No report file generated on success
#20145ClosedBug1.5.02013-12-10Custom ruleset preferences directory over installed standard
#20146ClosedDoc1.5.02013-12-10Two duplicate paragraphs in "Usage" page on GH Wiki
#20147ClosedBug1.5.12013-12-12phpcs-svn-pre-commit - no more default error report
#20148No FeedbackBug1.5.12013-12-13PHPCS runs about hours
#20151ClosedBug1.5.12013-12-18Problem handling "if(): ... else: ... endif;" syntax
#20155ClosedBug1.5.12013-12-27Alternate syntax 'else' reported as inline control structure
#20160ClosedReq1.5.12013-12-29Line identing should start at the level of the PHP declaration
#20165ClosedReq1.5.12014-01-03Adding configurable spacing
#20166ClosedReq1.5.12014-01-04declare () construct
#20180BogusBug1.5.12014-01-22"Variable _id is not in valid camel caps format" in an abstract class
#20189ClosedReq1.5.12014-01-29Missing @return tag in function comment
#20190ClosedBug1.5.12014-01-31Invalid regex in Squiz_Sniffs_WhiteSpace_SuperfluousWhitespaceSniff
#20191ClosedBug1.5.22014-02-05require(once) looks for files at wrong location
#20192ClosedBug1.5.22014-02-06PSR-2 line length is soft limit
#20193ClosedBugSVN2014-02-07PHP Notice: Undefined offset: 3 in CodeSniffer.php on line 1050
#20196ClosedBug1.5.22014-02-101.5.2 breaks scope_closer position
#20197No FeedbackBugUnknown2014-02-11Ignore function definition line === syntax error
#20200ClosedBug1.5.22014-02-14Invalid JSON produced with specific error message
#20202ClosedReq1.5.22014-02-17Allow reports to return 0-violation files
#20204ClosedBug1.5.22014-02-18Ruleset exclude checks are case sensitive
#20206ClosedBug1.5.22014-02-21Checkstyle opening tag missing
#20208ClosedReq1.5.22014-03-02Improvements to "PSR1_Sniffs_Classes_ClassDeclarationSniff" sniff
#20211ClosedBug1.5.22014-03-05Protected function are considered as Public
#20213ClosedBug1.5.22014-03-05Invalid error, Inline IF must be declared on single line.
#20216OpenReq1.5.22014-03-07Add support for List declarations
#20220OpenReq1.5.22014-03-17Squiz_Sniffs_WhiteSpace_ObjectOperatorSpacingSniff sniff isn't multi-line safe
#20225ClosedBug1.5.22014-03-20array_merge() that takes more than one line generates error
#20229Wont fixDoc1.5.22014-03-29Wrong class in method/variable DocBlock
#20230ClosedBug1.5.22014-03-29Squiz ControlStructureSpacing sniff assumes specific condition formatting
#20231ClosedBugSVN2014-03-31Cannot use custom standard with PHAR
#20234ClosedBugSVN2014-04-06phpcbf patch command absolute paths
#20238Wont fixBug1.5.22014-04-07Not parsing correctly strings
#20240ClosedBug1.5.22014-04-10Squiz block comment sniff fails when newline present
#20241ClosedReq1.5.22014-04-10Sniff MemberVarSpacing.After sniffs spacing before var
#20244ClosedBug1.5.22014-04-16Outdated Packagist dependencies
#20245ClosedBugSVN2014-04-18Regression introduced in 80bf520ca01b8b4ddedf78f246be5fa52f221d1a
#20247ClosedBug1.5.22014-04-19The "Squiz.WhiteSpace.ControlStructureSpacing" sniff and "do-while"
#20248ClosedBug1.5.22014-04-20The Squiz_Sniffs_WhiteSpace_ControlStructureSpacingSniff sniff and empty scope
#20249ClosedBug1.5.22014-04-21LowercasePHPFunctionsSniff false positive
#20250ClosedBug1.5.22014-04-21Stand alone while loop fails to lint
#20251ClosedBugUnknown2014-04-23Tagged versions not showing in Packagest
#20252ClosedBug1.5.22014-04-24Unitialized string offset when package name starts with underscore
#20261ClosedBug2.0.0a22014-05-01phpcbf has an endless fixing loop
#20268ClosedBug1.5.32014-05-08Incorrect documentation titles in PEAR documentation
#20269ClosedBug1.5.32014-05-09protected properties in Squiz sniffs should be public
#20270OpenReq1.5.32014-05-09Missing docs for Squiz.WhiteSpace.SuperfluousWhitespace
#20272ClosedBugSVN2014-05-11phpcbf fails at fixing line endings
#20276ClosedBug1.5.32014-05-20PSR2 standard isn't compliant with actual PSR2 definition
#20280ClosedReq2.0.0a22014-05-24--extensions valid even when not checking a directory
#20282ClosedBug2.0.0a22014-05-28Conflicting ignore patterns in ruleset or command line
#20292ClosedBug1.5.32014-06-06PEAR, ScopeIndent and Switch Statement
#20296ClosedBug1.5.32014-06-13new array notion in function comma check fails
#20297ClosedBug2.0.0a22014-06-15phar does not work when renamed it to phpcs
#20299ClosedReq1.5.32014-06-17Inline comment sniff forces empty line after post statement comment
#20305Wont fixBugUnknown2014-06-21Need to pay attention to changes in method permissions
#20306OpenReq1.5.32014-06-22Squiz.FunctionComment and array/callable
#20307ClosedBug1.5.32014-06-22PHP_CodeSniffer_Standards_AbstractVariableSniff analyze traits
#20308ClosedBug1.5.32014-06-22Squiz.ValidVariableNameSniff - wrong variable usage
#20309ClosedBug1.5.32014-06-23Use "member variable" term in sniff "processMemberVar" method
#20310ClosedBug1.5.32014-06-23PSR2 does not check for space after function name
#20313ClosedReq1.5.32014-06-24Undefined offset when using --sniffs
#20314ClosedReq1.5.32014-06-25Throw exception, when iconv module is absent
#20322ClosedBug1.5.32014-06-27Display rules set to type=error even when suppressing warnings
#20323ClosedBug1.5.32014-06-28PHPCS tries to load sniffs from hidden directories
#20324ClosedDoc1.5.32014-06-28Wrong PHPDoc in method return type
#20330ClosedBug1.5.32014-07-04Invalid scope spacing rule for PSR-2
#20345ClosedBugUnknown2014-07-10String concat is not required here; use a single string instead
#20346ClosedBugSVN2014-07-11Fixer endless loop with Squiz.CSS sniffs
#20351ClosedBug1.5.32014-07-29phpcs --standard= with multiple standards does not work
#20352ClosedBug1.5.32014-07-29phpcs --standard= with multiple standards does not work
#20353ClosedBug1.5.32014-07-29phpcs --standard= with multiple standards does not work
#20354ClosedBug1.5.32014-07-30Scope indentation sniff doesn't assert too deep indentation
#20355ClosedBug2.0.0a22014-07-30No sniffs are registered with PHAR on Windows
#20357ClosedBug1.5.32014-08-04The "FunctionComment" mistaking DocBlock comments
#20367ClosedBug1.5.42014-08-10--ignore does not accept pipes in <patterns>
#20369ClosedDoc2.0.0RC12014-08-11Unclear usage of regexes in exclude patterns
#20372ClosedBug1.5.42014-08-20LineLength Rule with Multibyte Encoding
#20373ClosedBug1.5.42014-08-22Inline comment sniff tab handling way
#20375ClosedBug2.0.0RC12014-08-24PHP closing tag check in SuperfluousWhitespace Sniff doesn't detect newline
#20377ClosedBug2.0.0RC12014-08-28Error when trying to execute phpcs with report=json
#20378ClosedBug1.5.42014-08-29Report appended to existing file if no errors found in run
#20381ClosedBug1.5.42014-08-29Invalid "Comment closer must be on a new line"
#20386ClosedBug1.5.42014-09-04Squiz.Commenting.ClassComment.SpacingBefore thrown if first block comment
#20402ClosedBug2.0.0RC12014-09-10SVN pre-commit hook fails due to unknown argument error
#20403ClosedBug1.5.42014-09-10Network connection error with SVN pre-commit
#20432ClosedBug1.5.52014-10-24Switch statements with inline returns
#20457ClosedBug2.0.02014-12-05PHPCS no longer respects the --tab-width flag
#20460ClosedBug2.0.02014-12-09The new version of Codesniffer breaks my custom Sniffer
#20477ClosedBug2.1.02014-12-30PHPCS & PHPDoc difference on @package tag?
#20481ClosedReqUnknown2015-01-08detect/ignore shebang as first line
#20482ClosedBug2.1.02015-01-11Scope indent sniff can get into infinite loop when processing a parse error
#20499No FeedbackBug2.2.02015-02-04PHP Error Log file
#20506No FeedbackDoc2.2.02015-02-23not able to install pear install PHP_CodeSniffer
#20508No FeedbackBug2.2.02015-02-27phpcbf errors out when trying to fix PHPUnit's code base
#20509OpenReq2.2.02015-03-02Add name-based filter for sniffs such as Generic.Metrics.CyclomaticComplexity
#20532ClosedDoc2.3.02015-04-20Opening brace should be on a new line
#20541DuplicateBug2.3.22015-05-05PHP CodeSniffer issue on CSS @media
#20542ClosedBug2.3.22015-05-05PHP CodeSniffer issue on CSS @media
#20545No FeedbackBug2.3.22015-05-08Gruntfile.js of Grunt is validates wrongly
#20551ClosedBug2.3.22015-05-18parameter --tab-width is not working
#20930ClosedBug2015-07-31Class name "" is not in camel caps format PSR1
#20943ClosedBug2.3.32015-08-25Comment tokenizer does not understand national symbols in UTF-8.
#20950No FeedbackBugUnknown2015-09-25Notice: Undefined index
#21005ClosedBug2.5.02015-12-17Incorrect indent detection when multiple properties are initialized to arrays
#21009ClosedBug2.5.02015-12-22phpcs 2.5.0 is not working on Windows
#21010ClosedBugSVN2015-12-28Incorrect missing colon detection in CSS when first style is not on new line
#21011ClosedBugSVN2015-12-29Incorrect error message text when newline found after opening brace
#21029ClosedBug2.5.12016-02-15Curly braces in namespace declarations
#21035ClosedReqUnknown2016-03-01Reporting fails if input file path is not in UTF8
#21050ClosedBugSVN2016-04-08PEAR MultiLineCondition sniff suppresses errors on last condition line