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
The latest patch version of the `1.x` release series is supported for security updates.
6
+
7
+
## Reporting a Vulnerability
8
+
9
+
PHPCSUtils is a developer tool and should generally not be used in a production (web accessible) environment.
10
+
11
+
Having said that, responsible disclosure of security issues is highly appreciated.
12
+
13
+
**Please do not report or discuss security vulnerabilities through public GitHub issues, discussions, or pull requests.**
14
+
15
+
Issues can be reported privately to the maintainers by opening a [Security vulnerability report](https://github.com/PHPCSStandards/PHPCSUtils/security/advisories/new).
16
+
17
+
### Preferences
18
+
19
+
* Please provide detailed reports with reproducible steps and a clearly defined impact.
20
+
* Include the version number of the vulnerable package in your report.
21
+
* Fixes are most welcome.
22
+
A private PR can be created from the security report to work on and discuss the patch.
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