| » Version | » Information |
|---|---|
| 2013-04-04 beta |
|
| 2013-04-04 stable |
|
| 2013-02-08 beta |
|
| 2013-02-06 stable |
|
| 2012-12-04 stable |
|
| 2012-11-09 stable |
|
| 2012-11-01 stable |
|
| 2012-09-26 stable |
|
| 2012-08-08 stable |
|
| 1.3.5 |
Easy InstallNot sure? Get more info. pear install PHP_CodeSniffer-1.3.5 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/PHP_CodeSniffer-1.3.5 Release date: 2012-07-12 07:26 UTC Release state: stable Changelog: - Added Generic CamelCapsFunctionNameSniff to just check if function and method names use camel caps -- Does not allow underscore prefixes for private/protected methods -- Defaults to strict checking, where two uppercase characters can not be next to each other -- Strict checking can be disabled in a ruleset.xml file - Squiz FunctionDeclarationArgumentSpacing now has a setting to specify how many spaces should surround equals signs -- Default remains at 0 -- Override the equalsSpacing setting in a ruleset.xml file to change - Squiz ClassDeclarationSniff now throws errors for > 1 space before extends/implements class name with ns seperator - Squiz standard now warns about deprecated functions using Generic DeprecatedFunctionsSniff - PEAR FunctionDeclarationSniff now reports an error for multiple spaces after the FUNCTION keyword and around USE - PEAR FunctionDeclarationSniff now supports closures - Squiz MultiLineFunctionDeclarationSniff now supports closures - Exclude rules written for Unix systems will now work correctly on Windows -- Thanks to Walter Tamboer for the patch - The PHP tokenizer now recognises T_RETURN as a valid closer for T_CASE and T_DEFAULT inside switch statements - Fixed duplicate message codes in Generic OpeningFunctionBraceKernighanRitchieSniff - Fixed bug #18651 : PHPunit Test cases for custom standards are not working on Windows - Fixed bug #19416 : Shorthand arrays cause bracket spacing errors - Fixed bug #19421 : phpcs doesn't recognize ${x} as equivalent to $x - Fixed bug #19428 : PHPCS Report "hgblame" doesn't support windows paths -- Thanks to Justin Rovang for the patch - Fixed bug #19448 : Problem with detecting remote standards - Fixed bug #19463 : Anonymous functions incorrectly being flagged by NonExecutableCodeSniff - Fixed bug #19469 : PHP_CodeSniffer_File::getMemberProperties() sets wrong scope - Fixed bug #19471 : phpcs on Windows, when using Zend standard, doesn't catch problems -- Thanks to Ivan Habunek for the patch - Fixed bug #19478 : Incorrect indent detection in PEAR standard -- Thanks to Shane Auckland for the patch - Fixed bug #19483 : Blame Reports fail with space in directory name Dependencies:
|
| 2012-05-17 stable |
|
| 2012-02-17 stable |
|
| 2011-12-01 stable |
|
| 2011-11-03 stable |
|
| 2011-03-17 stable |
|
| 2011-01-14 beta |
|
| 2010-09-03 beta |
|
| 2010-07-15 alpha |
|
| 2010-01-27 stable |
|
| 2009-11-17 stable |
|
| 2009-08-17 stable |
|
| 2009-07-07 beta |
|
| 2009-05-25 beta |
|
| 2009-03-09 beta |
|
| 2008-12-18 alpha |
|
| 2008-07-14 stable |
|
| 2008-07-03 beta |
|
| 2008-06-13 beta |
|
| 2008-05-12 beta |
|
| 2008-04-20 alpha |
|
| 2008-02-03 stable |
|
| 2007-12-20 stable |
|
| 2007-11-29 beta |
|
| 2007-11-13 beta |
|
| 2007-10-31 beta |
|
| 2007-09-24 beta |
|
| 2007-08-08 beta |
|
| 2007-07-01 beta |
|
| 2007-05-14 beta |
|
| 2007-04-16 beta |
|
| 2007-02-18 beta |
|
| 2007-01-11 beta |
|
| 2006-10-12 alpha |
|
| 2006-09-25 alpha |
|
| 2006-09-18 alpha |
|
| 2006-09-18 alpha |