|
2 | 2 |
|
3 | 3 | The file documents changes to the PHP_CodeSniffer project for the 3.x series of releases. |
4 | 4 |
|
| 5 | +## [3.13.5] - 2025-11-04 |
| 6 | + |
| 7 | +### Added |
| 8 | +- Runtime support for PHP 8.5. All known PHP 8.5 deprecation notices have been fixed. |
| 9 | + - Syntax support for new PHP 8.5 features will follow in a future release. |
| 10 | + - If you find any PHP 8.5 deprecation notices which were missed, please report them. |
| 11 | + |
| 12 | +### Changed |
| 13 | +- Various housekeeping, including improvements to the tests and documentation. |
| 14 | + - Thanks to [Rodrigo Primo][@rodrigoprimo] and [Juliette Reinders Folmer][@jrfnl] for their contributions. |
| 15 | + |
| 16 | +### Fixed |
| 17 | +- Fixed bug [#1216]: Tokenizer/PHP: added more defensive coding to prevent PHP 8.5 "Using null as an array offset" deprecation notices. |
| 18 | + - Thanks to [Andrew Lyons][@andrewnicols] for the patch. |
| 19 | +- Fixed bug [#1279]: Tokenizer/PHP: on PHP < 8.0, an unclosed attribute (parse error) could end up removing some tokens from the token stream. |
| 20 | + - 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. |
| 21 | + - Thanks to [Juliette Reinders Folmer](https://github.com/jrfnl) for the patch. |
| 22 | + |
| 23 | +### Other |
| 24 | +- Please be aware that the `master` branch has been renamed to `3.x` and the default branch has changed to the `4.x` branch. |
| 25 | + - If you contribute to PHP_CodeSniffer, you will need to update your local git clone. |
| 26 | + - If you develop against PHP_CodeSniffer and run your tests against dev branches of PHPCS, you will need to update your workflows. |
| 27 | + |
| 28 | +[#1216]: https://github.com/PHPCSStandards/PHP_CodeSniffer/issues/1216 |
| 29 | +[#1279]: https://github.com/PHPCSStandards/PHP_CodeSniffer/issues/1279 |
| 30 | + |
| 31 | + |
5 | 32 | ## [3.13.4] - 2025-09-05 |
6 | 33 |
|
7 | 34 | ### Fixed |
@@ -3777,6 +3804,7 @@ Additionally, thanks to [Alexander Turek][@derrabus] for consulting on the repo |
3777 | 3804 | === Link list for release links ==== |
3778 | 3805 | --> |
3779 | 3806 |
|
| 3807 | +[3.13.5]: https://github.com/PHPCSStandards/PHP_CodeSniffer/compare/3.13.4...3.13.5 |
3780 | 3808 | [3.13.4]: https://github.com/PHPCSStandards/PHP_CodeSniffer/compare/3.13.3...3.13.4 |
3781 | 3809 | [3.13.3]: https://github.com/PHPCSStandards/PHP_CodeSniffer/compare/3.13.2...3.13.3 |
3782 | 3810 | [3.13.2]: https://github.com/PHPCSStandards/PHP_CodeSniffer/compare/3.13.1...3.13.2 |
@@ -3843,6 +3871,7 @@ Additionally, thanks to [Alexander Turek][@derrabus] for consulting on the repo |
3843 | 3871 | [@alekitto]: https://github.com/alekitto |
3844 | 3872 | [@anbuc]: https://github.com/anbuc |
3845 | 3873 | [@AndrewDawes]: https://github.com/AndrewDawes |
| 3874 | +[@andrewnicols]: https://github.com/andrewnicols |
3846 | 3875 | [@andypost]: https://github.com/andypost |
3847 | 3876 | [@annechko]: https://github.com/annechko |
3848 | 3877 | [@anomiex]: https://github.com/anomiex |
|
0 commit comments