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
+40Lines changed: 40 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,6 +9,45 @@ This projects adheres to [Keep a CHANGELOG](https://keepachangelog.com/) and use
9
9
10
10
_Nothing yet._
11
11
12
+
13
+
## [1.0.6] - 2023-05-27
14
+
15
+
### Changed
16
+
17
+
#### PHPCS BackCompat
18
+
19
+
*`BCFile::getClassProperties()`: sync with PHPCS 3.8.0 - support for PHP 8.2 `readonly` classes. [#470]
20
+
*`BCFile::getMethodParameters()`: sync with PHPCS 3.8.0 - support for constructor property promotion with `readonly` properties without explicit visibility. [#472]
21
+
22
+
#### Utils
23
+
24
+
* The results of the following methods will now (also) be cached for improved performance when multiple sniffs call these functions for the same token during a PHPCS run. [#464], [#466]
25
+
-`FunctionDeclarations::getProperties()`
26
+
-`Variables::getMemberProperties()`
27
+
* Additionally, the results of the `UseStatements::splitImportUseStatement()` method will be cached more often and the cache checked earlier. [#467]
28
+
* The return value of the `ControlStructures::getCaughtExceptions()` method will no longer contain "empty" entries for catch statements without a named exception. It will return an empty array instead. [#474]
29
+
30
+
#### Other
31
+
32
+
* Various small housekeeping and maintenance updates.
33
+
34
+
### Fixed
35
+
36
+
### Abstract Sniffs
37
+
38
+
*`AbstractArrayDeclarationSniff`: fixed a potential "Trying to access array offset on value of type bool" PHP notice. [#476]
39
+
*`AbstractArrayDeclarationSniff`: the abstract will no longer trigger potentially available magic `__get()`/`__set()` etc methods. [#477]
0 commit comments