@@ -6,6 +6,32 @@ The file documents changes to the PHP_CodeSniffer project.
66
77_Nothing yet._
88
9+ ## [3.13.5] - 2025-11-04
10+
11+ ### Added
12+ - Runtime support for PHP 8.5. All known PHP 8.5 deprecation notices have been fixed.
13+ - Syntax support for new PHP 8.5 features will follow in a future release.
14+ - If you find any PHP 8.5 deprecation notices which were missed, please report them.
15+
16+ ### Changed
17+ - Various housekeeping, including improvements to the tests and documentation.
18+ - Thanks to [Rodrigo Primo][@rodrigoprimo] and [Juliette Reinders Folmer][@jrfnl] for their contributions.
19+
20+ ### Fixed
21+ - Fixed bug [#1216]: Tokenizer/PHP: added more defensive coding to prevent PHP 8.5 "Using null as an array offset" deprecation notices.
22+ - Thanks to [Andrew Lyons][@andrewnicols] for the patch.
23+ - Fixed bug [#1279]: Tokenizer/PHP: on PHP < 8.0, an unclosed attribute (parse error) could end up removing some tokens from the token stream.
24+ - This could lead to false positives and false negative from sniffs, but could also lead to incorrect fixes being made mangling the file under scan.
25+
26+ ### Other
27+ - Please be aware that the `master` branch has been renamed to `3.x` and the default branch has changed to the `4.x` branch.
28+ - If you contribute to PHP_CodeSniffer, you will need to update your local git clone.
29+ - If you develop against PHP_CodeSniffer and run your tests against dev branches of PHPCS, you will need to update your workflows.
30+
31+ [#1216]: https://github.com/PHPCSStandards/PHP_CodeSniffer/issues/1216
32+ [#1279]: https://github.com/PHPCSStandards/PHP_CodeSniffer/issues/1279
33+
34+
935## [3.13.4] - 2025-09-05
1036
1137### Fixed
@@ -7743,7 +7769,8 @@ Additionally, thanks to [Alexander Turek][@derrabus] for consulting on the repo
77437769=== Link list for release links ====
77447770-->
77457771
7746- [Unreleased]: https://github.com/PHPCSStandards/PHP_CodeSniffer/compare/master...HEAD
7772+ [Unreleased]: https://github.com/PHPCSStandards/PHP_CodeSniffer/compare/3.13.5...3.x
7773+ [3.13.5]: https://github.com/PHPCSStandards/PHP_CodeSniffer/compare/3.13.4...3.13.5
77477774[3.13.4]: https://github.com/PHPCSStandards/PHP_CodeSniffer/compare/3.13.3...3.13.4
77487775[3.13.3]: https://github.com/PHPCSStandards/PHP_CodeSniffer/compare/3.13.2...3.13.3
77497776[3.13.2]: https://github.com/PHPCSStandards/PHP_CodeSniffer/compare/3.13.1...3.13.2
@@ -7871,6 +7898,7 @@ Additionally, thanks to [Alexander Turek][@derrabus] for consulting on the repo
78717898[@anbuc]: https://github.com/anbuc
78727899[@andrei-propertyguru]: https://github.com/andrei-propertyguru
78737900[@AndrewDawes]: https://github.com/AndrewDawes
7901+ [@andrewnicols]: https://github.com/andrewnicols
78747902[@andygrunwald]: https://github.com/andygrunwald
78757903[@andypost]: https://github.com/andypost
78767904[@annechko]: https://github.com/annechko
0 commit comments