Skip to content

Commit

Permalink
Prepare for 3.0.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
gsherwood committed May 4, 2017
1 parent 414cd11 commit b95ff2c
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 8 deletions.
44 changes: 38 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>gsherwood@squiz.net</email>
<active>yes</active>
</lead>
<date>2017-03-02</date>
<time>09:30:00</time>
<date>2017-05-04</date>
<time>10:31:00</time>
<version>
<release>3.0.0RC5</release>
<api>3.0.0RC5</api>
<release>3.0.0</release>
<api>3.0.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 @@ -1548,6 +1548,38 @@ http://pear.php.net/dtd/package-2.0.xsd">
</filelist>
</phprelease>
<changelog>
<release>
<version>
<release>3.0.0</release>
<api>3.0.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<date>2017-05-04</date>
<license uri="https://github.com/squizlabs/PHP_CodeSniffer/blob/master/licence.txt">BSD License</license>
<notes>
- Added an --ignore-annotations command line argument to ignore all @codingStandards annotations in code comments (request #811)
-- This allows you to force errors to be shown that would otherwise be ignored by code comments
-- Also stop files being able to change sniff properties mid way through processing
- An error is now reported if no sniffs were registered to be run (request #1129)
- The autoloader will now search for files inside the directory of any loaded coding standard
-- This allows autoloading of any file inside a custom coding standard without manually requiring them
-- Ensure your namespace begins with your coding standard's directory name and follows PSR-4
-- e.g., StandardName\Sniffs\CategoryName\AbstractHelper or StandardName\Helpers\StringSniffHelper
- Fixed an error where STDIN was sometimes not checked when using the --parallel CLI option
- The is_closure index has been removed from the return value of File::getMethodProperties()
-- This value was always false becasue T_FUNCTION tokens are never closures
-- Closures have a token type of T_CLOSURE
- The File::isAnonymousFunction() method has been removed
-- This function always returned false because it only accepted T_FUNCTION tokens, which are never closures
-- Closures have a token type of T_CLOSURE
- Includes all changes from the 2.9.0 release
- Fixed bug #834 : PSR2.ControlStructures.SwitchDeclaration does not handle if branches with returns
-- Thanks to Fabian Wiget for the patch
</notes>
</release>
<release>
<version>
<release>3.0.0RC4</release>
Expand Down
4 changes: 2 additions & 2 deletions src/Config.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,14 @@ class Config
*
* @var string
*/
const VERSION = '3.0.0RC5';
const VERSION = '3.0.0';

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

/**
* An array of settings that PHPCS and PHPCBF accept.
Expand Down

0 comments on commit b95ff2c

Please sign in to comment.