Skip to content

Commit 62d3299

Browse files
authored
Merge pull request #615 from PHPCSStandards/feature/changelog-3.10.3
Changelog for the 3.10.3 release
2 parents 2809074 + 863be8c commit 62d3299

File tree

2 files changed

+48
-0
lines changed

2 files changed

+48
-0
lines changed

CHANGELOG.md

+46
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,50 @@ The file documents changes to the PHP_CodeSniffer project.
66

77
_Nothing yet._
88

9+
## [3.10.3] - 2024-09-18
10+
11+
### Changed
12+
- Various housekeeping, including improvements to the tests and documentation.
13+
- Thanks to [Rodrigo Primo][@rodrigoprimo] and [Juliette Reinders Folmer][@jrfnl] for their contributions.
14+
15+
### Fixed
16+
- Fixed bug [#553] : Squiz.Classes.SelfMemberReference: false negative(s) when namespace operator was encountered between the namespace declaration and the OO declaration.
17+
- Thanks to [Juliette Reinders Folmer][@jrfnl] for the patch
18+
- Fixed bug [#579] : AbstractPatternSniff: potential PHP notice during live coding.
19+
- Thanks to [Juliette Reinders Folmer][@jrfnl] for the patch
20+
- Fixed bug [#580] : Squiz.Formatting.OperatorBracket: potential PHP notice during live coding.
21+
- Thanks to [Juliette Reinders Folmer][@jrfnl] for the patch
22+
- Fixed bug [#581] : PSR12.ControlStructures.ControlStructureSpacing: prevent fixer conflict by correctly handling multiple empty newlines before the first condition in a multi-line control structure.
23+
- Thanks to [Dan Wallis][@fredden] for the patch.
24+
- Fixed bug [#585] : Tokenizer not applying tab replacement in heredoc/nowdoc openers.
25+
- Thanks to [Juliette Reinders Folmer][@jrfnl] for the patch
26+
- Fixed bug [#588] : Squiz.PHP.EmbeddedPhp false positive when checking spaces after a PHP short open tag.
27+
- Thanks to [Rodrigo Primo][@rodrigoprimo] for the patch.
28+
- Fixed bug [#597] : Generic.PHP.LowerCaseKeyword did not flag nor fix non-lowercase anonymous class keywords.
29+
- Thanks to [Marek Štípek][@maryo] for the patch.
30+
- Fixed bug [#598] : Squiz.PHP.DisallowMultipleAssignments: false positive on assignments to variable property on object stored in array.
31+
- Thanks to [Juliette Reinders Folmer][@jrfnl] for the patch
32+
- Fixed bug [#608] : Squiz.Functions.MultiLineFunctionDeclaration did not take (parameter) attributes into account when checking for one parameter per line.
33+
- Thanks to [Juliette Reinders Folmer][@jrfnl] for the patch
34+
35+
### Other
36+
- The provenance of PHAR files associated with a release can now be verified via [GitHub Artifact Attestations][ghattest] using the [GitHub CLI tool][ghcli] with the following command: `gh attestation verify [phpcs|phpcbf].phar -o PHPCSStandards`. [#574]
37+
- Thanks to [Juliette Reinders Folmer][@jrfnl] for the patch.
38+
39+
[#553]: https://github.com/PHPCSStandards/PHP_CodeSniffer/issues/553
40+
[#574]: https://github.com/PHPCSStandards/PHP_CodeSniffer/pull/574
41+
[#579]: https://github.com/PHPCSStandards/PHP_CodeSniffer/pull/579
42+
[#580]: https://github.com/PHPCSStandards/PHP_CodeSniffer/pull/580
43+
[#581]: https://github.com/PHPCSStandards/PHP_CodeSniffer/pull/581
44+
[#585]: https://github.com/PHPCSStandards/PHP_CodeSniffer/pull/585
45+
[#588]: https://github.com/PHPCSStandards/PHP_CodeSniffer/issues/588
46+
[#597]: https://github.com/PHPCSStandards/PHP_CodeSniffer/pull/597
47+
[#598]: https://github.com/PHPCSStandards/PHP_CodeSniffer/issues/598
48+
[#608]: https://github.com/PHPCSStandards/PHP_CodeSniffer/issues/608
49+
50+
[ghcli]: https://cli.github.com/
51+
[ghattest]: https://docs.github.com/en/actions/security-guides/using-artifact-attestations-to-establish-provenance-for-builds
52+
953
## [3.10.2] - 2024-07-22
1054

1155
### Changed
@@ -7002,6 +7046,7 @@ Additionally, thanks to [Alexander Turek][@derrabus] for consulting on the repo
70027046
-->
70037047

70047048
[Unreleased]: https://github.com/PHPCSStandards/PHP_CodeSniffer/compare/master...HEAD
7049+
[3.10.3]: https://github.com/PHPCSStandards/PHP_CodeSniffer/compare/3.10.2...3.10.3
70057050
[3.10.2]: https://github.com/PHPCSStandards/PHP_CodeSniffer/compare/3.10.1...3.10.2
70067051
[3.10.1]: https://github.com/PHPCSStandards/PHP_CodeSniffer/compare/3.10.0...3.10.1
70077052
[3.10.0]: https://github.com/PHPCSStandards/PHP_CodeSniffer/compare/3.9.2...3.10.0
@@ -7234,6 +7279,7 @@ Additionally, thanks to [Alexander Turek][@derrabus] for consulting on the repo
72347279
[@MarkMaldaba]: https://github.com/MarkMaldaba
72357280
[@martinssipenko]: https://github.com/martinssipenko
72367281
[@marvasDE]: https://github.com/marvasDE
7282+
[@maryo]: https://github.com/maryo
72377283
[@MasterOdin]: https://github.com/MasterOdin
72387284
[@mathroc]: https://github.com/mathroc
72397285
[@maxgalbu]: https://github.com/maxgalbu

README.md

+2
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ php phpcbf.phar -h
5050
These Phars are signed with the official Release key for PHPCS with the
5151
fingerprint `689D AD77 8FF0 8760 E046 228B A978 2203 05CD 5C32`.
5252

53+
As of PHP_CodeSniffer 3.10.3, the provenance of PHAR files associated with a release can be verified via [GitHub Artifact Attestations](https://docs.github.com/en/actions/security-guides/using-artifact-attestations-to-establish-provenance-for-builds) using the [GitHub CLI tool](https://cli.github.com/) with the following command: `gh attestation verify [phpcs|phpcbf].phar -o PHPCSStandards`.
54+
5355
### Composer
5456
If you use Composer, you can install PHP_CodeSniffer system-wide with the following command:
5557
```bash

0 commit comments

Comments
 (0)