@@ -2281,6 +2281,74 @@ http://pear.php.net/dtd/package-2.0.xsd">
2281
2281
</filelist >
2282
2282
</phprelease >
2283
2283
<changelog >
2284
+ <release >
2285
+ <version >
2286
+ <release >1.5.0RC4</release >
2287
+ <api >1.5.0RC4</api >
2288
+ </version >
2289
+ <stability >
2290
+ <release >beta</release >
2291
+ <api >beta</api >
2292
+ </stability >
2293
+ <date >2013-09-26</date >
2294
+ <license uri =" https://github.com/squizlabs/PHP_CodeSniffer/blob/master/licence.txt" >BSD License</license >
2295
+ <notes >
2296
+ - You can now restrict violations to individual sniff codes using the --sniffs command line argument
2297
+ -- Previously, this only restricted violations to an entire sniff and not individual messages
2298
+ -- If you have scripts calling PHP_CodeSniffer::process() or creating PHP_CodeSniffer_File objects, you must update your code
2299
+ -- The array of restrictions passed to PHP_CodeSniffer::process() must now be an array of sniff codes instead of class names
2300
+ -- The PHP_CodeSniffer_File::__construct() method now requires an array of restrictions to be passed
2301
+ - Doc generation is now working again
2302
+ - Progress information now shows the percentage complete at the end of each line
2303
+ - Added report type --report=junit to show the error list in a JUnit compatible format
2304
+ -- Thanks to Oleg Lobach for the contribution
2305
+ - Added support for the PHP 5.4 callable type hint
2306
+ - Fixed problem where some file content could be ignored when checking STDIN
2307
+ - Version information is now printed when installed via composer or run from a Git clone (request #20050)
2308
+ - Added Squiz DisallowBooleanStatementSniff to ban boolean operators outside of control structure conditions
2309
+ - The CSS tokenizer is now more reliable when encountering 'list' and 'break' strings
2310
+ - Coding standard ignore comments can now appear instead doc blocks as well as inline comments
2311
+ -- Thanks to Stuart Langley for the patch
2312
+ - Generic LineLengthSniff now ignores SVN URL and Head URL comments
2313
+ -- Thanks to Karl DeBisschop for the patch
2314
+ - PEAR MultiLineConditionSniff now has a setting to specify how many spaces code should be indented
2315
+ -- Default remains at 4; override the 'indent' setting in a ruleset.xml file to change
2316
+ -- Thanks to Szabolcs Sulik for the patch
2317
+ - PEAR MultiLineAssignmentSniff now has a setting to specify how many spaces code should be indented
2318
+ -- Default remains at 4; override the 'indent' setting in a ruleset.xml file to change
2319
+ -- Thanks to Szabolcs Sulik for the patch
2320
+ - PEAR FunctionDeclarationSniff now has a setting to specify how many spaces code should be indented
2321
+ -- Default remains at 4; override the 'indent' setting in a ruleset.xml file to change
2322
+ -- Thanks to Szabolcs Sulik for the patch
2323
+ - Squiz SwitchDeclarationSniff now has a setting to specify how many spaces code should be indented
2324
+ -- Default remains at 4; override the 'indent' setting in a ruleset.xml file to change
2325
+ -- Thanks to Szabolcs Sulik for the patch
2326
+ - Squiz CSS IndentationSniff now has a setting to specify how many spaces code should be indented
2327
+ -- Default remains at 4; override the 'indent' setting in a ruleset.xml file to change
2328
+ -- Thanks to Hugo Fonseca for the patch
2329
+ - Squiz and MySource File and Function comment sniffs now allow all tags and don't require a particular licence
2330
+ - Squiz standard now allows lines to be 120 characters long before warning; up from 85
2331
+ - Squiz LowercaseStyleDefinitionSniff no longer throws errors for class names in nested style definitions
2332
+ - Squiz ClassFileNameSniff no longer throws errors when checking STDIN
2333
+ - Squiz CSS sniffs no longer generate errors for IE filters
2334
+ - Squiz CSS IndentationSniff no longer sees comments as blank lines
2335
+ - Squiz LogicalOperatorSpacingSniff now ignores whitespace at the end of a line
2336
+ - Squiz.Scope.MethodScope.Missing error message now mentions 'visibility' instead of 'scope modifier'
2337
+ -- Thanks to Renat Akhmedyanov for the patch
2338
+ - Added support for the PSR2 multi-line arguments errata
2339
+ - The PSR2 standard no longer throws errors for additional spacing after a type hint
2340
+ - PSR UseDeclarationSniff no longer throws errors for USE statements inside TRAITs
2341
+ - Fixed cases where code was incorrectly assigned the T_GOTO_LABEL token when used in a complex CASE condition
2342
+ - Fixed bug #20026 : Check for multi-line arrays that should be single-line is slightly wrong
2343
+ -- Adds new error message for single-line arrays that end with a comma
2344
+ - Fixed bug #20029 : ForbiddenFunction sniff incorrectly recognizes methods in USE clauses
2345
+ - Fixed bug #20043 : Mis-interpretation of Foo::class
2346
+ - Fixed bug #20044 : PSR1 camelCase check does not ignore leading underscores
2347
+ - Fixed bug #20045 : Errors about indentation for closures with multi-line 'use' in functions
2348
+ - Fixed bug #20051 : Undefined index: scope_opener / scope_closer
2349
+ -- Thanks to Anthon Pang for the patch
2350
+ </notes >
2351
+ </release >
2284
2352
<release >
2285
2353
<version >
2286
2354
<release >1.5.0RC3</release >
0 commit comments