Skip to content

Commit b95ff2c

Browse files
committed
Prepare for 3.0.0 release
1 parent 414cd11 commit b95ff2c

File tree

2 files changed

+40
-8
lines changed

2 files changed

+40
-8
lines changed

package.xml

+38-6
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,15 @@ http://pear.php.net/dtd/package-2.0.xsd">
1414
<email>[email protected]</email>
1515
<active>yes</active>
1616
</lead>
17-
<date>2017-03-02</date>
18-
<time>09:30:00</time>
17+
<date>2017-05-04</date>
18+
<time>10:31:00</time>
1919
<version>
20-
<release>3.0.0RC5</release>
21-
<api>3.0.0RC5</api>
20+
<release>3.0.0</release>
21+
<api>3.0.0</api>
2222
</version>
2323
<stability>
24-
<release>beta</release>
25-
<api>beta</api>
24+
<release>stable</release>
25+
<api>stable</api>
2626
</stability>
2727
<license uri="https://github.com/squizlabs/PHP_CodeSniffer/blob/master/licence.txt">BSD 3-Clause License</license>
2828
<notes>
@@ -1548,6 +1548,38 @@ http://pear.php.net/dtd/package-2.0.xsd">
15481548
</filelist>
15491549
</phprelease>
15501550
<changelog>
1551+
<release>
1552+
<version>
1553+
<release>3.0.0</release>
1554+
<api>3.0.0</api>
1555+
</version>
1556+
<stability>
1557+
<release>stable</release>
1558+
<api>stable</api>
1559+
</stability>
1560+
<date>2017-05-04</date>
1561+
<license uri="https://github.com/squizlabs/PHP_CodeSniffer/blob/master/licence.txt">BSD License</license>
1562+
<notes>
1563+
- Added an --ignore-annotations command line argument to ignore all @codingStandards annotations in code comments (request #811)
1564+
-- This allows you to force errors to be shown that would otherwise be ignored by code comments
1565+
-- Also stop files being able to change sniff properties mid way through processing
1566+
- An error is now reported if no sniffs were registered to be run (request #1129)
1567+
- The autoloader will now search for files inside the directory of any loaded coding standard
1568+
-- This allows autoloading of any file inside a custom coding standard without manually requiring them
1569+
-- Ensure your namespace begins with your coding standard's directory name and follows PSR-4
1570+
-- e.g., StandardName\Sniffs\CategoryName\AbstractHelper or StandardName\Helpers\StringSniffHelper
1571+
- Fixed an error where STDIN was sometimes not checked when using the --parallel CLI option
1572+
- The is_closure index has been removed from the return value of File::getMethodProperties()
1573+
-- This value was always false becasue T_FUNCTION tokens are never closures
1574+
-- Closures have a token type of T_CLOSURE
1575+
- The File::isAnonymousFunction() method has been removed
1576+
-- This function always returned false because it only accepted T_FUNCTION tokens, which are never closures
1577+
-- Closures have a token type of T_CLOSURE
1578+
- Includes all changes from the 2.9.0 release
1579+
- Fixed bug #834 : PSR2.ControlStructures.SwitchDeclaration does not handle if branches with returns
1580+
-- Thanks to Fabian Wiget for the patch
1581+
</notes>
1582+
</release>
15511583
<release>
15521584
<version>
15531585
<release>3.0.0RC4</release>

src/Config.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,14 @@ class Config
2222
*
2323
* @var string
2424
*/
25-
const VERSION = '3.0.0RC5';
25+
const VERSION = '3.0.0';
2626

2727
/**
2828
* Package stability; either stable, beta or alpha.
2929
*
3030
* @var string
3131
*/
32-
const STABILITY = 'beta';
32+
const STABILITY = 'stable';
3333

3434
/**
3535
* An array of settings that PHPCS and PHPCBF accept.

0 commit comments

Comments
 (0)