@@ -2260,38 +2260,53 @@ Additionally, thanks to [Alexander Turek][@derrabus] for consulting on the repo
22602260
22612261### Fixed
22622262- Fixed test suite compatibility with PHPUnit 7
2263- - Fixed bug #1793 : PSR2 forcing exact indent for function call opening statements
2264- - Fixed bug #1803 : Squiz.WhiteSpace.ScopeKeywordSpacing removes member var name while fixing if no space after scope keyword
2265- - Fixed bug #1817 : Blank line not enforced after control structure if comment on same line as closing brace
2266- - Fixed bug #1827 : A phpcs:enable comment is not tokenized correctly if it is outside a phpcs:disable block
2267- - Thanks to [Juliette Reinders Folmer][@jrfnl] for the patch
2268- - Fixed bug #1828 : Squiz.WhiteSpace.SuperfluousWhiteSpace ignoreBlankLines property ignores whitespace after single line comments
2269- - Thanks to [Juliette Reinders Folmer][@jrfnl] for the patch
2270- - Fixed bug #1840 : When a comment has too many asterisks, phpcbf gives FAILED TO FIX error
2271- - Fixed bug #1867 : Cant use phpcs:ignore where the next line is HTML
2272- - Fixed bug #1870 : Invalid warning in multiple assignments alignment with closure or anon class
2273- - Fixed bug #1890 : Incorrect Squiz.WhiteSpace.ControlStructureSpacing.NoLineAfterClose error between catch and finally statements
2274- - Fixed bug #1891 : Comment on last USE statement causes false positive for PSR2.Namespaces.UseDeclaration.SpaceAfterLastUse
2263+ - Fixed bug [ #1793] : PSR2 forcing exact indent for function call opening statements
2264+ - Fixed bug [ #1803] : Squiz.WhiteSpace.ScopeKeywordSpacing removes member var name while fixing if no space after scope keyword
2265+ - Fixed bug [ #1817] : Blank line not enforced after control structure if comment on same line as closing brace
2266+ - Fixed bug [ #1827] : A phpcs:enable comment is not tokenized correctly if it is outside a phpcs:disable block
2267+ - Thanks to [Juliette Reinders Folmer][@jrfnl] for the patch
2268+ - Fixed bug [ #1828] : Squiz.WhiteSpace.SuperfluousWhiteSpace ignoreBlankLines property ignores whitespace after single line comments
2269+ - Thanks to [Juliette Reinders Folmer][@jrfnl] for the patch
2270+ - Fixed bug [ #1840] : When a comment has too many asterisks, phpcbf gives FAILED TO FIX error
2271+ - Fixed bug [ #1867] : Can't use phpcs:ignore where the next line is HTML
2272+ - Fixed bug [ #1870] : Invalid warning in multiple assignments alignment with closure or anon class
2273+ - Fixed bug [ #1890] : Incorrect Squiz.WhiteSpace.ControlStructureSpacing.NoLineAfterClose error between catch and finally statements
2274+ - Fixed bug [ #1891] : Comment on last USE statement causes false positive for PSR2.Namespaces.UseDeclaration.SpaceAfterLastUse
22752275 - Thanks to [Matt Coleman][@iammattcoleman], [Daniel Hensby][@dhensby], and [Juliette Reinders Folmer][@jrfnl] for the patch
2276- - Fixed bug #1901 : Fixed PHPCS annotations in multi-line tab-indented comments + not ignoring whole line for phpcs:set
2276+ - Fixed bug [ #1901] : Fixed PHPCS annotations in multi-line tab-indented comments + not ignoring whole line for phpcs:set
22772277 - Thanks to [Juliette Reinders Folmer][@jrfnl] for the patch
22782278
2279+ [#1793]: https://github.com/squizlabs/PHP_CodeSniffer/issues/1793
2280+ [#1803]: https://github.com/squizlabs/PHP_CodeSniffer/issues/1803
2281+ [#1817]: https://github.com/squizlabs/PHP_CodeSniffer/issues/1817
2282+ [#1827]: https://github.com/squizlabs/PHP_CodeSniffer/pull/1827
2283+ [#1828]: https://github.com/squizlabs/PHP_CodeSniffer/pull/1828
2284+ [#1840]: https://github.com/squizlabs/PHP_CodeSniffer/issues/1840
2285+ [#1867]: https://github.com/squizlabs/PHP_CodeSniffer/issues/1867
2286+ [#1870]: https://github.com/squizlabs/PHP_CodeSniffer/issues/1870
2287+ [#1890]: https://github.com/squizlabs/PHP_CodeSniffer/issues/1890
2288+ [#1891]: https://github.com/squizlabs/PHP_CodeSniffer/issues/1891
2289+ [#1901]: https://github.com/squizlabs/PHP_CodeSniffer/pull/1901
2290+
22792291## [3.2.2] - 2017-12-20
22802292### Changed
22812293- Disabled STDIN detection on Windows
22822294 - This fixes a problem with IDE plugins (e.g., PHPStorm) hanging on Windows
22832295
22842296## [3.2.1] - 2017-12-18
22852297### Changed
2286- - Empty diffs are no longer followed by a newline character (request #1781)
2298+ - Empty diffs are no longer followed by a newline character (request [ #1781] )
22872299- Generic.Functions.OpeningFunctionBraceKernighanRitchie no longer complains when the open brace is followed by a close tag
22882300 - This makes the sniff more useful when used in templates
22892301 - Thanks to [Joseph Zidell][@josephzidell] for the patch
22902302
22912303### Fixed
22922304- Fixed problems with some scripts and plugins waiting for STDIN
22932305 - This was a notable problem with IDE plugins (e.g., PHPStorm) and build systems
2294- - Fixed bug #1782 : Incorrect detection of operator in ternary + anonymous function
2306+ - Fixed bug [#1782] : Incorrect detection of operator in ternary + anonymous function
2307+
2308+ [#1781]: https://github.com/squizlabs/PHP_CodeSniffer/issues/1781
2309+ [#1782]: https://github.com/squizlabs/PHP_CodeSniffer/issues/1782
22952310
22962311## [3.2.0] - 2017-12-13
22972312### Deprecated
@@ -2314,7 +2329,7 @@ Additionally, thanks to [Alexander Turek][@derrabus] for consulting on the repo
23142329 - phpcs:set has the token T_PHPCS_SET
23152330
23162331### Changed
2317- - The phpcs:disable and phpcs:ignore comments can now selectively ignore specific sniffs (request #604)
2332+ - The phpcs:disable and phpcs:ignore comments can now selectively ignore specific sniffs (request [ #604] )
23182333 - E.g., phpcs:disable Generic.Commenting.Todo.Found for a specific message
23192334 - E.g., phpcs:disable Generic.Commenting.Todo for a whole sniff
23202335 - E.g., phpcs:disable Generic.Commenting for a whole category of sniffs
@@ -2336,7 +2351,7 @@ Additionally, thanks to [Alexander Turek][@derrabus] for consulting on the repo
23362351 - Thanks to [Juliette Reinders Folmer][@jrfnl] for the patch
23372352- Added phpcs.xsd to allow validation of ruleset XML files
23382353 - Thanks to [Renaat De Muynck][@renaatdemuynck] for the contribution
2339- - File paths specified using --stdin-path can now point to fake file locations (request #1488)
2354+ - File paths specified using --stdin-path can now point to fake file locations (request [ #1488] )
23402355 - Previously, STDIN files using fake file paths were excluded from checking
23412356- Setting an empty basepath (--basepath=) on the CLI will now clear a basepath set directly in a ruleset
23422357 - Thanks to [Xaver Loppenstedt][@xalopp] for the patch
@@ -2397,23 +2412,41 @@ Additionally, thanks to [Alexander Turek][@derrabus] for consulting on the repo
23972412 - Thanks to [Juliette Reinders Folmer][@jrfnl] for the patch
23982413
23992414### Fixed
2400- - Fixed bug #1462 : Error processing cyrillic strings in Tokenizer
2401- - Fixed bug #1573 : Squiz.WhiteSpace.LanguageConstructSpacing does not properly check for tabs and newlines
2415+ - Fixed bug [ #1462] : Error processing cyrillic strings in Tokenizer
2416+ - Fixed bug [ #1573] : Squiz.WhiteSpace.LanguageConstructSpacing does not properly check for tabs and newlines
24022417 - Thanks to [Michał Bundyra][@michalbundyra] for the patch
2403- - Fixed bug #1590 : InlineControlStructure CBF issue while adding braces to an if thats returning a nested function
2404- - Fixed bug #1718 : Unclosed strings at EOF sometimes tokenized as T_WHITESPACE by the JS tokenizer
2405- - Fixed bug #1731 : Directory exclusions do not work as expected when a single file name is passed to phpcs
2406- - Fixed bug #1737 : Squiz.CSS.EmptyStyleDefinition sees comment as style definition and fails to report error
2407- - Fixed bug #1746 : Very large reports can sometimes become garbled when using the parallel option
2408- - Fixed bug #1747 : Squiz.Scope.StaticThisUsage incorrectly looking inside closures
2409- - Fixed bug #1757 : Unknown type hint "object" in Squiz.Commenting.FunctionComment
2410- - Fixed bug #1758 : PHPCS gets stuck creating file list when processing circular symlinks
2411- - Fixed bug #1761 : Generic.WhiteSpace.ScopeIndent error on multi-line function call with static closure argument
2412- - Fixed bug #1762 : Generic.WhiteSpace.Disallow[Space/Tab]Indent not inspecting content before open tag
2413- - Thanks to [Juliette Reinders Folmer][@jrfnl] for the patch
2414- - Fixed bug #1769 : Custom "define" function triggers a warning about declaring new symbols
2415- - Fixed bug #1776 : Squiz.Scope.StaticThisUsage incorrectly looking inside anon classes
2416- - Fixed bug #1777 : Generic.WhiteSpace.ScopeIndent incorrect indent errors when self called function proceeded by comment
2418+ - Fixed bug [#1590] : InlineControlStructure CBF issue while adding braces to an if that's returning a nested function
2419+ - Fixed bug [#1718] : Unclosed strings at EOF sometimes tokenized as T_WHITESPACE by the JS tokenizer
2420+ - Fixed bug [#1731] : Directory exclusions do not work as expected when a single file name is passed to phpcs
2421+ - Fixed bug [#1737] : Squiz.CSS.EmptyStyleDefinition sees comment as style definition and fails to report error
2422+ - Fixed bug [#1746] : Very large reports can sometimes become garbled when using the parallel option
2423+ - Fixed bug [#1747] : Squiz.Scope.StaticThisUsage incorrectly looking inside closures
2424+ - Fixed bug [#1757] : Unknown type hint "object" in Squiz.Commenting.FunctionComment
2425+ - Fixed bug [#1758] : PHPCS gets stuck creating file list when processing circular symlinks
2426+ - Fixed bug [#1761] : Generic.WhiteSpace.ScopeIndent error on multi-line function call with static closure argument
2427+ - Fixed bug [#1762] : Generic.WhiteSpace.Disallow[Space/Tab]Indent not inspecting content before open tag
2428+ - Thanks to [Juliette Reinders Folmer][@jrfnl] for the patch
2429+ - Fixed bug [#1769] : Custom "define" function triggers a warning about declaring new symbols
2430+ - Fixed bug [#1776] : Squiz.Scope.StaticThisUsage incorrectly looking inside anon classes
2431+ - Fixed bug [#1777] : Generic.WhiteSpace.ScopeIndent incorrect indent errors when self called function proceeded by comment
2432+
2433+ [#604]: https://github.com/squizlabs/PHP_CodeSniffer/issues/604
2434+ [#1488]: https://github.com/squizlabs/PHP_CodeSniffer/issues/1488
2435+ [#1462]: https://github.com/squizlabs/PHP_CodeSniffer/issues/1462
2436+ [#1573]: https://github.com/squizlabs/PHP_CodeSniffer/pull/1573
2437+ [#1590]: https://github.com/squizlabs/PHP_CodeSniffer/issues/1590
2438+ [#1718]: https://github.com/squizlabs/PHP_CodeSniffer/issues/1718
2439+ [#1731]: https://github.com/squizlabs/PHP_CodeSniffer/issues/1731
2440+ [#1737]: https://github.com/squizlabs/PHP_CodeSniffer/pull/1737
2441+ [#1746]: https://github.com/squizlabs/PHP_CodeSniffer/issues/1746
2442+ [#1747]: https://github.com/squizlabs/PHP_CodeSniffer/issues/1747
2443+ [#1757]: https://github.com/squizlabs/PHP_CodeSniffer/issues/1757
2444+ [#1758]: https://github.com/squizlabs/PHP_CodeSniffer/issues/1758
2445+ [#1761]: https://github.com/squizlabs/PHP_CodeSniffer/issues/1761
2446+ [#1762]: https://github.com/squizlabs/PHP_CodeSniffer/pull/1762
2447+ [#1769]: https://github.com/squizlabs/PHP_CodeSniffer/issues/1769
2448+ [#1776]: https://github.com/squizlabs/PHP_CodeSniffer/issues/1776
2449+ [#1777]: https://github.com/squizlabs/PHP_CodeSniffer/issues/1777
24172450
24182451## [3.1.1] - 2017-10-17
24192452### Changed
0 commit comments