@@ -17,52 +17,16 @@ http://pear.php.net/dtd/package-2.0.xsd">
17
17
<date >2017-05-04</date >
18
18
<time >09:30:00</time >
19
19
<version >
20
- <release >2.9.0 </release >
21
- <api >2.9.0 </api >
20
+ <release >2.9.1 </release >
21
+ <api >2.9.1 </api >
22
22
</version >
23
23
<stability >
24
24
<release >stable</release >
25
25
<api >stable</api >
26
26
</stability >
27
27
<license uri =" https://github.com/squizlabs/PHP_CodeSniffer/blob/master/licence.txt" >BSD 3-Clause License</license >
28
28
<notes >
29
- - Added Generic.Debug.ESLint sniff to run ESLint over JS files and report errors
30
- -- Set eslint path using: phpcs --config-set eslint_path /path/to/eslint
31
- -- Thanks to Ryan McCue for the contribution
32
- - T_POW is now properly considered an arithmetic operator, and will be checked as such
33
- -- Thanks to Juliette Reinders Folmer for the patch
34
- - T_SPACESHIP and T_COALESCE are now properly considered comparison operators, and will be checked as such
35
- -- Thanks to Juliette Reinders Folmer for the patch
36
- - Generic.PHP.DisallowShortOpenTag now warns about possible short open tags even when short_open_tag is set to OFF
37
- -- Thanks to Juliette Reinders Folmer for the patch
38
- - Generic.WhiteSpace.DisallowTabIndent now finds and fixes inproper use of spaces anywhere inside the line indent
39
- -- Previously, only the first part of the indent was used to determine the indent type
40
- -- Thanks to Juliette Reinders Folmer for the patch
41
- - PEAR.Commenting.ClassComment now supports checking of traits as well as classes and interfaces
42
- -- Thanks to Juliette Reinders Folmer for the patch
43
- - Squiz.Commenting.FunctionCommentThrowTag now supports re-throwing exceptions (request #946)
44
- -- Thanks to Samuel Levy for the patch
45
- - Squiz.PHP.DisallowMultipleAssignments now ignores PHP4-style member var assignments
46
- -- Thanks to Juliette Reinders Folmer for the patch
47
- - Squiz.WhiteSpace.FunctionSpacing now ignores spacing above functions when they are preceded by inline comments
48
- -- Stops conflicts between this sniff and comment spacing sniffs
49
- - Squiz.WhiteSpace.OperatorSpacing no longer checks the equal sign in declare statements
50
- -- Thanks to Juliette Reinders Folmer for the patch
51
- - Added missing error codes for a couple of sniffs so they can now be customised as normal
52
- - Fixed bug #1266 : PEAR.WhiteSpace.ScopeClosingBrace can throw an error while fixing mixed PHP/HTML
53
- - Fixed bug #1364 : Yield From values are not recognised as returned values in Squiz FunctionComment sniff
54
- - Fixed bug #1373 : Error in tab expansion results in white-space of incorrect size
55
- -- Thanks to Mark Clements for the patch
56
- - Fixed bug #1381 : Tokenizer: derefencing incorrectly identified as short array
57
- - Fixed bug #1387 : Squiz.ControlStructures.ControlSignature does not handle alt syntax when checking space after closing brace
58
- - Fixed bug #1392 : Scope indent calculated incorrectly when using array destructuring
59
- - Fixed bug #1394 : integer type hints appearing as TypeHintMissing instead of ScalarTypeHintMissing
60
- -- PHP 7 type hints were also being shown when run under PHP 5 in some cases
61
- - Fixed bug #1405 : Squiz.WhiteSpace.ScopeClosingBrace fails to fix closing brace within indented PHP tags
62
- - Fixed bug #1421 : Ternaries used in constant scalar expression for param default misidentified by tokenizer
63
- - Fixed bug #1431 : PHPCBF can't fix short open tags when they are not followed by a space
64
- -- Thanks to Gonçalo Queirós for the patch
65
- - Fixed bug #1432 : PHPCBF can make invalid fixes to inline JS control structures that make use of JS objects
29
+ - Fixed bug #1442 : T_NULLABLE detection not working for nullable parameters and return type hints in some cases
66
30
</notes >
67
31
<contents >
68
32
<dir name =" /" >
0 commit comments