@@ -14,8 +14,8 @@ http://pear.php.net/dtd/package-2.0.xsd">
1414 <email >gsherwood@squiz.net</email >
1515 <active >yes</active >
1616 </lead >
17- <date >2013-04-04 </date >
18- <time >10:13 :00</time >
17+ <date >2013-07-25 </date >
18+ <time >13:47 :00</time >
1919 <version >
2020 <release >1.4.6</release >
2121 <api >1.4.6</api >
@@ -2351,22 +2351,73 @@ http://pear.php.net/dtd/package-2.0.xsd">
23512351 <changelog >
23522352 <release >
23532353 <version >
2354- <release >1.5.0RC1 </release >
2355- <api >1.5.0RC1 </api >
2354+ <release >1.4.6 </release >
2355+ <api >1.4.6 </api >
23562356 </version >
23572357 <stability >
2358- <release >beta </release >
2359- <api >beta </api >
2358+ <release >stable </release >
2359+ <api >stable </api >
23602360 </stability >
2361- <date >2013-02-08 </date >
2361+ <date >2013-07-25 </date >
23622362 <license uri =" https://github.com/squizlabs/PHP_CodeSniffer/blob/master/licence.txt" >BSD License</license >
23632363 <notes >
2364- - Reports have been completely rewritten to consume far less memory
2365- -- Each report is incrementally written to the file system during a run and then printed out when the run ends
2366- -- There is no longer a need to keep the list of errors and warnings in memory during a run
2367- - Multi-file sniff support has been removed because they are too memory intensive
2368- -- If you have a custom multi-file sniff, you can convert it into a standard sniff quite easily
2369- -- See CodeSniffer/Standards/Generic/Sniffs/Classes/DuplicateClassNameSniff.php for an example
2364+ - Added report type --report=json to show the error list and total counts for all checked files
2365+ -- Thanks to Jeffrey Fisher for the contribution
2366+ - The JS tokenizer now has support for the T_THROW token
2367+ - Symlinked directories inside CodeSniffer/Standards and in ruleset.xml files are now supported
2368+ -- Only available since PHP 5.2.11 and 5.3.1
2369+ -- Thanks to Maik Penz for the patch
2370+ - The JS tokenizer now correctly identifies T_INLINE_ELSE tokens instead of leaving them as T_COLON
2371+ -- Thanks to Arnout Boks for the patch
2372+ - Explaining a standard (phpcs -e) that uses namespaces now works correctly
2373+ - Restricting a check to specific sniffs (phpcs --sniffs=...) now works correctly with namespaced sniffs
2374+ -- Thanks to Maik Penz for the patch
2375+ - Docs added for the entire Generic standard, and many sniffs from other standards are now documented as well
2376+ -- Thanks to Spencer Rinehart for the contribution
2377+ - Clearer error message for when the sniff class name does not match the directory structure
2378+ - Generated HTML docs now correctly show the open PHP tag in code comparison blocks
2379+ - Added Generic InlineHTMLSniff to ensure a file only contains PHP code
2380+ - Added Squiz ShorthandSizeSniff to check that CSS sizes are using shorthand notation only when 1 or 2 values are used
2381+ - Added Squiz ForbiddenStylesSniff to ban the use of some deprecated browser-specific styles
2382+ - Added Squiz NamedColoursSniff to ban the use of colour names
2383+ - PSR2 standard no longer enforces no whitespace between the closing parenthesis of a function call and the semicolon
2384+ - PSR2 ClassDeclarationSniff now ignores empty classes when checking the end brace position
2385+ - PSR2 SwitchDeclarationSniff no longer reports errors for empty lines between CASE statements
2386+ - PEAR ObjectOperatorIndentSniff now has a setting to specify how many spaces code should be indented
2387+ -- Default remains at 4; override the indent setting in a ruleset.xml file to change
2388+ -- Thanks to Andrey Mindubaev for the patch
2389+ - Squiz FileExtensionSniff now supports traits
2390+ -- Thanks to Lucas Green for the patch
2391+ - Squiz ArrayDeclarationSniff no longer reports errors for no comma at the end of a line that contains a function call
2392+ - Squiz SwitchDeclarationSniff now supports T_CONTINUE and T_THROW as valid case/default breaking statements
2393+ - Squiz CommentedOutCodeSniff is now better at ignoring commented out HTML, XML and regular expressions
2394+ - Squiz DisallowComparisonAssignmentSniff no longer throws errors for the third expression in a FOR statement
2395+ - Squiz ColourDefinitionSniff no longer throws errors for some CSS class names
2396+ - Squiz ControlStructureSpacingSniff now supports all types of CASE/DEFAULT breaking statements
2397+ - Generic CallTimePassByReferenceSniff now reports errors for functions called using a variable
2398+ -- Thanks to Maik Penz for the patch
2399+ - Generic ConstructorNameSniff no longer throws a notice for abstract constructors inside abstract classes
2400+ -- Thanks to Spencer Rinehart for the patch
2401+ - Squiz ComparisonOperatorUsageSniff now checks inside elseif statements
2402+ -- Thanks to Arnout Boks for the patch
2403+ - Squiz OperatorSpacingSniff now reports errors for no spacing around inline then and else tokens
2404+ -- Thanks to Arnout Boks for the patch
2405+ - Fixed bug #19811 : Comments not ignored in all cases in AbstractPatternSniff
2406+ -- Thanks to Erik Wiffin for the patch
2407+ - Fixed bug #19892 : ELSE with no braces causes incorrect SWITCH break statement indentation error
2408+ - Fixed bug #19897 : Indenting warnings in templates not consistent
2409+ - Fixed bug #19908 : PEAR MultiLineCondition Does Not Apply elseif
2410+ - Fixed bug #19913 : Running phpcs in interactive mode causes warnings
2411+ -- Thanks to Harald Franndorfer for the patch
2412+ - Fixed bug #19935 : notify-send reports do not vanish in gnome-shell
2413+ -- Thanks to Christian Weiske for the patch
2414+ - Fixed bug #19944 : docblock squiz sniff "return void" trips over return in lambda function
2415+ - Fixed bug #19953 : PSR2 - Spaces before interface name for abstract class
2416+ - Fixed bug #19956 : phpcs warns for Type Hint missing Resource
2417+ - Fixed bug #19957 : Does not understand trait method aliasing
2418+ - Fixed bug #19968 : Permission denied on excluded directory
2419+ - Fixed bug #19969 : Sniffs with namespace not recognized in reports
2420+ - Fixed bug #19997 : Class names incorrectly detected as constants
23702421 </notes >
23712422 </release >
23722423 <release >
0 commit comments