Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 29 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down