From f7dfecbee89d68ab475a6c9e17d22bc9b69aed97 Mon Sep 17 00:00:00 2001 From: Greg Sherwood Date: Thu, 4 May 2017 09:30:39 +1000 Subject: [PATCH] Prepare for 2.9.0 release --- package.xml | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 53 insertions(+), 2 deletions(-) diff --git a/package.xml b/package.xml index fd6638b443..6ffb3c406a 100644 --- a/package.xml +++ b/package.xml @@ -14,8 +14,8 @@ http://pear.php.net/dtd/package-2.0.xsd"> gsherwood@squiz.net yes - 2017-03-02 - + 2017-04-04 + 2.9.0 2.9.0 @@ -2487,6 +2487,57 @@ http://pear.php.net/dtd/package-2.0.xsd"> + + + 2.9.0 + 2.9.0 + + + stable + stable + + 2017-04-04 + BSD License + + - Added Generic.Debug.ESLint sniff to run ESLint over JS files and report errors + -- Set eslint path using: phpcs --config-set eslint_path /path/to/eslint + -- Thanks to Ryan McCue for the contribution + - T_POW is now properly considered an arithmetic operator, and will be checked as such + -- Thanks to Juliette Reinders Folmer for the patch + - T_SPACESHIP and T_COALESCE are now properly considered comparison operators, and will be checked as such + -- Thanks to Juliette Reinders Folmer for the patch + - Generic.PHP.DisallowShortOpenTag now warns about possible short open tags even when short_open_tag is set to OFF + -- Thanks to Juliette Reinders Folmer for the patch + - Generic.WhiteSpace.DisallowTabIndent now finds and fixes inproper use of spaces anywhere inside the line indent + -- Previously, only the first part of the indent was used to determine the indent type + -- Thanks to Juliette Reinders Folmer for the patch + - PEAR.Commenting.ClassComment now supports checking of traits as well as classes and interfaces + -- Thanks to Juliette Reinders Folmer for the patch + - Squiz.Commenting.FunctionCommentThrowTag now supports re-throwing exceptions (request #946) + -- Thanks to Samuel Levy for the patch + - Squiz.PHP.DisallowMultipleAssignments now ignores PHP4-style member var assignments + -- Thanks to Juliette Reinders Folmer for the patch + - Squiz.WhiteSpace.FunctionSpacing now ignores spacing above functions when they are preceded by inline comments + -- Stops conflicts between this sniff and comment spacing sniffs + - Squiz.WhiteSpace.OperatorSpacing no longer checks the equal sign in declare statements + -- Thanks to Juliette Reinders Folmer for the patch + - Added missing error codes for a couple of sniffs so they can now be customised as normal + - Fixed bug #1266 : PEAR.WhiteSpace.ScopeClosingBrace can throw an error while fixing mixed PHP/HTML + - Fixed bug #1364 : Yield From values are not recognised as returned values in Squiz FunctionComment sniff + - Fixed bug #1373 : Error in tab expansion results in white-space of incorrect size + -- Thanks to Mark Clements for the patch + - Fixed bug #1381 : Tokenizer: derefencing incorrectly identified as short array + - Fixed bug #1387 : Squiz.ControlStructures.ControlSignature does not handle alt syntax when checking space after closing brace + - Fixed bug #1392 : Scope indent calculated incorrectly when using array destructuring + - Fixed bug #1394 : integer type hints appearing as TypeHintMissing instead of ScalarTypeHintMissing + -- PHP 7 type hints were also being shown when run under PHP 5 in some cases + - Fixed bug #1405 : Squiz.WhiteSpace.ScopeClosingBrace fails to fix closing brace within indented PHP tags + - Fixed bug #1421 : Ternaries used in constant scalar expression for param default misidentified by tokenizer + - Fixed bug #1431 : PHPCBF can't fix short open tags when they are not followed by a space + -- Thanks to Gonçalo Queirós for the patch + - Fixed bug #1432 : PHPCBF can make invalid fixes to inline JS control structures that make use of JS objects + + 2.8.1