@@ -3939,11 +3939,17 @@ Additionally, thanks to [Alexander Turek][@derrabus] for consulting on the repo
39393939 - Thanks to [ Thibaud Fabre] [ @fabre-thibaud ] for the patch
39403940
39413941### Fixed
3942- - Fixed bug #280 : The --config-show option generates error when there is no config file
3943- - Fixed bug #306 : File containing only a namespace declaration raises undefined index notice
3944- - Fixed bug #308 : Squiz InlineIfDeclarationSniff fails on ternary operators inside closure
3945- - Fixed bug #310 : Variadics not recognized by tokenizer
3946- - Fixed bug #311 : Suppression of function prototype breaks checking of lines within function
3942+ - Fixed bug [ #280 ] [ sq-280 ] : The --config-show option generates error when there is no config file
3943+ - Fixed bug [ #306 ] [ sq-306 ] : File containing only a namespace declaration raises undefined index notice
3944+ - Fixed bug [ #308 ] [ sq-308 ] : Squiz InlineIfDeclarationSniff fails on ternary operators inside closure
3945+ - Fixed bug [ #310 ] [ sq-310 ] : Variadics not recognized by tokenizer
3946+ - Fixed bug [ #311 ] [ sq-311 ] : Suppression of function prototype breaks checking of lines within function
3947+
3948+ [ sq-280 ] : https://github.com/squizlabs/PHP_CodeSniffer/issues/280
3949+ [ sq-306 ] : https://github.com/squizlabs/PHP_CodeSniffer/issues/306
3950+ [ sq-308 ] : https://github.com/squizlabs/PHP_CodeSniffer/issues/308
3951+ [ sq-310 ] : https://github.com/squizlabs/PHP_CodeSniffer/issues/310
3952+ [ sq-311 ] : https://github.com/squizlabs/PHP_CodeSniffer/issues/311
39473953
39483954## [ 2.0.0RC4] - 2014-11-07
39493955### Changed
@@ -3969,14 +3975,23 @@ Additionally, thanks to [Alexander Turek][@derrabus] for consulting on the repo
39693975- Running unit tests with the -v CLI argument no longer generates PHP errors
39703976
39713977### Fixed
3972- - Fixed bug #295 : ScopeIndentSniff hangs when processing nested closures
3973- - Fixed bug #298 : False positive in ScopeIndentSniff when anonymous functions are used with method chaining
3974- - Fixed bug #302 : Fixing code in Squiz InlineComment sniff can remove some comment text
3975- - Fixed bug #303 : Open and close tag on same line can cause a PHP notice checking scope indent
3976- - Fixed bug #306 : File containing only a namespace declaration raises undefined index notice
3977- - Fixed bug #307 : Conditional breaks in case statements get incorrect indentations
3978- - Fixed bug #308 : Squiz InlineIfDeclarationSniff fails on ternary operators inside closure
3979- - Fixed bug #310 : Variadics not recognized by tokenizer
3978+ - Fixed bug [ #295 ] [ sq-295 ] : ScopeIndentSniff hangs when processing nested closures
3979+ - Fixed bug [ #298 ] [ sq-298 ] : False positive in ScopeIndentSniff when anonymous functions are used with method chaining
3980+ - Fixed bug [ #302 ] [ sq-302 ] : Fixing code in Squiz InlineComment sniff can remove some comment text
3981+ - Fixed bug [ #303 ] [ sq-303 ] : Open and close tag on same line can cause a PHP notice checking scope indent
3982+ - Fixed bug [ #306 ] [ sq-306 ] : File containing only a namespace declaration raises undefined index notice
3983+ - Fixed bug [ #307 ] [ sq-307 ] : Conditional breaks in case statements get incorrect indentations
3984+ - Fixed bug [ #308 ] [ sq-308 ] : Squiz InlineIfDeclarationSniff fails on ternary operators inside closure
3985+ - Fixed bug [ #310 ] [ sq-310 ] : Variadics not recognized by tokenizer
3986+
3987+ [ sq-295 ] : https://github.com/squizlabs/PHP_CodeSniffer/issues/295
3988+ [ sq-298 ] : https://github.com/squizlabs/PHP_CodeSniffer/issues/298
3989+ [ sq-302 ] : https://github.com/squizlabs/PHP_CodeSniffer/issues/302
3990+ [ sq-303 ] : https://github.com/squizlabs/PHP_CodeSniffer/issues/303
3991+ [ sq-306 ] : https://github.com/squizlabs/PHP_CodeSniffer/issues/306
3992+ [ sq-307 ] : https://github.com/squizlabs/PHP_CodeSniffer/issues/307
3993+ [ sq-308 ] : https://github.com/squizlabs/PHP_CodeSniffer/issues/308
3994+ [ sq-310 ] : https://github.com/squizlabs/PHP_CodeSniffer/issues/310
39803995
39813996## [ 2.0.0RC3] - 2014-10-16
39823997### Changed
@@ -3997,26 +4012,29 @@ Additionally, thanks to [Alexander Turek][@derrabus] for consulting on the repo
39974012- Squiz EmbeddedPhpSniff now checks open and close tag indents and fixes some errors
39984013- Squiz FileCommentSniff no longer throws incorrect blank line before comment errors in JS files
39994014- Squiz ClassDeclarationSniff now has better checking for blank lines after a closing brace
4000- - Removed error Squiz.Classes.ClassDeclaration.NoNewlineAfterCloseBrace (request #285 )
4015+ - Removed error Squiz.Classes.ClassDeclaration.NoNewlineAfterCloseBrace (request [ #285 ] [ sq-285 ] )
40014016 - Already handled by Squiz.Classes.ClassDeclaration.CloseBraceSameLine
40024017
40034018### Fixed
4004- - Fixed bug #280 : The --config-show option generates error when there is no config file
4019+ - Fixed bug [ #280 ] [ sq-280 ] : The --config-show option generates error when there is no config file
4020+
4021+ [ sq-280 ] : https://github.com/squizlabs/PHP_CodeSniffer/issues/280
4022+ [ sq-285 ] : https://github.com/squizlabs/PHP_CodeSniffer/issues/285
40054023
40064024## [ 2.0.0RC2] - 2014-09-26
40074025### Changed
4008- - Minified JS and CSS files are now detected and skipped (fixes bug #252 and bug #19899 )
4026+ - Minified JS and CSS files are now detected and skipped (fixes bug [ #252 ] [ sq-252 ] and bug [ #19899 ] [ pear-19899 ] )
40094027 - A warning will be added to the file so it can be found in the report and ignored in the future
40104028- Fixed incorrect length of JS object operator tokens
40114029- PHP tokenizer no longer converts class/function names to special tokens types
40124030 - Class/function names such as parent and true would become special tokens such as T_PARENT and T_TRUE
4013- - PHPCS can now exit with 0 if only warnings were found (request #262 )
4031+ - PHPCS can now exit with 0 if only warnings were found (request [ #262 ] [ sq-262 ] )
40144032 - Set the ignore_warnings_on_exit config variable to 1 to set this behaviour
40154033 - Default remains at exiting with 0 only if no errors and no warnings were found
40164034 - Also changes return value of PHP_CodeSniffer_Reporting::printReport()
40174035- Rulesets can now set associative array properties
40184036 - property name="[ property] " type="array" value="foo=>bar,baz=>qux"
4019- - Generic ForbiddenFunctionsSniff now has a public property called forbiddenFunctions (request #263 )
4037+ - Generic ForbiddenFunctionsSniff now has a public property called forbiddenFunctions (request [ #263 ] [ sq-263 ] )
40204038 - Override the property in a ruleset.xml file to define forbidden functions and their replacements
40214039 - A replacement of NULL indicates that no replacement is available
40224040 - e.g., value="delete=>unset,print=>echo,create_function=>null"
@@ -4028,14 +4046,14 @@ Additionally, thanks to [Alexander Turek][@derrabus] for consulting on the repo
40284046 - If 2 sniffs look to be conflicting, one change will be ignored to allow a fix to occur
40294047- Generic CamelCapsFunctionNameSniff now ignores a single leading underscore
40304048 - Thanks to [ Alex Slobodiskiy] [ @xt99 ] for the patch
4031- - Standards can now be located within hidden directories (further fix for bug #20323 )
4049+ - Standards can now be located within hidden directories (further fix for bug [ #20323 ] [ pear-20323 ] )
40324050 - Thanks to [ Klaus Purer] [ @klausi ] for the patch
40334051- Sniff ignore patterns now replace Win dir separators like file ignore patterns already did
40344052- Exclude patterns now use backtick delimiters, allowing all special characters to work correctly again
40354053 - Thanks to [ Jeremy Edgell] [ @jedgell ] for the patch
40364054- Errors converted to warnings in a ruleset (and vice versa) now retain their fixable status
40374055 - Thanks to [ Alexander Obuhovich] [ @aik099 ] for the patch
4038- - Squiz ConcatenationSpacingSniff now has a setting to specify how many spaces there should around concat operators
4056+ - Squiz ConcatenationSpacingSniff now has a setting to specify how many spaces there should be around concat operators
40394057 - Default remains at 0
40404058 - Override the "spacing" setting in a ruleset.xml file to change
40414059- Added auto-fixes for Squiz InlineCommentSniff
@@ -4053,15 +4071,29 @@ Additionally, thanks to [Alexander Turek][@derrabus] for consulting on the repo
40534071- Generic UpperCaseConstantSniff and LowerCaseConstantSniff now ignore function names
40544072
40554073### Fixed
4056- - Fixed bug #243 : Missing DocBlock not detected
4057- - Fixed bug #248 : FunctionCommentSniff expects ampersand on param name
4058- - Fixed bug #265 : False positives with type hints in ForbiddenFunctionsSniff
4059- - Fixed bug #20373 : Inline comment sniff tab handling way
4060- - Fixed bug #20377 : Error when trying to execute phpcs with report=json
4061- - Fixed bug #20378 : Report appended to existing file if no errors found in run
4062- - Fixed bug #20381 : Invalid "Comment closer must be on a new line"
4074+ - Fixed bug [ #243 ] [ sq-243 ] : Missing DocBlock not detected
4075+ - Fixed bug [ #248 ] [ sq-248 ] : FunctionCommentSniff expects ampersand on param name
4076+ - Fixed bug [ #265 ] [ sq-265 ] : False positives with type hints in ForbiddenFunctionsSniff
4077+ - Fixed bug [ #20373 ] [ pear-20373 ] : Inline comment sniff tab handling way
4078+ - Fixed bug [ #20377 ] [ pear-20377 ] : Error when trying to execute phpcs with report=json
4079+ - Fixed bug [ #20378 ] [ pear-20378 ] : Report appended to existing file if no errors found in run
4080+ - Fixed bug [ #20381 ] [ pear-20381 ] : Invalid "Comment closer must be on a new line"
40634081 - Thanks to [ Brad Kent] [ @bkdotcom ] for the patch
4064- - Fixed bug #20402 : SVN pre-commit hook fails due to unknown argument error
4082+ - Fixed bug [ #20402 ] [ pear-20402 ] : SVN pre-commit hook fails due to unknown argument error
4083+
4084+ [ sq-243 ] : https://github.com/squizlabs/PHP_CodeSniffer/issues/243
4085+ [ sq-248 ] : https://github.com/squizlabs/PHP_CodeSniffer/issues/248
4086+ [ sq-252 ] : https://github.com/squizlabs/PHP_CodeSniffer/issues/252
4087+ [ sq-262 ] : https://github.com/squizlabs/PHP_CodeSniffer/issues/262
4088+ [ sq-263 ] : https://github.com/squizlabs/PHP_CodeSniffer/issues/263
4089+ [ sq-265 ] : https://github.com/squizlabs/PHP_CodeSniffer/pull/265
4090+ [ pear-19899 ] : https://pear.php.net/bugs/bug.php?id=19899
4091+ [ pear-20323 ] : https://pear.php.net/bugs/bug.php?id=20323
4092+ [ pear-20373 ] : https://pear.php.net/bugs/bug.php?id=20373
4093+ [ pear-20377 ] : https://pear.php.net/bugs/bug.php?id=20377
4094+ [ pear-20378 ] : https://pear.php.net/bugs/bug.php?id=20378
4095+ [ pear-20381 ] : https://pear.php.net/bugs/bug.php?id=20381
4096+ [ pear-20402 ] : https://pear.php.net/bugs/bug.php?id=20402
40654097
40664098## [ 1.5.5] - 2014-09-25
40674099### Changed
0 commit comments