| » 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 |
|
| 2012-07-12 stable |
|
| 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 |
|
| 1.3.0a1 |
Easy InstallNot sure? Get more info. pear install PHP_CodeSniffer-1.3.0a1 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/PHP_CodeSniffer-1.3.0a1 Release date: 2010-07-15 05:04 UTC Release state: alpha Changelog: - All CodingStandard.php files have been replaced by ruleset.xml files -- Custom standards will need to be converted over to this new format to continue working - You can specify a path to your own custom ruleset.xml file by using the --standard command line arg -- e.g., phpcs --standard=/path/to/my/ruleset.xml - Added a new report type --report=gitblame to show how many errors and warnings were committed by each author -- Has the same functionality as the svnblame report -- Thanks to Ben Selby for the patch - A new token type T_DOLLAR has been added to allow you to sniff for variable variables (feature request #17095) -- Thanks to Ian Young for the patch - JS tokenizer now supports T_POWER (^) and T_MOD_EQUAL (%=) tokens (feature request #17441) - If you have PHP_Timer installed, you'll now get a time/memory summary at the end of a script run -- Only happens when printing reports that are designed to be read on the command line - Added Generic DeprecatedFunctionsSniff to warn about the use of deprecated functions (feature request #16694) -- Thanks to Sebastian Bergmann for the patch - Added Squiz LogicalOperatorSniff to ensure that logical operators are surrounded by single spaces - Added MySource ChannelExceptionSniff to ensure action files only throw ChannelException - Added new method getClassProperties() for sniffs to use to determine if a class is abstract and/or final -- Thanks to Christian Kaps for the patch - Generic UpperCaseConstantSniff no longer throws errors about namespaces -- Thanks to Christian Kaps for the patch - Squiz OperatorBracketSniff now correctly checks value assignmnets in arrays - Squiz LongConditionClosingCommentSniff now requires a comment for long CASE statements that use curly braces - Squiz LongConditionClosingCommentSniff now requires an exact comment match on the brace - MySource IncludeSystemSniff now ignores DOMDocument usage - MySource IncludeSystemSniff no longer requires inclusion of systems that are being implemented - Removed found and expected messages from Squiz ConcatenationSpacingSniff because they were messy and not helpful - Fixed a problem where Generic CodeAnalysisSniff could show warnings if checking multi-line strings - Fixed error messages in Squiz ArrayDeclarationSniff reporting incorrect number of found and expected spaces - Fixed bug #17048 : False positive in Squiz_WhiteSpace_ScopeKeywordSpacingSniff - Fixed bug #17054 : phpcs more strict than PEAR CS regarding function parameter spacing - Fixed bug #17096 : Notice: Undefined index: scope_condition in ScopeClosingBraceSniff.php -- Moved PEAR.Functions.FunctionCallArgumentSpacing to Generic.Functions.FunctionCallArgumentSpacing - Fixed bug #17144 : Deprecated: Function eregi() is deprecated - Fixed bug #17236 : PHP Warning due to token_get_all() in DoubleQuoteUsageSniff - Fixed bug #17243 : Alternate Switch Syntax causes endless loop of Notices in SwitchDeclaration - Fixed bug #17313 : Bug with switch case struture - Fixed bug #17331 : Possible parse error: interfaces may not include member vars - Fixed bug #17337 : CSS tokenizer fails on quotes urls - Fixed bug #17420 : Uncaught exception when comment before function brace - Fixed bug #17503 : closures formatting is not supported Dependencies:
|
| 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 |