Skip to content

Commit b8ebef8

Browse files
rodrigoprimojrfnl
authored andcommitted
Add links to all issues in the 3.2.3, 3.2.1 and 3.2.0 sections of the changelog
This commit also fixes two typos.
1 parent f0a45e5 commit b8ebef8

File tree

1 file changed

+66
-33
lines changed

1 file changed

+66
-33
lines changed

CHANGELOG.md

Lines changed: 66 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -2158,38 +2158,53 @@ Additionally, thanks to [Alexander Turek][@derrabus] for consulting on the repo
21582158

21592159
### Fixed
21602160
- Fixed test suite compatibility with PHPUnit 7
2161-
- Fixed bug #1793 : PSR2 forcing exact indent for function call opening statements
2162-
- Fixed bug #1803 : Squiz.WhiteSpace.ScopeKeywordSpacing removes member var name while fixing if no space after scope keyword
2163-
- Fixed bug #1817 : Blank line not enforced after control structure if comment on same line as closing brace
2164-
- Fixed bug #1827 : A phpcs:enable comment is not tokenized correctly if it is outside a phpcs:disable block
2165-
- Thanks to [Juliette Reinders Folmer][@jrfnl] for the patch
2166-
- Fixed bug #1828 : Squiz.WhiteSpace.SuperfluousWhiteSpace ignoreBlankLines property ignores whitespace after single line comments
2167-
- Thanks to [Juliette Reinders Folmer][@jrfnl] for the patch
2168-
- Fixed bug #1840 : When a comment has too many asterisks, phpcbf gives FAILED TO FIX error
2169-
- Fixed bug #1867 : Cant use phpcs:ignore where the next line is HTML
2170-
- Fixed bug #1870 : Invalid warning in multiple assignments alignment with closure or anon class
2171-
- Fixed bug #1890 : Incorrect Squiz.WhiteSpace.ControlStructureSpacing.NoLineAfterClose error between catch and finally statements
2172-
- Fixed bug #1891 : Comment on last USE statement causes false positive for PSR2.Namespaces.UseDeclaration.SpaceAfterLastUse
2161+
- Fixed bug [#1793] : PSR2 forcing exact indent for function call opening statements
2162+
- Fixed bug [#1803] : Squiz.WhiteSpace.ScopeKeywordSpacing removes member var name while fixing if no space after scope keyword
2163+
- Fixed bug [#1817] : Blank line not enforced after control structure if comment on same line as closing brace
2164+
- Fixed bug [#1827] : A phpcs:enable comment is not tokenized correctly if it is outside a phpcs:disable block
2165+
- Thanks to [Juliette Reinders Folmer][@jrfnl] for the patch
2166+
- Fixed bug [#1828] : Squiz.WhiteSpace.SuperfluousWhiteSpace ignoreBlankLines property ignores whitespace after single line comments
2167+
- Thanks to [Juliette Reinders Folmer][@jrfnl] for the patch
2168+
- Fixed bug [#1840] : When a comment has too many asterisks, phpcbf gives FAILED TO FIX error
2169+
- Fixed bug [#1867] : Can't use phpcs:ignore where the next line is HTML
2170+
- Fixed bug [#1870] : Invalid warning in multiple assignments alignment with closure or anon class
2171+
- Fixed bug [#1890] : Incorrect Squiz.WhiteSpace.ControlStructureSpacing.NoLineAfterClose error between catch and finally statements
2172+
- Fixed bug [#1891] : Comment on last USE statement causes false positive for PSR2.Namespaces.UseDeclaration.SpaceAfterLastUse
21732173
- Thanks to [Matt Coleman][@iammattcoleman], [Daniel Hensby][@dhensby], and [Juliette Reinders Folmer][@jrfnl] for the patch
2174-
- Fixed bug #1901 : Fixed PHPCS annotations in multi-line tab-indented comments + not ignoring whole line for phpcs:set
2174+
- Fixed bug [#1901] : Fixed PHPCS annotations in multi-line tab-indented comments + not ignoring whole line for phpcs:set
21752175
- Thanks to [Juliette Reinders Folmer][@jrfnl] for the patch
21762176

2177+
[#1793]: https://github.com/squizlabs/PHP_CodeSniffer/issues/1793
2178+
[#1803]: https://github.com/squizlabs/PHP_CodeSniffer/issues/1803
2179+
[#1817]: https://github.com/squizlabs/PHP_CodeSniffer/issues/1817
2180+
[#1827]: https://github.com/squizlabs/PHP_CodeSniffer/pull/1827
2181+
[#1828]: https://github.com/squizlabs/PHP_CodeSniffer/pull/1828
2182+
[#1840]: https://github.com/squizlabs/PHP_CodeSniffer/issues/1840
2183+
[#1867]: https://github.com/squizlabs/PHP_CodeSniffer/issues/1867
2184+
[#1870]: https://github.com/squizlabs/PHP_CodeSniffer/issues/1870
2185+
[#1890]: https://github.com/squizlabs/PHP_CodeSniffer/issues/1890
2186+
[#1891]: https://github.com/squizlabs/PHP_CodeSniffer/issues/1891
2187+
[#1901]: https://github.com/squizlabs/PHP_CodeSniffer/pull/1901
2188+
21772189
## [3.2.2] - 2017-12-20
21782190
### Changed
21792191
- Disabled STDIN detection on Windows
21802192
- This fixes a problem with IDE plugins (e.g., PHPStorm) hanging on Windows
21812193

21822194
## [3.2.1] - 2017-12-18
21832195
### Changed
2184-
- Empty diffs are no longer followed by a newline character (request #1781)
2196+
- Empty diffs are no longer followed by a newline character (request [#1781])
21852197
- Generic.Functions.OpeningFunctionBraceKernighanRitchie no longer complains when the open brace is followed by a close tag
21862198
- This makes the sniff more useful when used in templates
21872199
- Thanks to [Joseph Zidell][@josephzidell] for the patch
21882200

21892201
### Fixed
21902202
- Fixed problems with some scripts and plugins waiting for STDIN
21912203
- This was a notable problem with IDE plugins (e.g., PHPStorm) and build systems
2192-
- Fixed bug #1782 : Incorrect detection of operator in ternary + anonymous function
2204+
- Fixed bug [#1782] : Incorrect detection of operator in ternary + anonymous function
2205+
2206+
[#1781]: https://github.com/squizlabs/PHP_CodeSniffer/issues/1781
2207+
[#1782]: https://github.com/squizlabs/PHP_CodeSniffer/issues/1782
21932208

21942209
## [3.2.0] - 2017-12-13
21952210
### Deprecated
@@ -2212,7 +2227,7 @@ Additionally, thanks to [Alexander Turek][@derrabus] for consulting on the repo
22122227
- phpcs:set has the token T_PHPCS_SET
22132228

22142229
### Changed
2215-
- The phpcs:disable and phpcs:ignore comments can now selectively ignore specific sniffs (request #604)
2230+
- The phpcs:disable and phpcs:ignore comments can now selectively ignore specific sniffs (request [#604])
22162231
- E.g., phpcs:disable Generic.Commenting.Todo.Found for a specific message
22172232
- E.g., phpcs:disable Generic.Commenting.Todo for a whole sniff
22182233
- E.g., phpcs:disable Generic.Commenting for a whole category of sniffs
@@ -2234,7 +2249,7 @@ Additionally, thanks to [Alexander Turek][@derrabus] for consulting on the repo
22342249
- Thanks to [Juliette Reinders Folmer][@jrfnl] for the patch
22352250
- Added phpcs.xsd to allow validation of ruleset XML files
22362251
- Thanks to [Renaat De Muynck][@renaatdemuynck] for the contribution
2237-
- File paths specified using --stdin-path can now point to fake file locations (request #1488)
2252+
- File paths specified using --stdin-path can now point to fake file locations (request [#1488])
22382253
- Previously, STDIN files using fake file paths were excluded from checking
22392254
- Setting an empty basepath (--basepath=) on the CLI will now clear a basepath set directly in a ruleset
22402255
- Thanks to [Xaver Loppenstedt][@xalopp] for the patch
@@ -2295,23 +2310,41 @@ Additionally, thanks to [Alexander Turek][@derrabus] for consulting on the repo
22952310
- Thanks to [Juliette Reinders Folmer][@jrfnl] for the patch
22962311

22972312
### Fixed
2298-
- Fixed bug #1462 : Error processing cyrillic strings in Tokenizer
2299-
- Fixed bug #1573 : Squiz.WhiteSpace.LanguageConstructSpacing does not properly check for tabs and newlines
2313+
- Fixed bug [#1462] : Error processing cyrillic strings in Tokenizer
2314+
- Fixed bug [#1573] : Squiz.WhiteSpace.LanguageConstructSpacing does not properly check for tabs and newlines
23002315
- Thanks to [Michał Bundyra][@michalbundyra] for the patch
2301-
- Fixed bug #1590 : InlineControlStructure CBF issue while adding braces to an if thats returning a nested function
2302-
- Fixed bug #1718 : Unclosed strings at EOF sometimes tokenized as T_WHITESPACE by the JS tokenizer
2303-
- Fixed bug #1731 : Directory exclusions do not work as expected when a single file name is passed to phpcs
2304-
- Fixed bug #1737 : Squiz.CSS.EmptyStyleDefinition sees comment as style definition and fails to report error
2305-
- Fixed bug #1746 : Very large reports can sometimes become garbled when using the parallel option
2306-
- Fixed bug #1747 : Squiz.Scope.StaticThisUsage incorrectly looking inside closures
2307-
- Fixed bug #1757 : Unknown type hint "object" in Squiz.Commenting.FunctionComment
2308-
- Fixed bug #1758 : PHPCS gets stuck creating file list when processing circular symlinks
2309-
- Fixed bug #1761 : Generic.WhiteSpace.ScopeIndent error on multi-line function call with static closure argument
2310-
- Fixed bug #1762 : Generic.WhiteSpace.Disallow[Space/Tab]Indent not inspecting content before open tag
2311-
- Thanks to [Juliette Reinders Folmer][@jrfnl] for the patch
2312-
- Fixed bug #1769 : Custom "define" function triggers a warning about declaring new symbols
2313-
- Fixed bug #1776 : Squiz.Scope.StaticThisUsage incorrectly looking inside anon classes
2314-
- Fixed bug #1777 : Generic.WhiteSpace.ScopeIndent incorrect indent errors when self called function proceeded by comment
2316+
- Fixed bug [#1590] : InlineControlStructure CBF issue while adding braces to an if that's returning a nested function
2317+
- Fixed bug [#1718] : Unclosed strings at EOF sometimes tokenized as T_WHITESPACE by the JS tokenizer
2318+
- Fixed bug [#1731] : Directory exclusions do not work as expected when a single file name is passed to phpcs
2319+
- Fixed bug [#1737] : Squiz.CSS.EmptyStyleDefinition sees comment as style definition and fails to report error
2320+
- Fixed bug [#1746] : Very large reports can sometimes become garbled when using the parallel option
2321+
- Fixed bug [#1747] : Squiz.Scope.StaticThisUsage incorrectly looking inside closures
2322+
- Fixed bug [#1757] : Unknown type hint "object" in Squiz.Commenting.FunctionComment
2323+
- Fixed bug [#1758] : PHPCS gets stuck creating file list when processing circular symlinks
2324+
- Fixed bug [#1761] : Generic.WhiteSpace.ScopeIndent error on multi-line function call with static closure argument
2325+
- Fixed bug [#1762] : Generic.WhiteSpace.Disallow[Space/Tab]Indent not inspecting content before open tag
2326+
- Thanks to [Juliette Reinders Folmer][@jrfnl] for the patch
2327+
- Fixed bug [#1769] : Custom "define" function triggers a warning about declaring new symbols
2328+
- Fixed bug [#1776] : Squiz.Scope.StaticThisUsage incorrectly looking inside anon classes
2329+
- Fixed bug [#1777] : Generic.WhiteSpace.ScopeIndent incorrect indent errors when self called function proceeded by comment
2330+
2331+
[#604]: https://github.com/squizlabs/PHP_CodeSniffer/issues/604
2332+
[#1488]: https://github.com/squizlabs/PHP_CodeSniffer/issues/1488
2333+
[#1462]: https://github.com/squizlabs/PHP_CodeSniffer/issues/1462
2334+
[#1573]: https://github.com/squizlabs/PHP_CodeSniffer/pull/1573
2335+
[#1590]: https://github.com/squizlabs/PHP_CodeSniffer/issues/1590
2336+
[#1718]: https://github.com/squizlabs/PHP_CodeSniffer/issues/1718
2337+
[#1731]: https://github.com/squizlabs/PHP_CodeSniffer/issues/1731
2338+
[#1737]: https://github.com/squizlabs/PHP_CodeSniffer/pull/1737
2339+
[#1746]: https://github.com/squizlabs/PHP_CodeSniffer/issues/1746
2340+
[#1747]: https://github.com/squizlabs/PHP_CodeSniffer/issues/1747
2341+
[#1757]: https://github.com/squizlabs/PHP_CodeSniffer/issues/1757
2342+
[#1758]: https://github.com/squizlabs/PHP_CodeSniffer/issues/1758
2343+
[#1761]: https://github.com/squizlabs/PHP_CodeSniffer/issues/1761
2344+
[#1762]: https://github.com/squizlabs/PHP_CodeSniffer/pull/1762
2345+
[#1769]: https://github.com/squizlabs/PHP_CodeSniffer/issues/1769
2346+
[#1776]: https://github.com/squizlabs/PHP_CodeSniffer/issues/1776
2347+
[#1777]: https://github.com/squizlabs/PHP_CodeSniffer/issues/1777
23152348

23162349
## [3.1.1] - 2017-10-17
23172350
### Changed

0 commit comments

Comments
 (0)