Skip to content

Commit ec494d0

Browse files
committed
Changelog for the 3.13.1 release
1 parent 15ce011 commit ec494d0

File tree

1 file changed

+53
-0
lines changed

1 file changed

+53
-0
lines changed

CHANGELOG.md

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,58 @@ The file documents changes to the PHP_CodeSniffer project.
66

77
_Nothing yet._
88

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:
17+
- Generic.PHP.LowerCaseKeyword [#1117]
18+
- PEAR.NamingConventions.ValidVariableName [#1118]
19+
- PSR2.Classes.PropertyDeclaration [#1119]
20+
- Squiz.Commenting.BlockComment [#1120]
21+
- Squiz.Commenting.DocCommentAlignment [#1120]
22+
- Squiz.Commenting.VariableComment [#1120]
23+
- Squiz.Functions.FunctionDeclarationArgumentSpacing [#1121]
24+
- Squiz.Scope.MemberVarScope [#1122]
25+
- Squiz.WhiteSpace.MemberVarSpacing [#1123]
26+
- Squiz.WhiteSpace.ScopeKeywordSpacing [#1124]
27+
- 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`.
48+
49+
[#1094]: http://github.com/PHPCSStandards/PHP_CodeSniffer/issues/1094
50+
[#1116]: http://github.com/PHPCSStandards/PHP_CodeSniffer/pull/1116
51+
[#1117]: http://github.com/PHPCSStandards/PHP_CodeSniffer/pull/1117
52+
[#1118]: http://github.com/PHPCSStandards/PHP_CodeSniffer/pull/1118
53+
[#1119]: http://github.com/PHPCSStandards/PHP_CodeSniffer/pull/1119
54+
[#1120]: http://github.com/PHPCSStandards/PHP_CodeSniffer/pull/1120
55+
[#1121]: http://github.com/PHPCSStandards/PHP_CodeSniffer/pull/1121
56+
[#1122]: http://github.com/PHPCSStandards/PHP_CodeSniffer/pull/1122
57+
[#1123]: http://github.com/PHPCSStandards/PHP_CodeSniffer/pull/1123
58+
[#1124]: http://github.com/PHPCSStandards/PHP_CodeSniffer/pull/1124
59+
60+
961
## [3.13.0] - 2025-05-11
1062

1163
### Added
@@ -7582,6 +7634,7 @@ Additionally, thanks to [Alexander Turek][@derrabus] for consulting on the repo
75827634
-->
75837635

75847636
[Unreleased]: http://github.com/PHPCSStandards/PHP_CodeSniffer/compare/master...HEAD
7637+
[3.13.1]: http://github.com/PHPCSStandards/PHP_CodeSniffer/compare/3.13.0...3.13.1
75857638
[3.13.0]: http://github.com/PHPCSStandards/PHP_CodeSniffer/compare/3.12.2...3.13.0
75867639
[3.12.2]: http://github.com/PHPCSStandards/PHP_CodeSniffer/compare/3.12.1...3.12.2
75877640
[3.12.1]: http://github.com/PHPCSStandards/PHP_CodeSniffer/compare/3.12.0...3.12.1

0 commit comments

Comments
 (0)