You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,31 +10,31 @@ This projects adheres to [Keep a CHANGELOG](https://keepachangelog.com/) and use
10
10
_Nothing yet._
11
11
12
12
13
-
## [1.1.0] - 2025-06-11
13
+
## [1.1.0] - 2025-06-12
14
14
15
15
### Added
16
16
17
-
Compatibility with the new PHP_CodeSniffer `4.x` branch in anticipation of the PHP_CodeSniffer 4.0 release. [#674], [#679]
17
+
Compatibility with the new PHP_CodeSniffer `4.x` branch in anticipation of the PHP_CodeSniffer 4.0 release. [#674], [#679]
18
18
PHPCSUtils should now be fully compatible with PHP_CodeSniffer 4.0 (again). If you still find an issue, please report it.
19
19
20
20
#### PHPCS BackCompat
21
21
22
22
*`BCFile::findExtendedClassName()`: sync with PHPCS 4.0.0 - support for namespace relative names when used as the _extended_ parent class name. [#674]
23
23
*`BCFile::findImplementedInterfaceNames()`: sync with PHPCS 4.0.0 - support for namespace relative names when used in _implemented_ interface names. [#674]
24
24
*`BCFile::getMemberProperties()`: sync with PHPCS 3.12.0 - support for PHP 8.4 final properties. Thanks [@DanielEScherzer]! [#646]
25
-
*`BCFile::getMemberProperties()`: sync with PHPCS 3.13.1 - support for PHP 8.4 asymmetric visibility.[#677]
25
+
*`BCFile::getMemberProperties()`: sync with PHPCS 3.13.1 - support for PHP 8.4 asymmetric visibility.[#677]
26
26
*`BCFile::getMemberProperties()`: sync with PHPCS 4.0.0. [#674]
27
27
- Add support for PHP 8.4 properties in interfaces.
28
28
- Removed parse error warning.
29
-
*`BCFile::getMethodParameters()`: sync with PHPCS 3.13.1 - support for PHP 8.4 asymmetric visibility.[#677]
29
+
*`BCFile::getMethodParameters()`: sync with PHPCS 3.13.1 - support for PHP 8.4 asymmetric visibility.[#677]
30
30
*`BCFile::findStartOfStatement()`: sync with PHPCS 3.12.1 - support for `goto` as a `switch` - `case` terminating statement. [#661]
31
31
*`BCTokens::nameTokens()` as introduced in PHPCS 4.0.0. [#674]
32
32
The same token array previously already existed in PHPCSUtils as `Collections::nameTokens()`.
33
33
*`BCTokens::functionNameTokens()`: sync with PHPCS 4.0.0 - added the `T_ANON_CLASS` token. [#674]
34
34
*`BCTokens::parenthesisOpeners()`: sync with PHPCS 4.0.0 - added the `T_USE`, `T_ISSET`, `T_UNSET`, `T_EMPTY`, `T_EVAL` and `T_EXIT` tokens. [#674]
35
35
Note: While `T_USE`, `T_ISSET`, `T_UNSET`, `T_EMPTY`, `T_EVAL` and `T_EXIT` will be included in the return value for this method,
36
36
the associated parentheses will not have the `'parenthesis_owner'` index set unless PHPCS 4.0.0 is used.
37
-
Use the [`Parentheses::getOwner()`][`Parentheses`] or the [`Parentheses::hasOwner()`[`Parentheses`] methods if you need to check
37
+
Use the [`Parentheses::getOwner()`][`Parentheses`] or the [`Parentheses::hasOwner()`][`Parentheses`] methods if you need to check
38
38
whether any of these tokens are a parentheses owner. The methods in the `Parentheses` class are PHPCS cross-version compatible.
39
39
40
40
#### TestUtils
@@ -71,9 +71,9 @@ PHPCSUtils should now be fully compatible with PHP_CodeSniffer 4.0 (again). If y
71
71
These methods will each return an array with the name of the constant/case/property/method as the key and the typical stack pointer needed for further processing.
72
72
The retrieval of this information is highly optimized for performance. If a sniff needs to search for a named constant/enum case/property/method in an OO structure, in most cases, these methods should be the recommended way for finding the declaration, instead of the sniff attempting to do this itself.
73
73
Mind: the return value of the `getDeclaredProperties()` method includes constructor promoted properties. Passing the stack pointer of constructor promoted properties onto a call to the `Variables::getMemberProperties()` method, however, is currently not supported.
74
-
*`FunctionDeclarations::getParameters()`: support for PHP 8.4 asymmetric visibility.[#677]
74
+
*`FunctionDeclarations::getParameters()`: support for PHP 8.4 asymmetric visibility.[#677]
75
75
*`Variables::getMemberProperties()`: support for PHP 8.4 final properties. Thanks [@DanielEScherzer]! [#646]
76
-
*`Variables::getMemberProperties()`: support for PHP 8.4 asymmetric visibility.[#677]
76
+
*`Variables::getMemberProperties()`: support for PHP 8.4 asymmetric visibility.[#677]
0 commit comments