@@ -106,7 +106,7 @@ _Nothing yet._
106106[ #198 ] : https://github.com/PHPCSStandards/PHP_CodeSniffer/issues/198
107107[ #227 ] : https://github.com/PHPCSStandards/PHP_CodeSniffer/issues/227
108108[ #235 ] : https://github.com/PHPCSStandards/PHP_CodeSniffer/pull/235
109- [ #277 ] : https://github.com/PHPCSStandards/PHP_CodeSniffer/issues /277
109+ [ #277 ] : https://github.com/PHPCSStandards/PHP_CodeSniffer/pull /277
110110[ #281 ] : https://github.com/PHPCSStandards/PHP_CodeSniffer/pull/281
111111[ #288 ] : https://github.com/PHPCSStandards/PHP_CodeSniffer/issues/288
112112[ #296 ] : https://github.com/PHPCSStandards/PHP_CodeSniffer/pull/296
@@ -162,8 +162,8 @@ _Nothing yet._
162162 - Thanks to [ Rodrigo Primo] [ @rodrigoprimo ] for the patch
163163
164164[ #124 ] : https://github.com/PHPCSStandards/PHP_CodeSniffer/issues/124
165- [ #150 ] : https://github.com/PHPCSStandards/PHP_CodeSniffer/issues /150
166- [ #154 ] : https://github.com/PHPCSStandards/PHP_CodeSniffer/issues /154
165+ [ #150 ] : https://github.com/PHPCSStandards/PHP_CodeSniffer/pull /150
166+ [ #154 ] : https://github.com/PHPCSStandards/PHP_CodeSniffer/pull /154
167167[ #178 ] : https://github.com/PHPCSStandards/PHP_CodeSniffer/issues/178
168168[ #205 ] : https://github.com/PHPCSStandards/PHP_CodeSniffer/issues/205
169169[ #211 ] : https://github.com/PHPCSStandards/PHP_CodeSniffer/pull/211
@@ -2476,7 +2476,7 @@ Additionally, thanks to [Alexander Turek][@derrabus] for consulting on the repo
24762476## [ 3.0.2] - 2017-07-18
24772477### Changed
24782478- The code report now gracefully handles tokenizer exceptions
2479- - The phpcs and phpcbf scripts and now the only places that exit() in the code
2479+ - The phpcs and phpcbf scripts are now the only places that exit() in the code
24802480 - This allows for easier usage of core PHPCS functions from external scripts
24812481 - If you are calling Runner::runPHPCS() or Runner::runPHPCBF() directly, you will get back the full range of exit codes
24822482 - If not, catch the new DeepExitException to get the error message ($e->getMessage()) and exit code ($e->getCode());
@@ -2491,20 +2491,31 @@ Additionally, thanks to [Alexander Turek][@derrabus] for consulting on the repo
24912491### Fixed
24922492- Fixed a problem where the source report was not printing the correct number of errors found
24932493- Fixed a problem where the --cache=/path/to/cachefile CLI argument was not working
2494- - Fixed bug #1465 : Generic.WhiteSpace.ScopeIndent reports incorrect errors when indenting double arrows in short arrays
2495- - Fixed bug #1478 : Indentation in fallthrough CASE that contains a closure
2496- - Fixed bug #1497 : Fatal error if composer prepend-autoloader is set to false
2494+ - Fixed bug [ #1465 ] : Generic.WhiteSpace.ScopeIndent reports incorrect errors when indenting double arrows in short arrays
2495+ - Fixed bug [ #1478 ] : Indentation in fallthrough CASE that contains a closure
2496+ - Fixed bug [ #1497 ] : Fatal error if composer prepend-autoloader is set to false
24972497 - Thanks to [ Kunal Mehta] [ @legoktm ] for the patch
2498- - Fixed bug #1503 : Alternative control structure syntax not always recognized as scoped
2499- - Fixed bug #1523 : Fatal error when using the --suffix argument
2498+ - Fixed bug [ #1503 ] : Alternative control structure syntax not always recognized as scoped
2499+ - Fixed bug [ #1523 ] : Fatal error when using the --suffix argument
25002500 - Thanks to [ Juliette Reinders Folmer] [ @jrfnl ] for the patch
2501- - Fixed bug #1526 : Use of basepath setting can stop PHPCBF being able to write fixed files
2502- - Fixed bug #1530 : Generic.WhiteSpace.ScopeIndent can increase indent too much for lines within code blocks
2503- - Fixed bug #1547 : Wrong token type for backslash in use function
2501+ - Fixed bug [ #1526 ] : Use of basepath setting can stop PHPCBF being able to write fixed files
2502+ - Fixed bug [ #1530 ] : Generic.WhiteSpace.ScopeIndent can increase indent too much for lines within code blocks
2503+ - Fixed bug [ #1547 ] : Wrong token type for backslash in use function
25042504 - Thanks to [ Michał Bundyra] [ @michalbundyra ] for the patch
2505- - Fixed bug #1549 : Squiz.PHP.EmbeddedPhp fixer conflict with // comment before PHP close tag
2505+ - Fixed bug [ #1549 ] : Squiz.PHP.EmbeddedPhp fixer conflict with // comment before PHP close tag
25062506 - Thanks to [ Juliette Reinders Folmer] [ @jrfnl ] for the patch
2507- - Fixed bug #1560 : Squiz.Commenting.FunctionComment fatal error when fixing additional param comment lines that have no indent
2507+ - Fixed bug [ #1560 ] : Squiz.Commenting.FunctionComment fatal error when fixing additional param comment lines that have no indent
2508+
2509+ [ #1465 ] : https://github.com/squizlabs/PHP_CodeSniffer/issues/1465
2510+ [ #1478 ] : https://github.com/squizlabs/PHP_CodeSniffer/issues/1478
2511+ [ #1497 ] : https://github.com/squizlabs/PHP_CodeSniffer/issues/1497
2512+ [ #1503 ] : https://github.com/squizlabs/PHP_CodeSniffer/issues/1503
2513+ [ #1523 ] : https://github.com/squizlabs/PHP_CodeSniffer/pull/1523
2514+ [ #1526 ] : https://github.com/squizlabs/PHP_CodeSniffer/issues/1526
2515+ [ #1530 ] : https://github.com/squizlabs/PHP_CodeSniffer/issues/1530
2516+ [ #1547 ] : https://github.com/squizlabs/PHP_CodeSniffer/issues/1547
2517+ [ #1549 ] : https://github.com/squizlabs/PHP_CodeSniffer/issues/1549
2518+ [ #1560 ] : https://github.com/squizlabs/PHP_CodeSniffer/issues/1560
25082519
25092520## [ 3.0.1] - 2017-06-14
25102521### Security
@@ -2523,7 +2534,7 @@ Additionally, thanks to [Alexander Turek][@derrabus] for consulting on the repo
25232534- PHPCS now stops looking for a phpcs.xml file as soon as one is found, favoring the closest one to the current dir
25242535- Added missing help text for the --stdin-path CLI option to --help
25252536- Re-added missing help text for the --file-list and --bootstrap CLI options to --help
2526- - Runner::runPHPCS() and Runner::runPHPCBF() now return an exit code instead of exiting directly (request #1484 )
2537+ - Runner::runPHPCS() and Runner::runPHPCBF() now return an exit code instead of exiting directly (request [ #1484 ] )
25272538- The Squiz standard now enforces short array syntax by default
25282539- The autoloader is now working correctly with classes created with class_alias()
25292540- The autoloader will now search for files inside all directories in the installed_paths config var
@@ -2544,34 +2555,49 @@ Additionally, thanks to [Alexander Turek][@derrabus] for consulting on the repo
25442555### Fixed
25452556- Fixed a problem where excluding a message from a custom standard's own sniff would exclude the whole sniff
25462557 - This caused some PSR2 errors to be under-reported
2547- - Fixed bug #1442 : T_NULLABLE detection not working for nullable parameters and return type hints in some cases
2548- - Fixed bug #1447 : Running the unit tests with a phpunit config file breaks the test suite
2558+ - Fixed bug [ #1442 ] : T_NULLABLE detection not working for nullable parameters and return type hints in some cases
2559+ - Fixed bug [ #1447 ] : Running the unit tests with a phpunit config file breaks the test suite
25492560 - Unknown arguments were not being handled correctly, but are now stored in $config->unknown
2550- - Fixed bug #1449 : Generic.Classes.OpeningBraceSameLine doesn't detect comment before opening brace
2561+ - Fixed bug [ #1449 ] : Generic.Classes.OpeningBraceSameLine doesn't detect comment before opening brace
25512562 - Thanks to [ Juliette Reinders Folmer] [ @jrfnl ] for the patch
2552- - Fixed bug #1450 : Coding standard located under an installed_path with the same directory name throws an error
2563+ - Fixed bug [ #1450 ] : Coding standard located under an installed_path with the same directory name throws an error
25532564 - Thanks to [ Juliette Reinders Folmer] [ @jrfnl ] for the patch
2554- - Fixed bug #1451 : Sniff exclusions/restrictions dont work with custom sniffs unless they use the PHP_CodeSniffer NS
2555- - Fixed bug #1454 : Squiz.WhiteSpace.OperatorSpacing is not checking spacing on either side of a short ternary operator
2565+ - Fixed bug [ #1451 ] : Sniff exclusions/restrictions don't work with custom sniffs unless they use the PHP_CodeSniffer NS
2566+ - Fixed bug [ #1454 ] : Squiz.WhiteSpace.OperatorSpacing is not checking spacing on either side of a short ternary operator
25562567 - Thanks to [ Mponos George] [ @gmponos ] for the patch
2557- - Fixed bug #1495 : Setting an invalid installed path breaks all commands
2558- - Fixed bug #1496 : Squiz.Strings.DoubleQuoteUsage not unescaping dollar sign when fixing
2568+ - Fixed bug [ #1495 ] : Setting an invalid installed path breaks all commands
2569+ - Fixed bug [ #1496 ] : Squiz.Strings.DoubleQuoteUsage not unescaping dollar sign when fixing
25592570 - Thanks to [ Michał Bundyra] [ @michalbundyra ] for the patch
2560- - Fixed bug #1501 : Interactive mode is broken
2561- - Fixed bug #1504 : PSR2.Namespaces.UseDeclaration hangs fixing use statement with no trailing code
2571+ - Fixed bug [ #1501 ] : Interactive mode is broken
2572+ - Fixed bug [ #1504 ] : PSR2.Namespaces.UseDeclaration hangs fixing use statement with no trailing code
2573+
2574+ [ #1484 ] : https://github.com/squizlabs/PHP_CodeSniffer/issues/1484
2575+ [ #1442 ] : https://github.com/squizlabs/PHP_CodeSniffer/pull/1442
2576+ [ #1447 ] : https://github.com/squizlabs/PHP_CodeSniffer/issues/1447
2577+ [ #1449 ] : https://github.com/squizlabs/PHP_CodeSniffer/pull/1449
2578+ [ #1450 ] : https://github.com/squizlabs/PHP_CodeSniffer/pull/1450
2579+ [ #1451 ] : https://github.com/squizlabs/PHP_CodeSniffer/pull/1451
2580+ [ #1454 ] : https://github.com/squizlabs/PHP_CodeSniffer/pull/1454
2581+ [ #1495 ] : https://github.com/squizlabs/PHP_CodeSniffer/issues/1495
2582+ [ #1496 ] : https://github.com/squizlabs/PHP_CodeSniffer/pull/1496
2583+ [ #1501 ] : https://github.com/squizlabs/PHP_CodeSniffer/issues/1501
2584+ [ #1504 ] : https://github.com/squizlabs/PHP_CodeSniffer/issues/1504
25622585
25632586## [ 2.9.1] - 2017-05-22
25642587### Fixed
2565- - Fixed bug #1442 : T_NULLABLE detection not working for nullable parameters and return type hints in some cases
2566- - Fixed bug #1448 : Generic.Classes.OpeningBraceSameLine doesn't detect comment before opening brace
2588+ - Fixed bug [ #1442 ] : T_NULLABLE detection not working for nullable parameters and return type hints in some cases
2589+ - Fixed bug [ #1448 ] : Generic.Classes.OpeningBraceSameLine doesn't detect comment before opening brace
25672590 - Thanks to [ Juliette Reinders Folmer] [ @jrfnl ] for the patch
25682591
2592+ [ #1442 ] : https://github.com/squizlabs/PHP_CodeSniffer/pull/1442
2593+ [ #1448 ] : https://github.com/squizlabs/PHP_CodeSniffer/pull/1448
2594+
25692595## [ 3.0.0] - 2017-05-04
25702596### Changed
2571- - Added an --ignore-annotations command line argument to ignore all @codingStandards annotations in code comments (request #811 )
2597+ - Added an --ignore-annotations command line argument to ignore all @codingStandards annotations in code comments (request [ #811 ] )
25722598- This allows you to force errors to be shown that would otherwise be ignored by code comments
2573- - Also stop files being able to change sniff properties mid way through processing
2574- - An error is now reported if no sniffs were registered to be run (request #1129 )
2599+ - Also stop files being able to change sniff properties midway through processing
2600+ - An error is now reported if no sniffs were registered to be run (request [ #1129 ] )
25752601- The autoloader will now search for files inside the directory of any loaded coding standard
25762602 - This allows autoloading of any file inside a custom coding standard without manually requiring them
25772603 - Ensure your namespace begins with your coding standard's directory name and follows PSR-4
@@ -2586,9 +2612,13 @@ Additionally, thanks to [Alexander Turek][@derrabus] for consulting on the repo
25862612- Includes all changes from the 2.9.0 release
25872613
25882614### Fixed
2589- - Fixed bug #834 : PSR2.ControlStructures.SwitchDeclaration does not handle if branches with returns
2615+ - Fixed bug [ #834 ] : PSR2.ControlStructures.SwitchDeclaration does not handle if branches with returns
25902616 - Thanks to [ Fabian Wiget] [ @fabacino ] for the patch
25912617
2618+ [ #811 ] : https://github.com/squizlabs/PHP_CodeSniffer/issues/811
2619+ [ #1129 ] : https://github.com/squizlabs/PHP_CodeSniffer/issues/1129
2620+ [ #834 ] : https://github.com/squizlabs/PHP_CodeSniffer/issues/834
2621+
25922622## [ 3.0.0RC4] - 2017-03-02
25932623### Security
25942624- This release contains a fix for a security advisory related to the improper handling of shell commands
0 commit comments