@@ -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 >2016-09-02 </date >
18
- <time >10:25 :00</time >
17
+ <date >2016-11-30 </date >
18
+ <time >15:21 :00</time >
19
19
<version >
20
20
<release >3.0.0RC2</release >
21
21
<api >3.0.0RC2</api >
@@ -1516,6 +1516,27 @@ http://pear.php.net/dtd/package-2.0.xsd">
1516
1516
</filelist >
1517
1517
</phprelease >
1518
1518
<changelog >
1519
+ <release >
1520
+ <version >
1521
+ <release >3.0.0RC2</release >
1522
+ <api >3.0.0RC2</api >
1523
+ </version >
1524
+ <stability >
1525
+ <release >beta</release >
1526
+ <api >beta</api >
1527
+ </stability >
1528
+ <date >2016-11-30</date >
1529
+ <license uri =" https://github.com/squizlabs/PHP_CodeSniffer/blob/master/licence.txt" >BSD License</license >
1530
+ <notes >
1531
+ - Fixed an undefined var name error that could be produced while running PHPCBF
1532
+ - Made the Runner class easier to use with wrapper scripts
1533
+ - Full usage information is no longer printed when a usage error is encountered (request #1186)
1534
+ -- Makes it a lot easier to find and read the error message that was printed
1535
+ - Includes all changes from the 2.7.1 release
1536
+ - Fixed bug #1167 : 3.0.0RC1 PHAR does not work with PEAR standard
1537
+ - Fixed bug #1208 : Excluding files doesn't work when using STDIN with a filename specified
1538
+ </notes >
1539
+ </release >
1519
1540
<release >
1520
1541
<version >
1521
1542
<release >3.0.0RC1</release >
@@ -1630,6 +1651,50 @@ http://pear.php.net/dtd/package-2.0.xsd">
1630
1651
-- Hooks for version control systems will no longer be maintained within the PHPCS project
1631
1652
</notes >
1632
1653
</release >
1654
+ <release >
1655
+ <version >
1656
+ <release >2.7.1</release >
1657
+ <api >2.7.1</api >
1658
+ </version >
1659
+ <stability >
1660
+ <release >stable</release >
1661
+ <api >stable</api >
1662
+ </stability >
1663
+ <date >2016-11-30</date >
1664
+ <license uri =" https://github.com/squizlabs/PHP_CodeSniffer/blob/master/licence.txt" >BSD License</license >
1665
+ <notes >
1666
+ - Squiz.ControlStructures.ControlSignature.SpaceAfterCloseParenthesis fix now removes unnecessary whitespace
1667
+ - Squiz.Formatting.OperatorBracket no longer errors for negative array indexes used within a function call
1668
+ - Squiz.PHP.EmbeddedPhp no longer expects a semicolon after statements that are only opening a scope
1669
+ - Fixed a problem where the content of T_DOC_COMMENT_CLOSE_TAG tokens could sometimes be (boolean) false
1670
+ - Developers of custom standards with custom test runners can now have their standards ignored by the built-in test runner
1671
+ -- Set the value of an environment variable called PHPCS_IGNORE_TESTS with a comma separated list of your standard names
1672
+ -- Thanks to Juliette Reinders Folmer for the patch
1673
+ - The unit test runner now loads the test sniff outside of the standard's ruleset so that exclude rules do not get applied
1674
+ -- This may have caused problems when testing custom sniffs inside custom standards
1675
+ -- Also makes the unit tests runs a little faster
1676
+ - The SVN pre-commit hook now works correctly when installed via composer
1677
+ -- Thanks to Sergey for the patch
1678
+ - Fixed bug #1135 : PEAR.ControlStructures.MultiLineCondition.CloseBracketNewLine not detected if preceded by multiline function call
1679
+ - Fixed bug #1138 : PEAR.ControlStructures.MultiLineCondition.Alignment not detected if closing brace is first token on line
1680
+ - Fixed bug #1141 : Sniffs that check EOF newlines don't detect newlines properly when the last token is a doc block
1681
+ - Fixed bug #1150 : Squiz.Strings.EchoedStrings does not properly fix bracketed statements
1682
+ - Fixed bug #1156 : Generic.Formatting.DisallowMultipleStatements errors when multiple short echo tags are used on the same line
1683
+ -- Thanks to Nikola Kovacs for the patch
1684
+ - Fixed bug #1161 : Absolute report path is treated like a relative path if it also exists within the current directory
1685
+ - Fixed bug #1170 : Javascript regular expression literal not recognized after comparison operator
1686
+ - Fixed bug #1180 : Class constant named FUNCTION is incorrectly tokenized
1687
+ - Fixed bug #1181 : Squiz.Operators.IncrementDecrementUsage.NoBrackets false positive when incrementing properties
1688
+ -- Thanks to Jürgen Henge-Ernst for the patch
1689
+ - Fixed bug #1188 : Generic.WhiteSpace.ScopeIndent issues with inline HTML and multi-line function signatures
1690
+ - Fixed bug #1190 : phpcbf on if/else with trailing comment generates erroneous code
1691
+ - Fixed bug #1191 : Javascript sniffer fails with function called "Function"
1692
+ - Fixed bug #1203 : Inconsistent behavior of PHP_CodeSniffer_File::findEndOfStatement
1693
+ - Fixed bug #1218 : CASE conditions using class constants named NAMESPACE/INTERFACE/TRAIT etc are incorrectly tokenized
1694
+ - Fixed bug #1221 : Indented function call with multiple closure arguments can cause scope indent error
1695
+ - Fixed bug #1224 : PHPCBF fails to fix code with heredoc/nowdoc as first argument to a function
1696
+ </notes >
1697
+ </release >
1633
1698
<release >
1634
1699
<version >
1635
1700
<release >2.7.0</release >
0 commit comments