Skip to content

Commit f9bec0d

Browse files
authored
Merge pull request #745 from PHPCSStandards/feature/changelog-1.2.2
Changelog for PHPCSUtils 1.2.2
2 parents 3ad3786 + a26ac0a commit f9bec0d

File tree

1 file changed

+24
-1
lines changed

1 file changed

+24
-1
lines changed

CHANGELOG.md

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,35 @@ This projects adheres to [Keep a CHANGELOG](https://keepachangelog.com/) and use
1010
_Nothing yet._
1111

1212

13+
## [1.2.2] - 2025-12-08
14+
15+
### Added
16+
17+
#### PHPCS Backcompat
18+
19+
* `BCTokens::castTokens()`: sync with PHPCS 4.0.2 - added the `T_VOID_CAST` token (when available). [#742]
20+
21+
### Changed
22+
23+
#### Utils
24+
25+
* `FunctionDeclarations::getProperties()`: more defensive coding against parse errors/live coding. [#740]
26+
27+
#### Other
28+
29+
* Various housekeeping.
30+
31+
[#740]: https://github.com/PHPCSStandards/PHPCSUtils/pull/740
32+
[#742]: https://github.com/PHPCSStandards/PHPCSUtils/pull/742
33+
34+
1335
## [1.2.1] - 2025-11-17
1436

1537
### Fixed
1638

1739
#### Abstract Sniffs
1840

19-
* The `AbstractArrayDeclarationSniff::getActualArrayKey()` method could cause deprecation notices and even fatal errors, when a PHPCS scan would be run on a different PHP version than the "code under scan" is targetting and the "code under scan" contained deprecated/removed type casts. [#733]
41+
* The `AbstractArrayDeclarationSniff::getActualArrayKey()` method could cause deprecation notices and even fatal errors, when a PHPCS scan would be run on a different PHP version than the "code under scan" is targeting and the "code under scan" contained deprecated/removed type casts. [#733]
2042

2143
[#733]: https://github.com/PHPCSStandards/PHPCSUtils/pull/733
2244

@@ -1333,6 +1355,7 @@ This initial alpha release contains the following utility classes:
13331355

13341356

13351357
[Unreleased]: https://github.com/PHPCSStandards/PHPCSUtils/compare/stable...HEAD
1358+
[1.2.2]: https://github.com/PHPCSStandards/PHPCSUtils/compare/1.2.1...1.2.2
13361359
[1.2.1]: https://github.com/PHPCSStandards/PHPCSUtils/compare/1.2.0...1.2.1
13371360
[1.2.0]: https://github.com/PHPCSStandards/PHPCSUtils/compare/1.1.3...1.2.0
13381361
[1.1.3]: https://github.com/PHPCSStandards/PHPCSUtils/compare/1.1.2...1.1.3

0 commit comments

Comments
 (0)