You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: CHANGELOG.md
+46
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,50 @@ The file documents changes to the PHP_CodeSniffer project.
6
6
7
7
_Nothing yet._
8
8
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.
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
+
53
55
### Composer
54
56
If you use Composer, you can install PHP_CodeSniffer system-wide with the following command:
0 commit comments