From 31c62debafad4e227cce413ce4a268cca371badc Mon Sep 17 00:00:00 2001 From: jrfnl Date: Fri, 5 Sep 2025 07:49:07 +0200 Subject: [PATCH] Changelog for the 3.13.5 release --- CHANGELOG.md | 30 +++++++++++++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 301ceb8b39..e04ebc441d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,32 @@ The file documents changes to the PHP_CodeSniffer project. _Nothing yet._ +## [3.13.5] - 2025-11-04 + +### Added +- Runtime support for PHP 8.5. All known PHP 8.5 deprecation notices have been fixed. + - Syntax support for new PHP 8.5 features will follow in a future release. + - If you find any PHP 8.5 deprecation notices which were missed, please report them. + +### Changed +- Various housekeeping, including improvements to the tests and documentation. + - Thanks to [Rodrigo Primo][@rodrigoprimo] and [Juliette Reinders Folmer][@jrfnl] for their contributions. + +### Fixed +- Fixed bug [#1216]: Tokenizer/PHP: added more defensive coding to prevent PHP 8.5 "Using null as an array offset" deprecation notices. + - Thanks to [Andrew Lyons][@andrewnicols] for the patch. +- Fixed bug [#1279]: Tokenizer/PHP: on PHP < 8.0, an unclosed attribute (parse error) could end up removing some tokens from the token stream. + - 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. + +### Other +- Please be aware that the `master` branch has been renamed to `3.x` and the default branch has changed to the `4.x` branch. + - If you contribute to PHP_CodeSniffer, you will need to update your local git clone. + - If you develop against PHP_CodeSniffer and run your tests against dev branches of PHPCS, you will need to update your workflows. + +[#1216]: https://github.com/PHPCSStandards/PHP_CodeSniffer/issues/1216 +[#1279]: https://github.com/PHPCSStandards/PHP_CodeSniffer/issues/1279 + + ## [3.13.4] - 2025-09-05 ### Fixed @@ -7743,7 +7769,8 @@ Additionally, thanks to [Alexander Turek][@derrabus] for consulting on the repo === Link list for release links ==== --> -[Unreleased]: https://github.com/PHPCSStandards/PHP_CodeSniffer/compare/master...HEAD +[Unreleased]: https://github.com/PHPCSStandards/PHP_CodeSniffer/compare/3.13.5...3.x +[3.13.5]: https://github.com/PHPCSStandards/PHP_CodeSniffer/compare/3.13.4...3.13.5 [3.13.4]: https://github.com/PHPCSStandards/PHP_CodeSniffer/compare/3.13.3...3.13.4 [3.13.3]: https://github.com/PHPCSStandards/PHP_CodeSniffer/compare/3.13.2...3.13.3 [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 [@anbuc]: https://github.com/anbuc [@andrei-propertyguru]: https://github.com/andrei-propertyguru [@AndrewDawes]: https://github.com/AndrewDawes +[@andrewnicols]: https://github.com/andrewnicols [@andygrunwald]: https://github.com/andygrunwald [@andypost]: https://github.com/andypost [@annechko]: https://github.com/annechko