Skip to content

Commit c588440

Browse files
rodrigoprimojrfnl
authored andcommitted
Add links to all issues in the 2.5.1 and 2.5.0 sections of the changelog
Also fixes a typo
1 parent 484605e commit c588440

File tree

1 file changed

+78
-38
lines changed

1 file changed

+78
-38
lines changed

CHANGELOG.md

+78-38
Original file line numberDiff line numberDiff line change
@@ -3454,51 +3454,77 @@ Additionally, thanks to [Alexander Turek][@derrabus] for consulting on the repo
34543454
- Squiz ComparisonOperatorUsageSniff no longer hangs on JS FOR loops that don't use semicolons
34553455
- PHP_CodesSniffer now includes the composer autoload.php file, if there is one
34563456
- Thanks to [Klaus Purer][@klausi] for the patch
3457-
- Added error Squiz.Commenting.FunctionComment.ScalarTypeHintMissing for PHP7 only (request #858)
3457+
- Added error Squiz.Commenting.FunctionComment.ScalarTypeHintMissing for PHP7 only (request [#858])
34583458
- These errors were previously reported as Squiz.Commenting.FunctionComment.TypeHintMissing on PHP7
34593459
- Disable this error message in a ruleset.xml file if your code needs to run on both PHP5 and PHP7
34603460
- The PHP 5.6 __debugInfo magic method no longer produces naming convention errors
34613461
- Thanks to [Michael Nowack][@syranez] for the patch
3462-
- PEAR and Squiz FunctionComment sniffs now support variadic functions (request #841)
3462+
- PEAR and Squiz FunctionComment sniffs now support variadic functions (request [#841])
34633463

34643464
### Fixed
3465-
- Fixed bug #622 : Wrong detection of Squiz.CSS.DuplicateStyleDefinition with media queries
3466-
- Fixed bug #752 : The missing exception error is reported in first found DocBlock
3467-
- Fixed bug #794 : PSR2 MultiLineFunctionDeclaration forbids comments after opening parenthesis of a multiline call
3468-
- Fixed bug #820 : PEAR/PSR2 FunctionCallSignature sniffs suggest wrong indent when there are multiple arguments on a line
3469-
- Fixed bug #822 : Ruleset hard-coded file paths are not used if not running from the same directory as the ruleset
3470-
- Fixed bug #825 : FunctionCallArgumentSpacing sniff complains about more than one space before comment in multi-line function call
3471-
- Fixed bug #828 : Null classname is tokenized as T_NULL instead of T_STRING
3472-
- Fixed bug #829 : Short array argument not fixed correctly when multiple function arguments are on the same line
3473-
- Fixed bug #831 : PHPCS freezes in an infinite loop under Windows if no standard is passed
3474-
- Fixed bug #832 : Tokenizer does not support context sensitive parsing
3465+
- Fixed bug [#622] : Wrong detection of Squiz.CSS.DuplicateStyleDefinition with media queries
3466+
- Fixed bug [#752] : The missing exception error is reported in first found DocBlock
3467+
- Fixed bug [#794] : PSR2 MultiLineFunctionDeclaration forbids comments after opening parenthesis of a multiline call
3468+
- Fixed bug [#820] : PEAR/PSR2 FunctionCallSignature sniffs suggest wrong indent when there are multiple arguments on a line
3469+
- Fixed bug [#822] : Ruleset hard-coded file paths are not used if not running from the same directory as the ruleset
3470+
- Fixed bug [#825] : FunctionCallArgumentSpacing sniff complains about more than one space before comment in multi-line function call
3471+
- Fixed bug [#828] : Null classname is tokenized as T_NULL instead of T_STRING
3472+
- Fixed bug [#829] : Short array argument not fixed correctly when multiple function arguments are on the same line
3473+
- Fixed bug [#831] : PHPCS freezes in an infinite loop under Windows if no standard is passed
3474+
- Fixed bug [#832] : Tokenizer does not support context sensitive parsing
34753475
- Thanks to [Jaroslav Hanslík][@kukulich] for the patch
3476-
- Fixed bug #835 : PEAR.Functions.FunctionCallSignature broken when closure uses return types
3477-
- Fixed bug #838 : CSS indentation fixer changes color codes
3476+
- Fixed bug [#835] : PEAR.Functions.FunctionCallSignature broken when closure uses return types
3477+
- Fixed bug [#838] : CSS indentation fixer changes color codes
34783478
- Thanks to [Klaus Purer][@klausi] for the patch
3479-
- Fixed bug #839 : "__()" method is marked as not camel caps
3479+
- Fixed bug [#839] : "__()" method is marked as not camel caps
34803480
- Thanks to [Tim Bezhashvyly][@tim-bezhashvyly] for the patch
3481-
- Fixed bug #852 : Generic.Commenting.DocComment not finding errors when long description is omitted
3482-
- Fixed bug #854 : Return typehints in interfaces are not reported as T_RETURN_TYPE
3481+
- Fixed bug [#852] : Generic.Commenting.DocComment not finding errors when long description is omitted
3482+
- Fixed bug [#854] : Return typehints in interfaces are not reported as T_RETURN_TYPE
34833483
- Thanks to [Jaroslav Hanslík][@kukulich] for the patch
3484-
- Fixed bug #855 : Capital letter detection for multibyte strings doesn't work correctly
3485-
- Fixed bug #857 : PSR2.ControlStructure.SwitchDeclaration shouldn't check indent of curly brace closers
3486-
- Fixed bug #859 : Switch statement indention issue when returning function call with closure
3487-
- Fixed bug #861 : Single-line arrays and function calls can generate incorrect indentation errors
3488-
- Fixed bug #867 : Squiz.Strings.DoubleQuoteUsage broken for some escape codes
3484+
- Fixed bug [#855] : Capital letter detection for multibyte strings doesn't work correctly
3485+
- Fixed bug [#857] : PSR2.ControlStructure.SwitchDeclaration shouldn't check indent of curly brace closers
3486+
- Fixed bug [#859] : Switch statement indention issue when returning function call with closure
3487+
- Fixed bug [#861] : Single-line arrays and function calls can generate incorrect indentation errors
3488+
- Fixed bug [#867] : Squiz.Strings.DoubleQuoteUsage broken for some escape codes
34893489
- Thanks to [Jack Blower][@ElvenSpellmaker] for the help with the fix
3490-
- Fixed bug #21005 : Incorrect indent detection when multiple properties are initialized to arrays
3491-
- Fixed bug #21010 : Incorrect missing colon detection in CSS when first style is not on new line
3492-
- Fixed bug #21011 : Incorrect error message text when newline found after opening brace
3490+
- Fixed bug [#21005] : Incorrect indent detection when multiple properties are initialized to arrays
3491+
- Fixed bug [#21010] : Incorrect missing colon detection in CSS when first style is not on new line
3492+
- Fixed bug [#21011] : Incorrect error message text when newline found after opening brace
3493+
3494+
[#622]: https://github.com/squizlabs/PHP_CodeSniffer/issues/622
3495+
[#752]: https://github.com/squizlabs/PHP_CodeSniffer/issues/752
3496+
[#794]: https://github.com/squizlabs/PHP_CodeSniffer/issues/794
3497+
[#820]: https://github.com/squizlabs/PHP_CodeSniffer/issues/820
3498+
[#822]: https://github.com/squizlabs/PHP_CodeSniffer/issues/822
3499+
[#825]: https://github.com/squizlabs/PHP_CodeSniffer/issues/825
3500+
[#828]: https://github.com/squizlabs/PHP_CodeSniffer/issues/828
3501+
[#829]: https://github.com/squizlabs/PHP_CodeSniffer/issues/829
3502+
[#831]: https://github.com/squizlabs/PHP_CodeSniffer/issues/831
3503+
[#832]: https://github.com/squizlabs/PHP_CodeSniffer/issues/832
3504+
[#835]: https://github.com/squizlabs/PHP_CodeSniffer/issues/835
3505+
[#838]: https://github.com/squizlabs/PHP_CodeSniffer/pull/838
3506+
[#839]: https://github.com/squizlabs/PHP_CodeSniffer/issues/839
3507+
[#841]: https://github.com/squizlabs/PHP_CodeSniffer/issues/841
3508+
[#852]: https://github.com/squizlabs/PHP_CodeSniffer/issues/852
3509+
[#854]: https://github.com/squizlabs/PHP_CodeSniffer/issues/854
3510+
[#855]: https://github.com/squizlabs/PHP_CodeSniffer/pull/855
3511+
[#857]: https://github.com/squizlabs/PHP_CodeSniffer/issues/857
3512+
[#858]: https://github.com/squizlabs/PHP_CodeSniffer/issues/858
3513+
[#859]: https://github.com/squizlabs/PHP_CodeSniffer/issues/859
3514+
[#861]: https://github.com/squizlabs/PHP_CodeSniffer/issues/861
3515+
[#867]: https://github.com/squizlabs/PHP_CodeSniffer/issues/867
3516+
[#21005]: https://pear.php.net/bugs/bug.php?id=21005
3517+
[#21010]: https://pear.php.net/bugs/bug.php?id=21010
3518+
[#21011]: https://pear.php.net/bugs/bug.php?id=21011
34933519

34943520
## [2.5.0] - 2015-12-11
34953521
### Changed
3496-
- PHPCS will now look for a phpcs.xml file in parent directories as well as the current directory (request #626)
3522+
- PHPCS will now look for a phpcs.xml file in parent directories as well as the current directory (request [#626])
34973523
- PHPCS will now use a phpcs.xml file even if files are specified on the command line
34983524
- This file is still only used if no standard is specified on the command line
3499-
- Added support for a phpcs.xml.dist file (request #583)
3525+
- Added support for a phpcs.xml.dist file (request [#583])
35003526
- If both a phpcs.xml and phpcs.xml.dist file are present, the phpcs.xml file will be used
3501-
- Added support for setting PHP ini values in ruleset.xml files (request #560)
3527+
- Added support for setting PHP ini values in ruleset.xml files (request [#560])
35023528
- Setting the value of the new ini tags to name="memory_limit" value="32M" is the same as -d memory_limit=32M
35033529
- Added support for one or more bootstrap files to be run before processing begins
35043530
- Use the --bootstrap=file,file,file command line argument to include bootstrap files
@@ -3509,16 +3535,30 @@ Additionally, thanks to [Alexander Turek][@derrabus] for consulting on the repo
35093535
- Thanks to [Arnout Boks][@aboks] for the patch
35103536

35113537
### Fixed
3512-
- Fixed bug #660 : Syntax checks can fail on Windows with PHP5.6
3513-
- Fixed bug #784 : $this->trait is seen as a T_TRAIT token
3514-
- Fixed bug #786 : Switch indent issue with short array notation
3515-
- Fixed bug #787 : SpacingAfterDefaultBreak confused by multi-line statements
3516-
- Fixed bug #797 : Parsing CSS url() value breaks further parsing
3517-
- Fixed bug #805 : Squiz.Commenting.FunctionComment.InvalidTypeHint on Scalar types on PHP7
3518-
- Fixed bug #807 : Cannot fix line endings when open PHP tag is not on the first line
3519-
- Fixed bug #808 : JS tokeniser incorrectly setting some function and class names to control structure tokens
3520-
- Fixed bug #809 : PHPCBF can break a require_once statement with a space before the open parenthesis
3521-
- Fixed bug #813 : PEAR FunctionCallSignature checks wrong indent when first token on line is part of a multi-line string
3538+
- Fixed bug [#660] : Syntax checks can fail on Windows with PHP5.6
3539+
- Fixed bug [#784] : $this->trait is seen as a T_TRAIT token
3540+
- Fixed bug [#786] : Switch indent issue with short array notation
3541+
- Fixed bug [#787] : SpacingAfterDefaultBreak confused by multi-line statements
3542+
- Fixed bug [#797] : Parsing CSS url() value breaks further parsing
3543+
- Fixed bug [#805] : Squiz.Commenting.FunctionComment.InvalidTypeHint on Scalar types on PHP7
3544+
- Fixed bug [#807] : Cannot fix line endings when open PHP tag is not on the first line
3545+
- Fixed bug [#808] : JS tokenizer incorrectly setting some function and class names to control structure tokens
3546+
- Fixed bug [#809] : PHPCBF can break a require_once statement with a space before the open parenthesis
3547+
- Fixed bug [#813] : PEAR FunctionCallSignature checks wrong indent when first token on line is part of a multi-line string
3548+
3549+
[#560]: https://github.com/squizlabs/PHP_CodeSniffer/issues/560
3550+
[#583]: https://github.com/squizlabs/PHP_CodeSniffer/issues/583
3551+
[#626]: https://github.com/squizlabs/PHP_CodeSniffer/issues/626
3552+
[#660]: https://github.com/squizlabs/PHP_CodeSniffer/pull/660
3553+
[#784]: https://github.com/squizlabs/PHP_CodeSniffer/issues/784
3554+
[#786]: https://github.com/squizlabs/PHP_CodeSniffer/issues/786
3555+
[#787]: https://github.com/squizlabs/PHP_CodeSniffer/issues/787
3556+
[#797]: https://github.com/squizlabs/PHP_CodeSniffer/issues/797
3557+
[#805]: https://github.com/squizlabs/PHP_CodeSniffer/issues/805
3558+
[#807]: https://github.com/squizlabs/PHP_CodeSniffer/issues/807
3559+
[#808]: https://github.com/squizlabs/PHP_CodeSniffer/issues/808
3560+
[#809]: https://github.com/squizlabs/PHP_CodeSniffer/issues/809
3561+
[#813]: https://github.com/squizlabs/PHP_CodeSniffer/issues/813
35223562

35233563
## [2.4.0] - 2015-11-24
35243564
### Changed

0 commit comments

Comments
 (0)