@@ -1758,6 +1758,57 @@ http://pear.php.net/dtd/package-2.0.xsd">
1758
1758
-- Hooks for version control systems will no longer be maintained within the PHPCS project
1759
1759
</notes >
1760
1760
</release >
1761
+ <release >
1762
+ <version >
1763
+ <release >2.9.0</release >
1764
+ <api >2.9.0</api >
1765
+ </version >
1766
+ <stability >
1767
+ <release >stable</release >
1768
+ <api >stable</api >
1769
+ </stability >
1770
+ <date >2017-05-04</date >
1771
+ <license uri =" https://github.com/squizlabs/PHP_CodeSniffer/blob/master/licence.txt" >BSD License</license >
1772
+ <notes >
1773
+ - Added Generic.Debug.ESLint sniff to run ESLint over JS files and report errors
1774
+ -- Set eslint path using: phpcs --config-set eslint_path /path/to/eslint
1775
+ -- Thanks to Ryan McCue for the contribution
1776
+ - T_POW is now properly considered an arithmetic operator, and will be checked as such
1777
+ -- Thanks to Juliette Reinders Folmer for the patch
1778
+ - T_SPACESHIP and T_COALESCE are now properly considered comparison operators, and will be checked as such
1779
+ -- Thanks to Juliette Reinders Folmer for the patch
1780
+ - Generic.PHP.DisallowShortOpenTag now warns about possible short open tags even when short_open_tag is set to OFF
1781
+ -- Thanks to Juliette Reinders Folmer for the patch
1782
+ - Generic.WhiteSpace.DisallowTabIndent now finds and fixes inproper use of spaces anywhere inside the line indent
1783
+ -- Previously, only the first part of the indent was used to determine the indent type
1784
+ -- Thanks to Juliette Reinders Folmer for the patch
1785
+ - PEAR.Commenting.ClassComment now supports checking of traits as well as classes and interfaces
1786
+ -- Thanks to Juliette Reinders Folmer for the patch
1787
+ - Squiz.Commenting.FunctionCommentThrowTag now supports re-throwing exceptions (request #946)
1788
+ -- Thanks to Samuel Levy for the patch
1789
+ - Squiz.PHP.DisallowMultipleAssignments now ignores PHP4-style member var assignments
1790
+ -- Thanks to Juliette Reinders Folmer for the patch
1791
+ - Squiz.WhiteSpace.FunctionSpacing now ignores spacing above functions when they are preceded by inline comments
1792
+ -- Stops conflicts between this sniff and comment spacing sniffs
1793
+ - Squiz.WhiteSpace.OperatorSpacing no longer checks the equal sign in declare statements
1794
+ -- Thanks to Juliette Reinders Folmer for the patch
1795
+ - Added missing error codes for a couple of sniffs so they can now be customised as normal
1796
+ - Fixed bug #1266 : PEAR.WhiteSpace.ScopeClosingBrace can throw an error while fixing mixed PHP/HTML
1797
+ - Fixed bug #1364 : Yield From values are not recognised as returned values in Squiz FunctionComment sniff
1798
+ - Fixed bug #1373 : Error in tab expansion results in white-space of incorrect size
1799
+ -- Thanks to Mark Clements for the patch
1800
+ - Fixed bug #1381 : Tokenizer: derefencing incorrectly identified as short array
1801
+ - Fixed bug #1387 : Squiz.ControlStructures.ControlSignature does not handle alt syntax when checking space after closing brace
1802
+ - Fixed bug #1392 : Scope indent calculated incorrectly when using array destructuring
1803
+ - Fixed bug #1394 : integer type hints appearing as TypeHintMissing instead of ScalarTypeHintMissing
1804
+ -- PHP 7 type hints were also being shown when run under PHP 5 in some cases
1805
+ - Fixed bug #1405 : Squiz.WhiteSpace.ScopeClosingBrace fails to fix closing brace within indented PHP tags
1806
+ - Fixed bug #1421 : Ternaries used in constant scalar expression for param default misidentified by tokenizer
1807
+ - Fixed bug #1431 : PHPCBF can't fix short open tags when they are not followed by a space
1808
+ -- Thanks to Gonçalo Queirós for the patch
1809
+ - Fixed bug #1432 : PHPCBF can make invalid fixes to inline JS control structures that make use of JS objects
1810
+ </notes >
1811
+ </release >
1761
1812
<release >
1762
1813
<version >
1763
1814
<release >2.8.1</release >
0 commit comments