@@ -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-11-30 </date >
18
- <time >15:21 :00</time >
17
+ <date >2017-02-02 </date >
18
+ <time >14:50 :00</time >
19
19
<version >
20
20
<release >3.0.0RC3</release >
21
21
<api >3.0.0RC3</api >
@@ -1543,6 +1543,40 @@ http://pear.php.net/dtd/package-2.0.xsd">
1543
1543
</filelist >
1544
1544
</phprelease >
1545
1545
<changelog >
1546
+ <release >
1547
+ <version >
1548
+ <release >3.0.0RC3</release >
1549
+ <api >3.0.0RC3</api >
1550
+ </version >
1551
+ <stability >
1552
+ <release >beta</release >
1553
+ <api >beta</api >
1554
+ </stability >
1555
+ <date >2017-02-02</date >
1556
+ <license uri =" https://github.com/squizlabs/PHP_CodeSniffer/blob/master/licence.txt" >BSD License</license >
1557
+ <notes >
1558
+ - Added support for ES6 class declarations
1559
+ -- Previously, these class were tokenized as JS objects but are now tokenzied as normal T_CLASS structures
1560
+ - Added support for ES6 method declarations, where the "function" keyword is not used
1561
+ -- Previously, these methods were tokenized as JS objects (fixes bug #1251)
1562
+ -- The name of the ES6 method is now assigned the T_FUNCTION keyword and treated like a normal function
1563
+ -- Custom sniffs that support JS and listen for T_FUNCTION tokens can't assume the token represents the word "function"
1564
+ -- Check the contents of the token first, or use $phpcsFile->getDeclarationName($stackPtr) if you just want its name
1565
+ -- There is no change for custom sniffs that only check PHP code
1566
+ - PHPCBF exit codes have been changed so they are now more useful (request #1270)
1567
+ -- Exit code 0 is now used to indicate that no fixable errors were found, and so nothing was fixed
1568
+ -- Exit code 1 is now used to indicate that all fixable errors were fixed correctly
1569
+ -- Exit code 2 is now used to indicate that PHPCBF failed to fix some of the fixable errors it found
1570
+ -- Exit code 3 is now used for general script execution errors
1571
+ - Added PEAR.Commenting.FileComment.ParamCommentAlignment to check alignment of multi-line param comments
1572
+ - Includes all changes from the 2.7.2 release
1573
+ - Fixed an issue where excluding a file using a @codingStandardsIgnoreFile comment would produce errors
1574
+ -- For PHPCS, it would show empty files being processed
1575
+ -- For PHPCBF, it would produce a PHP error
1576
+ - Fixed bug #1233 : Can't set config data inside ruleset.xml file
1577
+ - Fixed bug #1241 : CodeSniffer.conf not working with 3.x PHAR file
1578
+ </notes >
1579
+ </release >
1546
1580
<release >
1547
1581
<version >
1548
1582
<release >3.0.0RC2</release >
0 commit comments