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
+53Lines changed: 53 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,58 @@ The file documents changes to the PHP_CodeSniffer project.
6
6
7
7
_Nothing yet._
8
8
9
+
## [3.13.1] - 2025-06-12
10
+
11
+
### Added
12
+
- Added support for PHP 8.4 properties with asymmetric visibility to File::getMemberProperties() through a new `set_scope` array index in the return value. [#1116]
13
+
- Thanks to [Juliette Reinders Folmer][@jrfnl] for the patches.
14
+
- Added support for PHP 8.4 (constructor promoted) properties with asymmetric visibility to File::getMethodParameters() through new `set_visibility` and `set_visibility_token` array indexes in the return value. [#1116]
15
+
- Thanks to [Juliette Reinders Folmer][@jrfnl] for the patches.
16
+
- Added support for PHP 8.4 asymmetric visibility modifiers to the following sniffs:
- Thanks to [Juliette Reinders Folmer][@jrfnl] for the patches.
28
+
29
+
### Changed
30
+
- The PSR2.Classes.PropertyDeclaration will now check that a set-visibility modifier keyword is placed after a potential general visibility keyword. [#1119]
31
+
- Errors will be reported via a new `AvizKeywordOrder` error code.
32
+
- Thanks to [Juliette Reinders Folmer][@jrfnl] for the patch.
33
+
- The Squiz.Functions.FunctionDeclarationArgumentSpacing will now check spacing after a set-visibility modifier keyword. [#1121]
34
+
- Errors will be reported via a new `SpacingAfterSetVisbility` error code.
35
+
- Thanks to [Juliette Reinders Folmer][@jrfnl] for the patch.
36
+
- The Squiz.Scope.MemberVarScope will now flag missing "read" visibility, when "write" visibility is set, under a separate error code `AsymReadMissing`. [#1122]
37
+
- Thanks to [Juliette Reinders Folmer][@jrfnl] for the patch.
38
+
- The documentation for the following sniffs has been improved:
39
+
- PEAR.Classes.ClassDeclaration
40
+
- Squiz.WhiteSpace.FunctionOpeningBraceSpace
41
+
- Thanks to [Brian Dunne][@braindawg] and [Rodrigo Primo][@rodrigoprimo] for the patches.
42
+
- Various housekeeping, including improvements to the tests and documentation.
43
+
- Thanks to [Dan Wallis][@fredden], [Rodrigo Primo][@rodrigoprimo] and [Juliette Reinders Folmer][@jrfnl] for their contributions.
44
+
45
+
### Other
46
+
- The latest PHP_CodeSniffer XSD file is now available via the following permalink: <http://schema.phpcodesniffer.com/phpcs.xsd>. [#1094]
47
+
Older XSD files can be referenced via permalinks based on their minor: `http://schema.phpcodesniffer.com/#.#/phpcs.xsd`.
0 commit comments