Skip to content

Commit 8dd16e8

Browse files
committed
Changelog for #3448 (ref #3449)
1 parent f268ca4 commit 8dd16e8

File tree

2 files changed

+5
-75
lines changed

2 files changed

+5
-75
lines changed

package.xml

Lines changed: 4 additions & 74 deletions
Original file line numberDiff line numberDiff line change
@@ -17,87 +17,17 @@ http://pear.php.net/dtd/package-2.0.xsd">
1717
<date>2021-10-11</date>
1818
<time>14:58:00</time>
1919
<version>
20-
<release>3.6.1</release>
21-
<api>3.6.1</api>
20+
<release>3.6.2</release>
21+
<api>3.6.2</api>
2222
</version>
2323
<stability>
2424
<release>stable</release>
2525
<api>stable</api>
2626
</stability>
2727
<license uri="https://github.com/squizlabs/PHP_CodeSniffer/blob/master/licence.txt">BSD 3-Clause License</license>
2828
<notes>
29-
- PHPCS annotations can now be specified using hash-style comments
30-
-- Previously, only slash-style and block-style comments could be used to do things like disable errors
31-
-- Thanks to Juliette Reinders Folmer for the patch
32-
- Fixed an issue where some sniffs would not run on PHP files that only used the short echo tag
33-
-- The following sniffs were affected:
34-
--- Generic.Files.ExecutableFile
35-
--- Generic.Files.LowercasedFilename
36-
--- Generic.Files.LineEndings
37-
--- Generic.Files.EndFileNewline
38-
--- Generic.Files.EndFileNoNewline
39-
--- Generic.PHP.ClosingPHPTag
40-
--- Generic.PHP.Syntax
41-
--- Generic.VersionControl.GitMergeConflict
42-
--- Generic.WhiteSpace.DisallowSpaceIndent
43-
--- Generic.WhiteSpace.DisallowTabIndent
44-
-- Thanks to Juliette Reinders Folmer for the patch
45-
- The new PHP 8.1 tokenisation for ampersands has been reverted to use the existing PHP_CodeSniffer method
46-
-- The PHP 8.1 tokens T_AMPERSAND_FOLLOWED_BY_VAR_OR_VARARG and T_AMPERSAND_NOT_FOLLOWED_BY_VAR_OR_VARARG are unsued
47-
-- Ampersands continue to be tokenized as T_BITWISE_AND for all PHP versions
48-
-- Thanks to Juliette Reinders Folmer and Anna Filina for the patch
49-
- File::getMethodParameters() no longer incorrectly returns argument attributes in the type hint array index
50-
-- A new has_attributes array index is available and set to TRUE if the argument has attributes defined
51-
-- Thanks to Juliette Reinders Folmer for the patch
52-
- Generic.NamingConventions.ConstructorName no longer throws deprecation notices on PHP 8.1
53-
-- Thanks to Juliette Reinders Folmer for the patch
54-
- Squiz.Commenting.BlockComment now correctly applies rules for block comments after a short echo tag
55-
-- Thanks to Juliette Reinders Folmer for the patch
56-
- Fixed false positives when using attributes in the following sniffs:
57-
-- PEAR.Commenting.FunctionComment
58-
-- Squiz.Commenting.InlineComment
59-
-- Squiz.Commenting.BlockComment
60-
-- Squiz.Commenting.VariableComment
61-
-- Squiz.WhiteSpace.MemberVarSpacing
62-
-- Thanks to Juliette Reinders Folmer for the patch
63-
- Fixed bug #3294 : Bug in attribute tokenization when content contains PHP end token or attribute closer on new line
64-
-- Thanks to Alessandro Chitolina for the patch
65-
-- Thanks to Juliette Reinders Folmer for the tests
66-
- Fixed bug #3296 : PSR2.ControlStructures.SwitchDeclaration takes phpcs:ignore as content of case body
67-
- Fixed bug #3297 : PSR2.ControlStructures.SwitchDeclaration.TerminatingComment does not handle try/finally blocks
68-
-- Thanks to Juliette Reinders Folmer for the patch
69-
- Fixed bug #3302 : PHP 8.0 | Tokenizer/PHP: bugfix for union types using namespace operator
70-
-- Thanks to Juliette Reinders Folmer for the patch
71-
- Fixed bug #3303 : findStartOfStatement() doesn't work with T_OPEN_TAG_WITH_ECHO
72-
- Fixed bug #3316 : Arrow function not tokenized correctly when using null in union type
73-
- Fixed bug #3317 : Problem with how phpcs handles ignored files when running in parallel
74-
-- Thanks to Emil Andersson for the patch
75-
- Fixed bug #3324 : PHPCS hangs processing some nested arrow functions inside a function call
76-
- Fixed bug #3326 : Generic.Formatting.MultipleStatementAlignment error with const DEFAULT
77-
-- Thanks to Juliette Reinders Folmer for the patch
78-
- Fixed bug #3333 : Squiz.Objects.ObjectInstantiation: null coalesce operators are not recognized as assignment
79-
-- Thanks to Juliette Reinders Folmer for the patch
80-
- Fixed bug #3340 : Ensure interface and trait names are always tokenized as T_STRING
81-
-- Thanks to Juliette Reinders Folmer for the patch
82-
- Fixed bug #3342 : PSR12/Squiz/PEAR standards all error on promoted properties with docblocks
83-
-- Thanks to Juliette Reinders Folmer for the patch
84-
- Fixed bug #3345 : IF statement with no braces and double catch turned into syntax error by auto-fixer
85-
-- Thanks to Juliette Reinders Folmer for the patch
86-
- Fixed bug #3352 : PSR2.ControlStructures.SwitchDeclaration can remove comments on the same line as the case statement while fixing
87-
-- Thanks to Juliette Reinders Folmer for the patch
88-
- Fixed bug #3357 : Generic.Functions.OpeningFunctionBraceBsdAllman removes return type when additional lines are present
89-
-- Thanks to Juliette Reinders Folmer for the patch
90-
- Fixed bug #3362 : Generic.WhiteSpace.ScopeIndent false positive for arrow functions inside arrays
91-
- Fixed bug #3384 : Squiz.Commenting.FileComment.SpacingAfterComment false positive on empty file
92-
- Fixed bug #3394 : Fix PHP 8.1 auto_detect_line_endings deprecation notice
93-
- Fixed bug #3400 : PHP 8.1: prevent deprecation notices about missing return types
94-
-- Thanks to Juliette Reinders Folmer for the patch
95-
- Fixed bug #3424 : PHPCS fails when using PHP 8 Constructor property promotion with attributes
96-
-- Thanks to Juliette Reinders Folmer for the patch
97-
- Fixed bug #3425 : PHP 8.1 | Runner::processChildProcs(): fix passing null to non-nullable bug
98-
-- Thanks to Juliette Reinders Folmer for the patch
99-
- Fixed bug #3445 : Nullable parameter after attribute incorrectly tokenized as ternary operator
100-
-- Thanks to Juliette Reinders Folmer for the patch
29+
- Fixed bug #3448 : PHP 8.1 deprecation notice while generating running time value
30+
-- Thanks to Juliette Reinders Folmer and Andy Postnikov for the patch
10131
</notes>
10232
<contents>
10333
<dir name="/">

src/Config.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ class Config
7979
*
8080
* @var string
8181
*/
82-
const VERSION = '3.6.1';
82+
const VERSION = '3.6.2';
8383

8484
/**
8585
* Package stability; either stable, beta or alpha.

0 commit comments

Comments
 (0)