Skip to content

Commit bd1e50b

Browse files
committed
Prepare for 1.5.1 release
1 parent 1a43cf6 commit bd1e50b

File tree

2 files changed

+40
-6
lines changed

2 files changed

+40
-6
lines changed

CodeSniffer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ class PHP_CodeSniffer
6969
*
7070
* @var string
7171
*/
72-
const VERSION = '1.5.0';
72+
const VERSION = '1.5.1';
7373

7474
/**
7575
* Package stability; either stable or beta.

package.xml

Lines changed: 39 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ http://pear.php.net/dtd/package-2.0.xsd">
1414
<email>[email protected]</email>
1515
<active>yes</active>
1616
</lead>
17-
<date>2013-11-28</date>
18-
<time>09:19:00</time>
17+
<date>2013-12-12</date>
18+
<time>14:07:00</time>
1919
<version>
20-
<release>1.5.0</release>
21-
<api>1.5.0</api>
20+
<release>1.5.1</release>
21+
<api>1.5.1</api>
2222
</version>
2323
<stability>
2424
<release>stable</release>
@@ -2247,10 +2247,44 @@ http://pear.php.net/dtd/package-2.0.xsd">
22472247
</filelist>
22482248
</phprelease>
22492249
<changelog>
2250+
<release>
2251+
<version>
2252+
<release>1.5.1</release>
2253+
<api>1.5.1</api>
2254+
</version>
2255+
<stability>
2256+
<release>stable</release>
2257+
<api>stable</api>
2258+
</stability>
2259+
<date>2013-12-12</date>
2260+
<license uri="https://github.com/squizlabs/PHP_CodeSniffer/blob/master/licence.txt">BSD License</license>
2261+
<notes>
2262+
- Config values can now be set at runtime using the command line argument [--runtime-set key value]
2263+
-- Runtime values are the same as config values, but are not written to the main config file
2264+
-- Thanks to Wim Godden for the patch
2265+
- Config values can now be set in ruleset files
2266+
-- e.g., config name="zend_ca_path" value="/path/to/ZendCodeAnalyzer"
2267+
-- Can not be used to set config values that override command line values, such as show_warnings
2268+
-- Thanks to Jonathan Marcil for helping with the patch
2269+
- Added a new installed_paths config value to allow for the setting of directories that contain standards
2270+
-- By default, standards have to be installed into the CodeSniffer/Standards directory to be considered installed
2271+
-- New config value allows a list of paths to be set in addition to this internal path
2272+
-- Installed standards appear when using the -i arg, and can be referenced in rulesets using only their name
2273+
-- Set paths by running: phpcs --config-set installed_paths /path/one,/path/two,...
2274+
- PSR2 ClassDeclarationSniff now allows a list of extended interfaces to be split across multiple lines
2275+
- Squiz DoubleQuoteUsageSniff now allows \b in double quoted strings
2276+
- Generic ForbiddenFunctionsSniff now ignores object creation
2277+
-- This is a further fix for bug #20100 : incorrect Function mysql() has been deprecated report
2278+
- Fixed bug #20136 : Squiz_Sniffs_WhiteSpace_ScopeKeywordSpacingSniff and Traits
2279+
- Fixed bug #20138 : Protected property underscore and camel caps issue (in trait with Zend)
2280+
-- Thanks to Gaetan Rousseau for the patch
2281+
- Fixed bug #20139 : No report file generated on success
2282+
</notes>
2283+
</release>
22502284
<release>
22512285
<version>
22522286
<release>1.5.0</release>
2253-
<api>1.5.0R</api>
2287+
<api>1.5.0</api>
22542288
</version>
22552289
<stability>
22562290
<release>stable</release>

0 commit comments

Comments
 (0)