Skip to content

Commit 1bcdf03

Browse files
committed
Prepare for 2.6.0 release
1 parent 6936deb commit 1bcdf03

File tree

1 file changed

+75
-1
lines changed

1 file changed

+75
-1
lines changed

package.xml

+75-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ http://pear.php.net/dtd/package-2.0.xsd">
1414
<email>[email protected]</email>
1515
<active>yes</active>
1616
</lead>
17-
<date>2016-01-20</date>
17+
<date>2016-04-04</date>
1818
<time>10:19:00</time>
1919
<version>
2020
<release>2.6.0</release>
@@ -2408,6 +2408,80 @@ http://pear.php.net/dtd/package-2.0.xsd">
24082408
</filelist>
24092409
</phprelease>
24102410
<changelog>
2411+
<release>
2412+
<version>
2413+
<release>2.6.0</release>
2414+
<api>2.6.0</api>
2415+
</version>
2416+
<stability>
2417+
<release>stable</release>
2418+
<api>stable</api>
2419+
</stability>
2420+
<date>2016-04-04</date>
2421+
<license uri="https://github.com/squizlabs/PHP_CodeSniffer/blob/master/licence.txt">BSD License</license>
2422+
<notes>
2423+
- Paths used when setting CLI arguments inside ruleset.xml files are now relative to the ruleset location (request #847)
2424+
-- This change only applies to paths within ARG tags, used to set CLI arguments
2425+
-- Previously, the paths were relative to the directory PHPCS was being run from
2426+
-- Absolute paths are still allowed and work the same way they always have
2427+
-- This change allows ruleset.xml files to be more portable
2428+
- Content passed via STDIN will now be processed even if files are specified on the command line or in a ruleset
2429+
- When passing content via STDIN, you can now specify the file path to use on the command line (request #934)
2430+
-- This allows sniffs that check file paths to work correctly
2431+
-- This is the same functionality provided by the phpcs_input_file line, except it is available on the command line
2432+
- Files processed with custom tokenizers will no longer be skipped if they appear minified (request #877)
2433+
-- If the custom tokenizer wants minified files skipped, it can set a $skipMinified member var to TRUE
2434+
-- See the included JS and CSS tokenizers for an example
2435+
- Config vars set in ruleset.xml files are now processed earlier, allowing them to be used during sniff registration
2436+
-- Among other things, this allows the installed_paths config var to be set in ruleset.xml files
2437+
-- Thanks to Pieter Frenssen for the patch
2438+
- Improved detection of regular expressions in the JS tokenizer
2439+
- Generic PHP Syntax sniff now uses PHP_BINARY (if available) to determine the path to PHP if no other path is available
2440+
-- You can still manually set php_path to use a specific binary for testing
2441+
-- Thanks to Andrew Berry for the patch
2442+
- The PHP-supplied T_POW_EQUAL token has been replicated for PHP versions before 5.6
2443+
- Added support for PHP7 use group declarations (request #878)
2444+
-- New tokens T_OPEN_USE_GROUP and T_CLOSE_USE_GROUP are assigned to the open and close curly braces
2445+
- Generic ScopeIndent sniff now reports errors for every line that needs the indent changed (request #903)
2446+
-- Previously, it ignored lines that were indented correctly in the context of their block
2447+
-- This change produces more technically accurate error messages, but is much more verbose
2448+
- The PSR2 and Squiz standards now allow multi-line default values in function declarations (request #542)
2449+
-- Previously, these would automatically make the function a multi-line declaration
2450+
- Squiz InlineCommentSniff now allows docblocks on require(_once) and include(_once) statements
2451+
-- Thanks to Gary Jones for the patch
2452+
- Squiz and PEAR Class and File sniffs no longer assume the first comment in a file is always a file comment
2453+
-- phpDocumentor assigns the comment to the file only if it is not followed by a structural element
2454+
-- These sniffs now follow this same rule
2455+
- Squiz ClassCommentSniff no longer checks for blank lines before class comments
2456+
-- Removes the error Squiz.Commenting.ClassComment.SpaceBefore
2457+
- Renamed Squiz.CSS.Opacity.SpacingAfterPoint to Squiz.CSS.Opacity.DecimalPrecision
2458+
-- Please update your ruleset if you are referencing this error code directly
2459+
- Fixed PHP tokenizer problem that caused an infinite loop when checking a comment with specific content
2460+
- Generic Disallow Space and Tab indent sniffs now detect and fix indents inside embedded HTML chunks (request #882)
2461+
- Squiz CSS IndentationSniff no longer assumes the class opening brace is at the end of a line
2462+
- Squiz FunctionCommentThrowTagSniff now ignores non-docblock comments
2463+
- Squiz ComparisonOperatorUsageSniff now allows conditions like while(true)
2464+
- PEAR FunctionCallSignatureSniff (and the Squiz and PSR2 sniffs that use it) now correctly check the first argument
2465+
-- Further fix for bug #698
2466+
- Fixed bug #791 : codingStandardsChangeSetting settings not working with namespaces
2467+
- Fixed bug #872 : Incorrect detection of blank lines between CSS class names
2468+
- Fixed bug #879 : Generic InlineControlStructureSniff can create parse error when case/if/elseif/else have mixed brace and braceless definitions
2469+
- Fixed bug #883 : PSR2 is not checking for blank lines at the start and end of control structures
2470+
- Fixed bug #884 : Incorrect indentation notice for anonymous classes
2471+
- Fixed bug #887 : Using curly braces for a shared CASE/DEFAULT statement can generate an error in PSR2 SwitchDeclaration
2472+
- Fixed bug #889 : Closure inside catch/else/elseif causes indentation error
2473+
- Fixed bug #890 : Function call inside returned short array value can cause indentation error inside CASE statements
2474+
- Fixed bug #897 : Generic.Functions.CallTimePassByReference.NotAllowed false positive when short array syntax
2475+
- Fixed bug #900 : Squiz.Functions.FunctionDeclarationArgumentSpacing bug when no space between type hint and argument
2476+
- Fixed bug #902 : T_OR_EQUAL and T_POW_EQUAL are not seen as assignment tokens
2477+
- Fixed bug #910 : Unrecognized "extends" and indentation on anonymous classes
2478+
- Fixed bug #915 : JS Tokenizer generates errors when processing some decimals
2479+
- Fixed bug #928 : Endless loop when sniffing a PHP file with a git merge conflict inside a function
2480+
- Fixed bug #937 : Shebang can cause PSR1 SideEffects warning
2481+
-- Thanks to Clay Loveless for the patch
2482+
- Fixed bug #938 : CallTimePassByReferenceSniff ignores functions with return value
2483+
</notes>
2484+
</release>
24112485
<release>
24122486
<version>
24132487
<release>2.5.1</release>

0 commit comments

Comments
 (0)