Skip to content

Commit c7594a8

Browse files
committed
Prepare for 3.0.2 release
1 parent 80cfe34 commit c7594a8

File tree

1 file changed

+44
-2
lines changed

1 file changed

+44
-2
lines changed

package.xml

+44-2
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ http://pear.php.net/dtd/package-2.0.xsd">
1414
<email>[email protected]</email>
1515
<active>yes</active>
1616
</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>
1919
<version>
2020
<release>3.0.2</release>
2121
<api>3.0.2</api>
@@ -1563,6 +1563,48 @@ http://pear.php.net/dtd/package-2.0.xsd">
15631563
</filelist>
15641564
</phprelease>
15651565
<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>
15661608
<release>
15671609
<version>
15681610
<release>3.0.1</release>

0 commit comments

Comments
 (0)