Skip to content

Commit

Permalink
Prepare for 1.5.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
gsherwood committed Nov 27, 2013
1 parent e5bdaad commit 0191c4f
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 8 deletions.
4 changes: 2 additions & 2 deletions CodeSniffer.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,14 +69,14 @@ class PHP_CodeSniffer
*
* @var string
*/
const VERSION = '1.5.0RC5';
const VERSION = '1.5.0';

/**
* Package stability; either stable or beta.
*
* @var string
*/
const STABILITY = 'beta';
const STABILITY = 'stable';

/**
* The file or directory that is currently being processed.
Expand Down
52 changes: 46 additions & 6 deletions package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@ http://pear.php.net/dtd/package-2.0.xsd">
<email>[email protected]</email>
<active>yes</active>
</lead>
<date>2013-09-26</date>
<time>10:09:00</time>
<date>2013-11-28</date>
<time>09:19:00</time>
<version>
<release>1.5.0RC5</release>
<api>1.5.0RC5</api>
<release>1.5.0</release>
<api>1.5.0</api>
</version>
<stability>
<release>beta</release>
<api>beta</api>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="https://github.com/squizlabs/PHP_CodeSniffer/blob/master/licence.txt">BSD 3-Clause License</license>
<notes>
Expand Down Expand Up @@ -2253,6 +2253,46 @@ http://pear.php.net/dtd/package-2.0.xsd">
</filelist>
</phprelease>
<changelog>
<release>
<version>
<release>1.5.0</release>
<api>1.5.0R</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<date>2013-11-28</date>
<license uri="https://github.com/squizlabs/PHP_CodeSniffer/blob/master/licence.txt">BSD License</license>
<notes>
- Doc generation is now working again for installed standards
-- Includes a fix for limiting the docs to specific sniffs
- Generic ScopeIndentSniff now allows for ignored tokens to be set via ruleset.xml files
-- E.g., to ignore comments, override a property using:
-- name="ignoreIndentationTokens" type="array" value="T_COMMENT,T_DOC_COMMENT"
- PSR2 standard now ignores comments when checking indentation rules
- Generic UpperCaseConstantNameSniff no longer reports errors where constants are used (request #20090)
-- It still reports errors where constants are defined
- Individual messages can now be excluded in ruleset.xml files using the exclude tag (request #20091)
-- Setting message severity to 0 continues to be supported
- Squiz OperatorSpacingSniff no longer throws errors for the ?: short ternary operator
-- Thanks to Antoine Musso for the patch
- Comment parser now supports non-English characters when splitting comment lines into words
-- Thanks to Nik Sun for the patch
- Exit statements are now recognised as valid closers for CASE and DEFAULT blocks
-- Thanks to Maksim Kochkin for the patch
- PHP_CodeSniffer_CLI::process() can now be passed an incomplete array of CLI values
-- Missing values will be set to the CLI defaults
-- Thanks to Maksim Kochkin for the patch
- Fixed bug #20093 : Bug with ternary operator token
- Fixed bug #20097 : CLI.php throws error in php 5.2
- Fixed bug #20100 : incorrect Function mysql() has been deprecated report
- Fixed bug #20119 : PHP warning: invalid argument to str_repeat() in SVN blame report with -s
- Fixed bug #20123 : PSR2 complains about an empty second statement in for-loop
- Fixed bug #20131 : PHP errors in svnblame report, if there are files not under version control
- Fixed bug #20133 : Allow "HG: hg_id" as value for @version tag
</notes>
</release>
<release>
<version>
<release>1.5.0RC4</release>
Expand Down

0 comments on commit 0191c4f

Please sign in to comment.