Skip to content

Commit 1e2ed45

Browse files
rodrigoprimojrfnl
authored andcommitted
Add links to all issues in the 2.7.1 and 2.7.0 sections of the changelog
Also fixes a typo
1 parent a05f8ba commit 1e2ed45

File tree

1 file changed

+75
-37
lines changed

1 file changed

+75
-37
lines changed

CHANGELOG.md

Lines changed: 75 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -3117,34 +3117,51 @@ Additionally, thanks to [Alexander Turek][@derrabus] for consulting on the repo
31173117
- Thanks to [Sergey][@sserbin] for the patch
31183118

31193119
### Fixed
3120-
- Fixed bug #1135 : PEAR.ControlStructures.MultiLineCondition.CloseBracketNewLine not detected if preceded by multiline function call
3121-
- Fixed bug #1138 : PEAR.ControlStructures.MultiLineCondition.Alignment not detected if closing brace is first token on line
3122-
- Fixed bug #1141 : Sniffs that check EOF newlines don't detect newlines properly when the last token is a doc block
3123-
- Fixed bug #1150 : Squiz.Strings.EchoedStrings does not properly fix bracketed statements
3124-
- Fixed bug #1156 : Generic.Formatting.DisallowMultipleStatements errors when multiple short echo tags are used on the same line
3120+
- Fixed bug [#1135] : PEAR.ControlStructures.MultiLineCondition.CloseBracketNewLine not detected if preceded by multiline function call
3121+
- Fixed bug [#1138] : PEAR.ControlStructures.MultiLineCondition.Alignment not detected if closing brace is first token on line
3122+
- Fixed bug [#1141] : Sniffs that check EOF newlines don't detect newlines properly when the last token is a doc block
3123+
- Fixed bug [#1150] : Squiz.Strings.EchoedStrings does not properly fix bracketed statements
3124+
- Fixed bug [#1156] : Generic.Formatting.DisallowMultipleStatements errors when multiple short echo tags are used on the same line
31253125
- Thanks to [Nikola Kovacs][@nkovacs] for the patch
3126-
- Fixed bug #1161 : Absolute report path is treated like a relative path if it also exists within the current directory
3127-
- Fixed bug #1170 : Javascript regular expression literal not recognized after comparison operator
3128-
- Fixed bug #1180 : Class constant named FUNCTION is incorrectly tokenized
3129-
- Fixed bug #1181 : Squiz.Operators.IncrementDecrementUsage.NoBrackets false positive when incrementing properties
3126+
- Fixed bug [#1161] : Absolute report path is treated like a relative path if it also exists within the current directory
3127+
- Fixed bug [#1170] : Javascript regular expression literal not recognized after comparison operator
3128+
- Fixed bug [#1180] : Class constant named FUNCTION is incorrectly tokenized
3129+
- Fixed bug [#1181] : Squiz.Operators.IncrementDecrementUsage.NoBrackets false positive when incrementing properties
31303130
- Thanks to [Jürgen Henge-Ernst][@hernst42] for the patch
3131-
- Fixed bug #1188 : Generic.WhiteSpace.ScopeIndent issues with inline HTML and multi-line function signatures
3132-
- Fixed bug #1190 : phpcbf on if/else with trailing comment generates erroneous code
3133-
- Fixed bug #1191 : Javascript sniffer fails with function called "Function"
3134-
- Fixed bug #1203 : Inconsistent behavior of PHP_CodeSniffer_File::findEndOfStatement
3135-
- Fixed bug #1218 : CASE conditions using class constants named NAMESPACE/INTERFACE/TRAIT etc are incorrectly tokenized
3136-
- Fixed bug #1221 : Indented function call with multiple closure arguments can cause scope indent error
3137-
- Fixed bug #1224 : PHPCBF fails to fix code with heredoc/nowdoc as first argument to a function
3131+
- Fixed bug [#1188] : Generic.WhiteSpace.ScopeIndent issues with inline HTML and multi-line function signatures
3132+
- Fixed bug [#1190] : phpcbf on if/else with trailing comment generates erroneous code
3133+
- Fixed bug [#1191] : Javascript sniffer fails with function called "Function"
3134+
- Fixed bug [#1203] : Inconsistent behavior of PHP_CodeSniffer_File::findEndOfStatement
3135+
- Fixed bug [#1218] : CASE conditions using class constants named NAMESPACE/INTERFACE/TRAIT etc are incorrectly tokenized
3136+
- Fixed bug [#1221] : Indented function call with multiple closure arguments can cause scope indent error
3137+
- Fixed bug [#1224] : PHPCBF fails to fix code with heredoc/nowdoc as first argument to a function
3138+
3139+
[#1135]: https://github.com/squizlabs/PHP_CodeSniffer/issues/1135
3140+
[#1138]: https://github.com/squizlabs/PHP_CodeSniffer/issues/1138
3141+
[#1141]: https://github.com/squizlabs/PHP_CodeSniffer/issues/1141
3142+
[#1150]: https://github.com/squizlabs/PHP_CodeSniffer/issues/1150
3143+
[#1156]: https://github.com/squizlabs/PHP_CodeSniffer/issues/1156
3144+
[#1161]: https://github.com/squizlabs/PHP_CodeSniffer/issues/1161
3145+
[#1170]: https://github.com/squizlabs/PHP_CodeSniffer/issues/1170
3146+
[#1180]: https://github.com/squizlabs/PHP_CodeSniffer/issues/1180
3147+
[#1181]: https://github.com/squizlabs/PHP_CodeSniffer/issues/1181
3148+
[#1188]: https://github.com/squizlabs/PHP_CodeSniffer/issues/1188
3149+
[#1190]: https://github.com/squizlabs/PHP_CodeSniffer/issues/1190
3150+
[#1191]: https://github.com/squizlabs/PHP_CodeSniffer/issues/1191
3151+
[#1203]: https://github.com/squizlabs/PHP_CodeSniffer/issues/1203
3152+
[#1218]: https://github.com/squizlabs/PHP_CodeSniffer/issues/1218
3153+
[#1221]: https://github.com/squizlabs/PHP_CodeSniffer/issues/1221
3154+
[#1224]: https://github.com/squizlabs/PHP_CodeSniffer/issues/1224
31383155

31393156
## [2.7.0] - 2016-09-02
31403157
### Changed
31413158
- Added --file-list command line argument to allow a list of files and directories to be specified in an external file
3142-
- Useful is you have a generated list of files to check that would be too long for the command line
3159+
- Useful if you have a generated list of files to check that would be too long for the command line
31433160
- File and directory paths are listed one per line
31443161
- Usage is: phpcs --file-list=/path/to/file-list ...
31453162
- Thanks to [Blotzu][@andrei-propertyguru] for the patch
31463163
- Values set using @codingStandardsChangeSetting comments can now contain spaces
3147-
- Sniff unit tests can now specify a list of test files instead of letting the runner pick them (request #1078)
3164+
- Sniff unit tests can now specify a list of test files instead of letting the runner pick them (request [#1078])
31483165
- Useful if a sniff needs to exclude files based on the environment, or is checking filenames
31493166
- Override the new getTestFiles() method to specify your own list of test files
31503167
- Generic.Functions.OpeningFunctionBraceKernighanRitchie now ignores spacing for function return types
@@ -3169,7 +3186,7 @@ Additionally, thanks to [Alexander Turek][@derrabus] for consulting on the repo
31693186
- Thanks to [Juliette Reinders Folmer][@jrfnl] for the patch
31703187
- Added Generic.PHP.DisallowAlternativePHPTags to ban the use of alternate PHP tags
31713188
- Thanks to [Juliette Reinders Folmer][@jrfnl] for the patch
3172-
- Squiz.WhiteSpace.LanguageConstructSpacing no longer checks for spaces if parenthesis are being used (request #1062)
3189+
- Squiz.WhiteSpace.LanguageConstructSpacing no longer checks for spaces if parenthesis are being used (request [#1062])
31733190
- Makes this sniff more compatible with those that check parenthesis spacing of function calls
31743191
- Squiz.WhiteSpace.ObjectOperatorSpacing now has a setting to ignore newline characters around object operators
31753192
- Default remains FALSE, so newlines are not allowed
@@ -3183,8 +3200,8 @@ Additionally, thanks to [Alexander Turek][@derrabus] for consulting on the repo
31833200
- Thanks to [Walt Sorensen][@photodude] for the patch
31843201
- PHPCBF is now able to fix Generic.PHP.DisallowShortOpenTag
31853202
- Thanks to [Juliette Reinders Folmer][@jrfnl] for the patch
3186-
- Improved the formatting of the end brace when auto fixing InlineControlStructure errors (request #1121)
3187-
- Generic.Functions.OpeningFunctionBraceKernighanRitchie.BraceOnNewLine fix no longer leaves blank line after brace (request #1085)
3203+
- Improved the formatting of the end brace when auto fixing InlineControlStructure errors (request [#1121])
3204+
- Generic.Functions.OpeningFunctionBraceKernighanRitchie.BraceOnNewLine fix no longer leaves blank line after brace (request [#1085])
31883205
- Generic UpperCaseConstantNameSniff now allows lowercase namespaces in constant definitions
31893206
- Thanks to [Daniel Schniepp][@dschniepp] for the patch
31903207
- Squiz DoubleQuoteUsageSniff is now more tolerant of syntax errors caused by mismatched string tokens
@@ -3195,26 +3212,47 @@ Additionally, thanks to [Alexander Turek][@derrabus] for consulting on the repo
31953212
- Thanks to [Finlay Beaton][@ofbeaton] for the patch
31963213

31973214
### Fixed
3198-
- Fixed bug #985 : Duplicate class definition detection generates false-positives in media queries
3215+
- Fixed bug [#985] : Duplicate class definition detection generates false-positives in media queries
31993216
- Thanks to [Raphael Horber][@rhorber] for the patch
3200-
- Fixed bug #1014 : Squiz VariableCommentSniff doesn't always detect a missing comment
3201-
- Fixed bug #1066 : Undefined index: quiet in CLI.php during unit test run with -v command line arg
3202-
- Fixed bug #1072 : Squiz.SelfMemberReference.NotUsed not detected if leading namespace separator is used
3203-
- Fixed bug #1089 : Rulesets cannot be loaded if the path contains urlencoded characters
3204-
- Fixed bug #1091 : PEAR and Squiz FunctionComment sniffs throw errors for some invalid @param line formats
3205-
- Fixed bug #1092 : PEAR.Functions.ValidDefaultValue should not flag type hinted methods with a NULL default argument
3206-
- Fixed bug #1095 : Generic LineEndings sniff replaces tabs with spaces with --tab-width is set
3207-
- Fixed bug #1096 : Squiz FunctionDeclarationArgumentSpacing gives incorrect error/fix when variadic operator is followed by a space
3208-
- Fixed bug #1099 : Group use declarations are incorrectly fixed by the PSR2 standard
3217+
- Fixed bug [#1014] : Squiz VariableCommentSniff doesn't always detect a missing comment
3218+
- Fixed bug [#1066] : Undefined index: quiet in CLI.php during unit test run with -v command line arg
3219+
- Fixed bug [#1072] : Squiz.SelfMemberReference.NotUsed not detected if leading namespace separator is used
3220+
- Fixed bug [#1089] : Rulesets cannot be loaded if the path contains urlencoded characters
3221+
- Fixed bug [#1091] : PEAR and Squiz FunctionComment sniffs throw errors for some invalid @param line formats
3222+
- Fixed bug [#1092] : PEAR.Functions.ValidDefaultValue should not flag type hinted methods with a NULL default argument
3223+
- Fixed bug [#1095] : Generic LineEndings sniff replaces tabs with spaces with --tab-width is set
3224+
- Fixed bug [#1096] : Squiz FunctionDeclarationArgumentSpacing gives incorrect error/fix when variadic operator is followed by a space
3225+
- Fixed bug [#1099] : Group use declarations are incorrectly fixed by the PSR2 standard
32093226
- Thanks to [Jason McCreary][@jasonmccreary] for the patch
3210-
- Fixed bug #1101 : Incorrect indent errors when breaking out of PHP inside an IF statement
3211-
- Fixed bug #1102 : Squiz.Formatting.OperatorBracket.MissingBrackets faulty bracketing fix
3212-
- Fixed bug #1109 : Wrong scope indent reported in anonymous class
3213-
- Fixed bug #1112 : File docblock not recognized when require_once follows it
3214-
- Fixed bug #1120 : InlineControlStructureSniff does not handle auto-fixing for control structures that make function calls
3215-
- Fixed bug #1124 : Squiz.Operators.ComparisonOperatorUsage does not detect bracketed conditions for inline IF statements
3227+
- Fixed bug [#1101] : Incorrect indent errors when breaking out of PHP inside an IF statement
3228+
- Fixed bug [#1102] : Squiz.Formatting.OperatorBracket.MissingBrackets faulty bracketing fix
3229+
- Fixed bug [#1109] : Wrong scope indent reported in anonymous class
3230+
- Fixed bug [#1112] : File docblock not recognized when require_once follows it
3231+
- Fixed bug [#1120] : InlineControlStructureSniff does not handle auto-fixing for control structures that make function calls
3232+
- Fixed bug [#1124] : Squiz.Operators.ComparisonOperatorUsage does not detect bracketed conditions for inline IF statements
32163233
- Thanks to [Raphael Horber][@rhorber] for the patch
32173234

3235+
[#985]: https://github.com/squizlabs/PHP_CodeSniffer/issues/985
3236+
[#1014]: https://github.com/squizlabs/PHP_CodeSniffer/issues/1014
3237+
[#1062]: https://github.com/squizlabs/PHP_CodeSniffer/issues/1062
3238+
[#1066]: https://github.com/squizlabs/PHP_CodeSniffer/issues/1066
3239+
[#1072]: https://github.com/squizlabs/PHP_CodeSniffer/issues/1072
3240+
[#1078]: https://github.com/squizlabs/PHP_CodeSniffer/issues/1078
3241+
[#1085]: https://github.com/squizlabs/PHP_CodeSniffer/issues/1085
3242+
[#1089]: https://github.com/squizlabs/PHP_CodeSniffer/pull/1089
3243+
[#1091]: https://github.com/squizlabs/PHP_CodeSniffer/issues/1091
3244+
[#1092]: https://github.com/squizlabs/PHP_CodeSniffer/issues/1092
3245+
[#1095]: https://github.com/squizlabs/PHP_CodeSniffer/issues/1095
3246+
[#1096]: https://github.com/squizlabs/PHP_CodeSniffer/pull/1096
3247+
[#1099]: https://github.com/squizlabs/PHP_CodeSniffer/pull/1099
3248+
[#1101]: https://github.com/squizlabs/PHP_CodeSniffer/issues/1101
3249+
[#1102]: https://github.com/squizlabs/PHP_CodeSniffer/issues/1102
3250+
[#1109]: https://github.com/squizlabs/PHP_CodeSniffer/issues/1109
3251+
[#1112]: https://github.com/squizlabs/PHP_CodeSniffer/issues/1112
3252+
[#1120]: https://github.com/squizlabs/PHP_CodeSniffer/issues/1120
3253+
[#1121]: https://github.com/squizlabs/PHP_CodeSniffer/issues/1121
3254+
[#1124]: https://github.com/squizlabs/PHP_CodeSniffer/issues/1124
3255+
32183256
## [2.6.2] - 2016-07-14
32193257
### Changed
32203258
- Added a new --exclude CLI argument to exclude a list of sniffs from checking and fixing (request #904)

0 commit comments

Comments
 (0)