-
-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
53 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,8 +14,8 @@ http://pear.php.net/dtd/package-2.0.xsd"> | |
<email>[email protected]</email> | ||
<active>yes</active> | ||
</lead> | ||
<date>2017-03-02</date> | ||
<time>09:12:00</time> | ||
<date>2017-04-04</date> | ||
<time>09:30:00</time> | ||
<version> | ||
<release>2.9.0</release> | ||
<api>2.9.0</api> | ||
|
@@ -2487,6 +2487,57 @@ http://pear.php.net/dtd/package-2.0.xsd"> | |
</filelist> | ||
</phprelease> | ||
<changelog> | ||
<release> | ||
<version> | ||
<release>2.9.0</release> | ||
<api>2.9.0</api> | ||
</version> | ||
<stability> | ||
<release>stable</release> | ||
<api>stable</api> | ||
</stability> | ||
<date>2017-04-04</date> | ||
<license uri="https://github.com/squizlabs/PHP_CodeSniffer/blob/master/licence.txt">BSD License</license> | ||
<notes> | ||
- 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 | ||
</notes> | ||
</release> | ||
<release> | ||
<version> | ||
<release>2.8.1</release> | ||
|