@@ -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-06-14 </date >
18
- <time >11:21 :00</time >
17
+ <date >2017-07-18 </date >
18
+ <time >11:11 :00</time >
19
19
<version >
20
20
<release >3.0.2</release >
21
21
<api >3.0.2</api >
@@ -1563,6 +1563,48 @@ http://pear.php.net/dtd/package-2.0.xsd">
1563
1563
</filelist >
1564
1564
</phprelease >
1565
1565
<changelog >
1566
+ <release >
1567
+ <version >
1568
+ <release >3.0.2</release >
1569
+ <api >3.0.2</api >
1570
+ </version >
1571
+ <stability >
1572
+ <release >stable</release >
1573
+ <api >stable</api >
1574
+ </stability >
1575
+ <date >2017-07-18</date >
1576
+ <license uri =" https://github.com/squizlabs/PHP_CodeSniffer/blob/master/licence.txt" >BSD License</license >
1577
+ <notes >
1578
+ - Fixed a problem where the source report was not printing the correct number of errors found
1579
+ - Fixed a problem where the --cache=/path/to/cachefile CLI argument was not working
1580
+ - The code report now gracefully handles tokenizer exceptions
1581
+ - The phpcs and phpcbf scripts and now the only places that exit() in the code
1582
+ -- This allows for easier usage of core PHPCS functions from external scripts
1583
+ -- If you are calling Runner::runPHPCS() or Runner::runPHPCBF() directly, you will get back the full range of exit codes
1584
+ -- If not, catch the new DeepExitException to get the error message ($e->getMessage()) and exit code ($e->getCode());
1585
+ - NOWDOC tokens are now considered conditions, just as HEREDOC tokens are
1586
+ -- This makes it easier to find the start and end of a NOWDOC from any token within it
1587
+ -- Thanks to Michał Bundyra for the patch
1588
+ - Custom autoloaders are now only included once in case multiple standards are using the same one
1589
+ -- Thanks to Juliette Reinders Folmer for the patch
1590
+ - Improved tokenizing of fallthrough CASE and DEFAULT statements that share a closing statement and use curly braces
1591
+ - Improved the error message when Squiz.ControlStructures.ControlSignature detects a newline after the closing parenthesis
1592
+ - Fixed bug #1465 : Generic.WhiteSpace.ScopeIndent reports incorrect errors when indenting double arrows in short arrays
1593
+ - Fixed bug #1478 : Indentation in fallthrough CASE that contains a closure
1594
+ - Fixed bug #1497 : Fatal error if composer prepend-autoloader is set to false
1595
+ -- Thanks to Kunal Mehta for the patch
1596
+ - Fixed bug #1503 : Alternative control structure syntax not always recognized as scoped
1597
+ - Fixed bug #1523 : Fatal error when using the --suffix argument
1598
+ -- Thanks to Juliette Reinders Folmer for the patch
1599
+ - Fixed bug #1526 : Use of basepath setting can stop PHPCBF being able to write fixed files
1600
+ - Fixed bug #1530 : Generic.WhiteSpace.ScopeIndent can increase indent too much for lines within code blocks
1601
+ - Fixed bug #1547 : Wrong token type for backslash in use function
1602
+ -- Thanks to Michał Bundyra for the patch
1603
+ - Fixed bug #1549 : Squiz.PHP.EmbeddedPhp fixer conflict with // comment before PHP close tag
1604
+ -- Thanks to Juliette Reinders Folmer for the patch
1605
+ - Fixed bug #1560 : Squiz.Commenting.FunctionComment fatal error when fixing additional param comment lines that have no indent
1606
+ </notes >
1607
+ </release >
1566
1608
<release >
1567
1609
<version >
1568
1610
<release >3.0.1</release >
0 commit comments