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
+47Lines changed: 47 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,6 +9,52 @@ This projects adheres to [Keep a CHANGELOG](https://keepachangelog.com/) and use
9
9
10
10
_Nothing yet._
11
11
12
+
## [1.0.12] - 2024-05-20
13
+
14
+
### Added
15
+
16
+
#### PHPCS BackCompat
17
+
18
+
*`BCFile::getMemberProperties()`: sync with PHPCS 3.10.0 - support for PHP 8.2 DNF types. [#604]
19
+
*`BCFile::getMethodProperties()`: sync with PHPCS 3.10.0 - support for PHP 8.2 DNF types. [#604]
20
+
*`BCFile::getMethodParameters()`: sync with PHPCS 3.10.0 - support for PHP 8.2 DNF types. [#604]
21
+
22
+
#### Utils
23
+
24
+
*`FunctionDeclarations::getParameters()`: support for PHP 8.2 DNF types. [#604]
25
+
*`FunctionDeclarations::getProperties()`: support for PHP 8.2 DNF types. [#604]
26
+
*`Variables::getMemberProperties()`: support for PHP 8.2 DNF types. [#604]
27
+
28
+
### Changed
29
+
30
+
#### Tokens
31
+
32
+
*`Collections::parameterTypeTokens()`, `Collections::propertyTypeTokens()` and `Collections::returnTypeTokens()`: now include the new `T_TYPE_OPEN_PARENTHESIS` and `T_TYPE_CLOSE_PARENTHESIS` tokens for PHP 8.2 DNF type support. [#604]
33
+
34
+
#### Utils
35
+
36
+
*`ControlStructures::getCaughtExceptions()`: will now silently ignore parse errors in the code under scan which prevent the method from analyzing a `catch` statement. [#594]
37
+
The method will now return an empty array instead of throwing a `PHP_CodeSniffer\Exceptions\RuntimeException`.
38
+
39
+
#### Other
40
+
41
+
* Dropped support for [PHP_CodeSniffer] < 3.10.0. [#603]
42
+
Please ensure you run `composer update phpcsstandards/phpcsutils --with-dependencies` to benefit from this.
43
+
* Various housekeeping and documentation improvements.
44
+
45
+
### Fixed
46
+
47
+
#### Utils
48
+
49
+
*`UseStatements::splitImportUseStatement()`: the values in the return array will now never include a leading backslash. [#590]
50
+
Previously the behaviour around import `use` statements declared with a leading backslash was undefined and the backslash would be included in the return value.
0 commit comments