@@ -2578,7 +2578,7 @@ Additionally, thanks to [Alexander Turek][@derrabus] for consulting on the repo
25782578## [3.0.2] - 2017-07-18
25792579### Changed
25802580- The code report now gracefully handles tokenizer exceptions
2581- - The phpcs and phpcbf scripts and now the only places that exit() in the code
2581+ - The phpcs and phpcbf scripts are now the only places that exit() in the code
25822582 - This allows for easier usage of core PHPCS functions from external scripts
25832583 - If you are calling Runner::runPHPCS() or Runner::runPHPCBF() directly, you will get back the full range of exit codes
25842584 - If not, catch the new DeepExitException to get the error message ($e->getMessage()) and exit code ($e->getCode());
@@ -2593,20 +2593,31 @@ Additionally, thanks to [Alexander Turek][@derrabus] for consulting on the repo
25932593### Fixed
25942594- Fixed a problem where the source report was not printing the correct number of errors found
25952595- Fixed a problem where the --cache=/path/to/cachefile CLI argument was not working
2596- - Fixed bug #1465 : Generic.WhiteSpace.ScopeIndent reports incorrect errors when indenting double arrows in short arrays
2597- - Fixed bug #1478 : Indentation in fallthrough CASE that contains a closure
2598- - Fixed bug #1497 : Fatal error if composer prepend-autoloader is set to false
2596+ - Fixed bug [ #1465] : Generic.WhiteSpace.ScopeIndent reports incorrect errors when indenting double arrows in short arrays
2597+ - Fixed bug [ #1478] : Indentation in fallthrough CASE that contains a closure
2598+ - Fixed bug [ #1497] : Fatal error if composer prepend-autoloader is set to false
25992599 - Thanks to [Kunal Mehta][@legoktm] for the patch
2600- - Fixed bug #1503 : Alternative control structure syntax not always recognized as scoped
2601- - Fixed bug #1523 : Fatal error when using the --suffix argument
2600+ - Fixed bug [ #1503] : Alternative control structure syntax not always recognized as scoped
2601+ - Fixed bug [ #1523] : Fatal error when using the --suffix argument
26022602 - Thanks to [Juliette Reinders Folmer][@jrfnl] for the patch
2603- - Fixed bug #1526 : Use of basepath setting can stop PHPCBF being able to write fixed files
2604- - Fixed bug #1530 : Generic.WhiteSpace.ScopeIndent can increase indent too much for lines within code blocks
2605- - Fixed bug #1547 : Wrong token type for backslash in use function
2603+ - Fixed bug [ #1526] : Use of basepath setting can stop PHPCBF being able to write fixed files
2604+ - Fixed bug [ #1530] : Generic.WhiteSpace.ScopeIndent can increase indent too much for lines within code blocks
2605+ - Fixed bug [ #1547] : Wrong token type for backslash in use function
26062606 - Thanks to [Michał Bundyra][@michalbundyra] for the patch
2607- - Fixed bug #1549 : Squiz.PHP.EmbeddedPhp fixer conflict with // comment before PHP close tag
2607+ - Fixed bug [ #1549] : Squiz.PHP.EmbeddedPhp fixer conflict with // comment before PHP close tag
26082608 - Thanks to [Juliette Reinders Folmer][@jrfnl] for the patch
2609- - Fixed bug #1560 : Squiz.Commenting.FunctionComment fatal error when fixing additional param comment lines that have no indent
2609+ - Fixed bug [#1560] : Squiz.Commenting.FunctionComment fatal error when fixing additional param comment lines that have no indent
2610+
2611+ [#1465]: https://github.com/squizlabs/PHP_CodeSniffer/issues/1465
2612+ [#1478]: https://github.com/squizlabs/PHP_CodeSniffer/issues/1478
2613+ [#1497]: https://github.com/squizlabs/PHP_CodeSniffer/issues/1497
2614+ [#1503]: https://github.com/squizlabs/PHP_CodeSniffer/issues/1503
2615+ [#1523]: https://github.com/squizlabs/PHP_CodeSniffer/pull/1523
2616+ [#1526]: https://github.com/squizlabs/PHP_CodeSniffer/issues/1526
2617+ [#1530]: https://github.com/squizlabs/PHP_CodeSniffer/issues/1530
2618+ [#1547]: https://github.com/squizlabs/PHP_CodeSniffer/issues/1547
2619+ [#1549]: https://github.com/squizlabs/PHP_CodeSniffer/issues/1549
2620+ [#1560]: https://github.com/squizlabs/PHP_CodeSniffer/issues/1560
26102621
26112622## [3.0.1] - 2017-06-14
26122623### Security
@@ -2625,7 +2636,7 @@ Additionally, thanks to [Alexander Turek][@derrabus] for consulting on the repo
26252636- PHPCS now stops looking for a phpcs.xml file as soon as one is found, favoring the closest one to the current dir
26262637- Added missing help text for the --stdin-path CLI option to --help
26272638- Re-added missing help text for the --file-list and --bootstrap CLI options to --help
2628- - Runner::runPHPCS() and Runner::runPHPCBF() now return an exit code instead of exiting directly (request #1484)
2639+ - Runner::runPHPCS() and Runner::runPHPCBF() now return an exit code instead of exiting directly (request [ #1484] )
26292640- The Squiz standard now enforces short array syntax by default
26302641- The autoloader is now working correctly with classes created with class_alias()
26312642- The autoloader will now search for files inside all directories in the installed_paths config var
@@ -2646,34 +2657,49 @@ Additionally, thanks to [Alexander Turek][@derrabus] for consulting on the repo
26462657### Fixed
26472658- Fixed a problem where excluding a message from a custom standard's own sniff would exclude the whole sniff
26482659 - This caused some PSR2 errors to be under-reported
2649- - Fixed bug #1442 : T_NULLABLE detection not working for nullable parameters and return type hints in some cases
2650- - Fixed bug #1447 : Running the unit tests with a phpunit config file breaks the test suite
2660+ - Fixed bug [ #1442] : T_NULLABLE detection not working for nullable parameters and return type hints in some cases
2661+ - Fixed bug [ #1447] : Running the unit tests with a phpunit config file breaks the test suite
26512662 - Unknown arguments were not being handled correctly, but are now stored in $config->unknown
2652- - Fixed bug #1449 : Generic.Classes.OpeningBraceSameLine doesn't detect comment before opening brace
2663+ - Fixed bug [ #1449] : Generic.Classes.OpeningBraceSameLine doesn't detect comment before opening brace
26532664 - Thanks to [Juliette Reinders Folmer][@jrfnl] for the patch
2654- - Fixed bug #1450 : Coding standard located under an installed_path with the same directory name throws an error
2665+ - Fixed bug [ #1450] : Coding standard located under an installed_path with the same directory name throws an error
26552666 - Thanks to [Juliette Reinders Folmer][@jrfnl] for the patch
2656- - Fixed bug #1451 : Sniff exclusions/restrictions dont work with custom sniffs unless they use the PHP_CodeSniffer NS
2657- - Fixed bug #1454 : Squiz.WhiteSpace.OperatorSpacing is not checking spacing on either side of a short ternary operator
2667+ - Fixed bug [ #1451] : Sniff exclusions/restrictions don't work with custom sniffs unless they use the PHP_CodeSniffer NS
2668+ - Fixed bug [ #1454] : Squiz.WhiteSpace.OperatorSpacing is not checking spacing on either side of a short ternary operator
26582669 - Thanks to [Mponos George][@gmponos] for the patch
2659- - Fixed bug #1495 : Setting an invalid installed path breaks all commands
2660- - Fixed bug #1496 : Squiz.Strings.DoubleQuoteUsage not unescaping dollar sign when fixing
2670+ - Fixed bug [ #1495] : Setting an invalid installed path breaks all commands
2671+ - Fixed bug [ #1496] : Squiz.Strings.DoubleQuoteUsage not unescaping dollar sign when fixing
26612672 - Thanks to [Michał Bundyra][@michalbundyra] for the patch
2662- - Fixed bug #1501 : Interactive mode is broken
2663- - Fixed bug #1504 : PSR2.Namespaces.UseDeclaration hangs fixing use statement with no trailing code
2673+ - Fixed bug [#1501] : Interactive mode is broken
2674+ - Fixed bug [#1504] : PSR2.Namespaces.UseDeclaration hangs fixing use statement with no trailing code
2675+
2676+ [#1484]: https://github.com/squizlabs/PHP_CodeSniffer/issues/1484
2677+ [#1442]: https://github.com/squizlabs/PHP_CodeSniffer/pull/1442
2678+ [#1447]: https://github.com/squizlabs/PHP_CodeSniffer/issues/1447
2679+ [#1449]: https://github.com/squizlabs/PHP_CodeSniffer/pull/1449
2680+ [#1450]: https://github.com/squizlabs/PHP_CodeSniffer/pull/1450
2681+ [#1451]: https://github.com/squizlabs/PHP_CodeSniffer/pull/1451
2682+ [#1454]: https://github.com/squizlabs/PHP_CodeSniffer/pull/1454
2683+ [#1495]: https://github.com/squizlabs/PHP_CodeSniffer/issues/1495
2684+ [#1496]: https://github.com/squizlabs/PHP_CodeSniffer/pull/1496
2685+ [#1501]: https://github.com/squizlabs/PHP_CodeSniffer/issues/1501
2686+ [#1504]: https://github.com/squizlabs/PHP_CodeSniffer/issues/1504
26642687
26652688## [2.9.1] - 2017-05-22
26662689### Fixed
2667- - Fixed bug #1442 : T_NULLABLE detection not working for nullable parameters and return type hints in some cases
2668- - Fixed bug #1448 : Generic.Classes.OpeningBraceSameLine doesn't detect comment before opening brace
2690+ - Fixed bug [ #1442] : T_NULLABLE detection not working for nullable parameters and return type hints in some cases
2691+ - Fixed bug [ #1448] : Generic.Classes.OpeningBraceSameLine doesn't detect comment before opening brace
26692692 - Thanks to [Juliette Reinders Folmer][@jrfnl] for the patch
26702693
2694+ [#1442]: https://github.com/squizlabs/PHP_CodeSniffer/pull/1442
2695+ [#1448]: https://github.com/squizlabs/PHP_CodeSniffer/pull/1448
2696+
26712697## [3.0.0] - 2017-05-04
26722698### Changed
2673- - Added an --ignore-annotations command line argument to ignore all @codingStandards annotations in code comments (request #811)
2699+ - Added an --ignore-annotations command line argument to ignore all @codingStandards annotations in code comments (request [ #811] )
26742700- This allows you to force errors to be shown that would otherwise be ignored by code comments
2675- - Also stop files being able to change sniff properties mid way through processing
2676- - An error is now reported if no sniffs were registered to be run (request #1129)
2701+ - Also stop files being able to change sniff properties midway through processing
2702+ - An error is now reported if no sniffs were registered to be run (request [ #1129] )
26772703- The autoloader will now search for files inside the directory of any loaded coding standard
26782704 - This allows autoloading of any file inside a custom coding standard without manually requiring them
26792705 - Ensure your namespace begins with your coding standard's directory name and follows PSR-4
@@ -2688,9 +2714,13 @@ Additionally, thanks to [Alexander Turek][@derrabus] for consulting on the repo
26882714- Includes all changes from the 2.9.0 release
26892715
26902716### Fixed
2691- - Fixed bug #834 : PSR2.ControlStructures.SwitchDeclaration does not handle if branches with returns
2717+ - Fixed bug [ #834] : PSR2.ControlStructures.SwitchDeclaration does not handle if branches with returns
26922718 - Thanks to [Fabian Wiget][@fabacino] for the patch
26932719
2720+ [#811]: https://github.com/squizlabs/PHP_CodeSniffer/issues/811
2721+ [#1129]: https://github.com/squizlabs/PHP_CodeSniffer/issues/1129
2722+ [#834]: https://github.com/squizlabs/PHP_CodeSniffer/issues/834
2723+
26942724## [3.0.0RC4] - 2017-03-02
26952725### Security
26962726- This release contains a fix for a security advisory related to the improper handling of shell commands
0 commit comments