Skip to content

Commit

Permalink
Changelog for the 3.10.3 release
Browse files Browse the repository at this point in the history
  • Loading branch information
jrfnl committed Sep 18, 2024
1 parent 2809074 commit 863be8c
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 0 deletions.
46 changes: 46 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,50 @@ The file documents changes to the PHP_CodeSniffer project.

_Nothing yet._

## [3.10.3] - 2024-09-18

### 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 [#553] : Squiz.Classes.SelfMemberReference: false negative(s) when namespace operator was encountered between the namespace declaration and the OO declaration.
- Thanks to [Juliette Reinders Folmer][@jrfnl] for the patch
- Fixed bug [#579] : AbstractPatternSniff: potential PHP notice during live coding.
- Thanks to [Juliette Reinders Folmer][@jrfnl] for the patch
- Fixed bug [#580] : Squiz.Formatting.OperatorBracket: potential PHP notice during live coding.
- Thanks to [Juliette Reinders Folmer][@jrfnl] for the patch
- 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.
- Thanks to [Dan Wallis][@fredden] for the patch.
- Fixed bug [#585] : Tokenizer not applying tab replacement in heredoc/nowdoc openers.
- Thanks to [Juliette Reinders Folmer][@jrfnl] for the patch
- Fixed bug [#588] : Squiz.PHP.EmbeddedPhp false positive when checking spaces after a PHP short open tag.
- Thanks to [Rodrigo Primo][@rodrigoprimo] for the patch.
- Fixed bug [#597] : Generic.PHP.LowerCaseKeyword did not flag nor fix non-lowercase anonymous class keywords.
- Thanks to [Marek Štípek][@maryo] for the patch.
- Fixed bug [#598] : Squiz.PHP.DisallowMultipleAssignments: false positive on assignments to variable property on object stored in array.
- Thanks to [Juliette Reinders Folmer][@jrfnl] for the patch
- Fixed bug [#608] : Squiz.Functions.MultiLineFunctionDeclaration did not take (parameter) attributes into account when checking for one parameter per line.
- Thanks to [Juliette Reinders Folmer][@jrfnl] for the patch

### Other
- 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]
- Thanks to [Juliette Reinders Folmer][@jrfnl] for the patch.

[#553]: https:/PHPCSStandards/PHP_CodeSniffer/issues/553
[#574]: https:/PHPCSStandards/PHP_CodeSniffer/pull/574
[#579]: https:/PHPCSStandards/PHP_CodeSniffer/pull/579
[#580]: https:/PHPCSStandards/PHP_CodeSniffer/pull/580
[#581]: https:/PHPCSStandards/PHP_CodeSniffer/pull/581
[#585]: https:/PHPCSStandards/PHP_CodeSniffer/pull/585
[#588]: https:/PHPCSStandards/PHP_CodeSniffer/issues/588
[#597]: https:/PHPCSStandards/PHP_CodeSniffer/pull/597
[#598]: https:/PHPCSStandards/PHP_CodeSniffer/issues/598
[#608]: https:/PHPCSStandards/PHP_CodeSniffer/issues/608

[ghcli]: https://cli.github.com/
[ghattest]: https://docs.github.com/en/actions/security-guides/using-artifact-attestations-to-establish-provenance-for-builds

## [3.10.2] - 2024-07-22

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

[Unreleased]: https:/PHPCSStandards/PHP_CodeSniffer/compare/master...HEAD
[3.10.3]: https:/PHPCSStandards/PHP_CodeSniffer/compare/3.10.2...3.10.3
[3.10.2]: https:/PHPCSStandards/PHP_CodeSniffer/compare/3.10.1...3.10.2
[3.10.1]: https:/PHPCSStandards/PHP_CodeSniffer/compare/3.10.0...3.10.1
[3.10.0]: https:/PHPCSStandards/PHP_CodeSniffer/compare/3.9.2...3.10.0
Expand Down Expand Up @@ -7234,6 +7279,7 @@ Additionally, thanks to [Alexander Turek][@derrabus] for consulting on the repo
[@MarkMaldaba]: https:/MarkMaldaba
[@martinssipenko]: https:/martinssipenko
[@marvasDE]: https:/marvasDE
[@maryo]: https:/maryo
[@MasterOdin]: https:/MasterOdin
[@mathroc]: https:/mathroc
[@maxgalbu]: https:/maxgalbu
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ php phpcbf.phar -h
These Phars are signed with the official Release key for PHPCS with the
fingerprint `689D AD77 8FF0 8760 E046 228B A978 2203 05CD 5C32`.

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`.

### Composer
If you use Composer, you can install PHP_CodeSniffer system-wide with the following command:
```bash
Expand Down

0 comments on commit 863be8c

Please sign in to comment.