@@ -14,8 +14,8 @@ http://pear.php.net/dtd/package-2.0.xsd">
14
14
15
15
<active >yes</active >
16
16
</lead >
17
- <date >2017-03-02 </date >
18
- <time >09:12 :00</time >
17
+ <date >2017-04-04 </date >
18
+ <time >09:30 :00</time >
19
19
<version >
20
20
<release >2.9.0</release >
21
21
<api >2.9.0</api >
@@ -2487,6 +2487,57 @@ http://pear.php.net/dtd/package-2.0.xsd">
2487
2487
</filelist >
2488
2488
</phprelease >
2489
2489
<changelog >
2490
+ <release >
2491
+ <version >
2492
+ <release >2.9.0</release >
2493
+ <api >2.9.0</api >
2494
+ </version >
2495
+ <stability >
2496
+ <release >stable</release >
2497
+ <api >stable</api >
2498
+ </stability >
2499
+ <date >2017-04-04</date >
2500
+ <license uri =" https://github.com/squizlabs/PHP_CodeSniffer/blob/master/licence.txt" >BSD License</license >
2501
+ <notes >
2502
+ - Added Generic.Debug.ESLint sniff to run ESLint over JS files and report errors
2503
+ -- Set eslint path using: phpcs --config-set eslint_path /path/to/eslint
2504
+ -- Thanks to Ryan McCue for the contribution
2505
+ - T_POW is now properly considered an arithmetic operator, and will be checked as such
2506
+ -- Thanks to Juliette Reinders Folmer for the patch
2507
+ - T_SPACESHIP and T_COALESCE are now properly considered comparison operators, and will be checked as such
2508
+ -- Thanks to Juliette Reinders Folmer for the patch
2509
+ - Generic.PHP.DisallowShortOpenTag now warns about possible short open tags even when short_open_tag is set to OFF
2510
+ -- Thanks to Juliette Reinders Folmer for the patch
2511
+ - Generic.WhiteSpace.DisallowTabIndent now finds and fixes inproper use of spaces anywhere inside the line indent
2512
+ -- Previously, only the first part of the indent was used to determine the indent type
2513
+ -- Thanks to Juliette Reinders Folmer for the patch
2514
+ - PEAR.Commenting.ClassComment now supports checking of traits as well as classes and interfaces
2515
+ -- Thanks to Juliette Reinders Folmer for the patch
2516
+ - Squiz.Commenting.FunctionCommentThrowTag now supports re-throwing exceptions (request #946)
2517
+ -- Thanks to Samuel Levy for the patch
2518
+ - Squiz.PHP.DisallowMultipleAssignments now ignores PHP4-style member var assignments
2519
+ -- Thanks to Juliette Reinders Folmer for the patch
2520
+ - Squiz.WhiteSpace.FunctionSpacing now ignores spacing above functions when they are preceded by inline comments
2521
+ -- Stops conflicts between this sniff and comment spacing sniffs
2522
+ - Squiz.WhiteSpace.OperatorSpacing no longer checks the equal sign in declare statements
2523
+ -- Thanks to Juliette Reinders Folmer for the patch
2524
+ - Added missing error codes for a couple of sniffs so they can now be customised as normal
2525
+ - Fixed bug #1266 : PEAR.WhiteSpace.ScopeClosingBrace can throw an error while fixing mixed PHP/HTML
2526
+ - Fixed bug #1364 : Yield From values are not recognised as returned values in Squiz FunctionComment sniff
2527
+ - Fixed bug #1373 : Error in tab expansion results in white-space of incorrect size
2528
+ -- Thanks to Mark Clements for the patch
2529
+ - Fixed bug #1381 : Tokenizer: derefencing incorrectly identified as short array
2530
+ - Fixed bug #1387 : Squiz.ControlStructures.ControlSignature does not handle alt syntax when checking space after closing brace
2531
+ - Fixed bug #1392 : Scope indent calculated incorrectly when using array destructuring
2532
+ - Fixed bug #1394 : integer type hints appearing as TypeHintMissing instead of ScalarTypeHintMissing
2533
+ -- PHP 7 type hints were also being shown when run under PHP 5 in some cases
2534
+ - Fixed bug #1405 : Squiz.WhiteSpace.ScopeClosingBrace fails to fix closing brace within indented PHP tags
2535
+ - Fixed bug #1421 : Ternaries used in constant scalar expression for param default misidentified by tokenizer
2536
+ - Fixed bug #1431 : PHPCBF can't fix short open tags when they are not followed by a space
2537
+ -- Thanks to Gonçalo Queirós for the patch
2538
+ - Fixed bug #1432 : PHPCBF can make invalid fixes to inline JS control structures that make use of JS objects
2539
+ </notes >
2540
+ </release >
2490
2541
<release >
2491
2542
<version >
2492
2543
<release >2.8.1</release >
0 commit comments