Skip to content

Commit e92a86c

Browse files
committed
Add links to all issues in the 2.4.0 section of the changelog
1 parent 0eb29a9 commit e92a86c

File tree

1 file changed

+49
-24
lines changed

1 file changed

+49
-24
lines changed

CHANGELOG.md

Lines changed: 49 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -3424,7 +3424,7 @@ Additionally, thanks to [Alexander Turek][@derrabus] for consulting on the repo
34243424
- Anonymous classes are now tokenized as T_ANON_CLASS and ignored by normal class sniffs
34253425
- Added support for PHP 7 function return type declarations
34263426
- Return types are now tokenized as T_RETURN_TYPE
3427-
- Fixed tokenizing of the XOR operator, which was incorrectly identified as a power operator (bug #765)
3427+
- Fixed tokenizing of the XOR operator, which was incorrectly identified as a power operator (bug [#765])
34283428
- The T_POWER token has been removed and replaced by the T_BITWISE_XOR token
34293429
- The PHP-supplied T_POW token has been replicated for PHP versions before 5.6
34303430
- Traits are now tokenized in PHP versions before 5.4 to make testing easier
@@ -3444,39 +3444,64 @@ Additionally, thanks to [Alexander Turek][@derrabus] for consulting on the repo
34443444
- Generic InlineControlStructureSniff now correctly fixes ELSEIF statements
34453445

34463446
### Fixed
3447-
- Fixed bug #601 : Expected type hint int[]; found array in Squiz FunctionCommentSniff
3447+
- Fixed bug [#601] : Expected type hint int[]; found array in Squiz FunctionCommentSniff
34483448
- Thanks to [Scato Eggen][@scato] for the patch
3449-
- Fixed bug #625 : Consider working around T_HASHBANG in HHVM 3.5.x and 3.6.x
3449+
- Fixed bug [#625] : Consider working around T_HASHBANG in HHVM 3.5.x and 3.6.x
34503450
- Thanks to [Kunal Mehta][@legoktm] for the patch
3451-
- Fixed bug #692 : Comment tokenizer can break when using mbstring function overloading
3452-
- Fixed bug #694 : Long sniff codes can cause PHP warnings in source report when showing error codes
3453-
- Fixed bug #698 : PSR2.Methods.FunctionCallSignature.Indent forces exact indent of ternary operator parameters
3454-
- Fixed bug #704 : ScopeIndent can fail when an opening parenthesis is on a line by itself
3455-
- Fixed bug #707 : Squiz MethodScopeSniff doesn't handle nested functions
3456-
- Fixed bug #709 : Squiz.Sniffs.Whitespace.ScopeClosingBraceSniff marking indented endif in mixed inline HTML blocks
3457-
- Fixed bug #711 : Sniffing from STDIN shows Generic.Files.LowercasedFilename.NotFound error
3458-
- Fixed bug #714 : Fixes suppression of errors using docblocks
3451+
- Fixed bug [#692] : Comment tokenizer can break when using mbstring function overloading
3452+
- Fixed bug [#694] : Long sniff codes can cause PHP warnings in source report when showing error codes
3453+
- Fixed bug [#698] : PSR2.Methods.FunctionCallSignature.Indent forces exact indent of ternary operator parameters
3454+
- Fixed bug [#704] : ScopeIndent can fail when an opening parenthesis is on a line by itself
3455+
- Fixed bug [#707] : Squiz MethodScopeSniff doesn't handle nested functions
3456+
- Fixed bug [#709] : Squiz.Sniffs.Whitespace.ScopeClosingBraceSniff marking indented endif in mixed inline HTML blocks
3457+
- Fixed bug [#711] : Sniffing from STDIN shows Generic.Files.LowercasedFilename.NotFound error
3458+
- Fixed bug [#714] : Fixes suppression of errors using docblocks
34593459
- Thanks to [Andrzej Karmazyn][@akarmazyn] for the patch
3460-
- Fixed bug #716 : JSON report is invalid when messages contain newlines or tabs
3460+
- Fixed bug [#716] : JSON report is invalid when messages contain newlines or tabs
34613461
- Thanks to [Pieter Frenssen][@pfrenssen] for the patch
3462-
- Fixed bug #723 : ScopeIndent can fail when multiple array closers are on the same line
3463-
- Fixed bug #730 : ScopeIndent can fail when a short array opening square bracket is on a line by itself
3464-
- Fixed bug #732 : PHP Notice if @package name is made up of all invalid characters
3462+
- Fixed bug [#723] : ScopeIndent can fail when multiple array closers are on the same line
3463+
- Fixed bug [#730] : ScopeIndent can fail when a short array opening square bracket is on a line by itself
3464+
- Fixed bug [#732] : PHP Notice if @package name is made up of all invalid characters
34653465
- Adds new error code PEAR.Commenting.FileComment.InvalidPackageValue
3466-
- Fixed bug #748 : Auto fix for Squiz.Commenting.BlockComment.WrongEnd is incorrect
3466+
- Fixed bug [#748] : Auto fix for Squiz.Commenting.BlockComment.WrongEnd is incorrect
34673467
- Thanks to [J.D. Grimes][@JDGrimes] for the patch
3468-
- Fixed bug #753 : PSR2 standard shouldn't require space after USE block when next code is a closing tag
3469-
- Fixed bug #768 : PEAR FunctionCallSignature sniff forbids comments after opening parenthesis of a multiline call
3470-
- Fixed bug #769 : Incorrect detection of variable reference operator when used with short array syntax
3468+
- Fixed bug [#753] : PSR2 standard shouldn't require space after USE block when next code is a closing tag
3469+
- Fixed bug [#768] : PEAR FunctionCallSignature sniff forbids comments after opening parenthesis of a multiline call
3470+
- Fixed bug [#769] : Incorrect detection of variable reference operator when used with short array syntax
34713471
- Thanks to [Klaus Purer][@klausi] for the patch
3472-
- Fixed bug #772 : Syntax error when using PHPCBF on alternative style foreach loops
3473-
- Fixed bug #773 : Syntax error when stripping trailing PHP close tag and previous statement has no semicolon
3474-
- Fixed bug #778 : PHPCBF creates invalid PHP for inline FOREACH containing multiple control structures
3475-
- Fixed bug #781 : Incorrect checking for PHP7 return types on multi-line function declarations
3476-
- Fixed bug #782 : Conditional function declarations cause fixing conflicts in Squiz standard
3472+
- Fixed bug [#772] : Syntax error when using PHPCBF on alternative style foreach loops
3473+
- Fixed bug [#773] : Syntax error when stripping trailing PHP close tag and previous statement has no semicolon
3474+
- Fixed bug [#778] : PHPCBF creates invalid PHP for inline FOREACH containing multiple control structures
3475+
- Fixed bug [#781] : Incorrect checking for PHP7 return types on multi-line function declarations
3476+
- Fixed bug [#782] : Conditional function declarations cause fixing conflicts in Squiz standard
34773477
- Squiz.ControlStructures.ControlSignature no longer enforces a single newline after open brace
34783478
- Squiz.WhiteSpace.ControlStructureSpacing can be used to check spacing at the start/end of control structures
34793479

3480+
[#601]: https://github.com/squizlabs/PHP_CodeSniffer/issues/601
3481+
[#625]: https://github.com/squizlabs/PHP_CodeSniffer/issues/625
3482+
[#692]: https://github.com/squizlabs/PHP_CodeSniffer/pull/692
3483+
[#694]: https://github.com/squizlabs/PHP_CodeSniffer/issues/694
3484+
[#698]: https://github.com/squizlabs/PHP_CodeSniffer/issues/698
3485+
[#704]: https://github.com/squizlabs/PHP_CodeSniffer/issues/704
3486+
[#707]: https://github.com/squizlabs/PHP_CodeSniffer/pull/707
3487+
[#709]: https://github.com/squizlabs/PHP_CodeSniffer/issues/709
3488+
[#711]: https://github.com/squizlabs/PHP_CodeSniffer/issues/711
3489+
[#714]: https://github.com/squizlabs/PHP_CodeSniffer/pull/714
3490+
[#716]: https://github.com/squizlabs/PHP_CodeSniffer/pull/716
3491+
[#723]: https://github.com/squizlabs/PHP_CodeSniffer/issues/723
3492+
[#730]: https://github.com/squizlabs/PHP_CodeSniffer/pull/730
3493+
[#732]: https://github.com/squizlabs/PHP_CodeSniffer/pull/732
3494+
[#748]: https://github.com/squizlabs/PHP_CodeSniffer/pull/748
3495+
[#753]: https://github.com/squizlabs/PHP_CodeSniffer/issues/753
3496+
[#765]: https://github.com/squizlabs/PHP_CodeSniffer/issues/765
3497+
[#768]: https://github.com/squizlabs/PHP_CodeSniffer/issues/768
3498+
[#769]: https://github.com/squizlabs/PHP_CodeSniffer/pull/769
3499+
[#772]: https://github.com/squizlabs/PHP_CodeSniffer/issues/772
3500+
[#773]: https://github.com/squizlabs/PHP_CodeSniffer/issues/773
3501+
[#778]: https://github.com/squizlabs/PHP_CodeSniffer/issues/778
3502+
[#781]: https://github.com/squizlabs/PHP_CodeSniffer/issues/781
3503+
[#782]: https://github.com/squizlabs/PHP_CodeSniffer/issues/782
3504+
34803505
## [2.3.4] - 2015-09-09
34813506
### Changed
34823507
- JSON report format now includes the fixable status for each error message and the total number of fixable errors

0 commit comments

Comments
 (0)