Skip to content

Commit 5b1c55f

Browse files
committed
Changelog for the release of version 1.2.0
1 parent 06f27c1 commit 5b1c55f

File tree

1 file changed

+69
-1
lines changed

1 file changed

+69
-1
lines changed

CHANGELOG.md

Lines changed: 69 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,71 @@ This projects adheres to [Keep a CHANGELOG](http://keepachangelog.com/) and uses
99

1010
_Nothing yet._
1111

12+
## [1.2.0] - 2025-11-01
13+
14+
### Added
15+
- New dependency: [PHPCSExtra].
16+
- The following sniffs have been added to the ruleset:
17+
- `Generic.CodeAnalysis.RequireExplicitBooleanOperatorPrecedence`
18+
- `Generic.Strings.UnnecessaryHeredoc`
19+
- `Generic.WhiteSpace.HereNowdocIdentifierSpacing`
20+
- `Squiz.Operators.ComparisonOperatorUsage` while excluding the `Squiz.Operators.ComparisonOperatorUsage.ImplicitTrue` error code.
21+
- `Modernize.FunctionCalls.Dirname` (`FileConstant` error code only)
22+
- `NormalizedArrays.Arrays.ArrayBraceSpacing`
23+
- `NormalizedArrays.Arrays.CommaAfterLast`
24+
- `Universal.Arrays.DuplicateArrayKey`
25+
- `Universal.Arrays.MixedArrayKeyTypes`
26+
- `Universal.Arrays.MixedKeyedUnkeyedArray`
27+
- `Universal.Classes.ModifierKeywordOrder`
28+
- `Universal.Classes.RequireAnonClassParentheses`
29+
- `Universal.Classes.RequireFinalClass`
30+
- `Universal.CodeAnalysis.ConstructorDestructorReturn`
31+
- `Universal.CodeAnalysis.ForeachUniqueAssignment`
32+
- `Universal.CodeAnalysis.NoDoubleNegative`
33+
- `Universal.CodeAnalysis.NoEchoSprintf`
34+
- `Universal.CodeAnalysis.StaticInFinalClass`
35+
- `Universal.Constants.LowercaseClassResolutionKeyword`
36+
- `Universal.Constants.ModifierKeywordOrder`
37+
- `Universal.Constants.UppercaseMagicConstants`
38+
- `Universal.ControlStructures.DisallowAlternativeSyntax`
39+
- `Universal.ControlStructures.DisallowLonelyIf`
40+
- `Universal.Files.SeparateFunctionsFromOO`
41+
- `Universal.FunctionDeclarations.NoLongClosures`
42+
- `Universal.FunctionDeclarations.RequireFinalMethodsInTraits`
43+
- `Universal.Namespaces.DisallowCurlyBraceSyntax`
44+
- `Universal.Namespaces.OneDeclarationPerFile`
45+
- `Universal.NamingConventions.NoReservedKeywordParameterNames`
46+
- `Universal.OOStructures.AlphabeticExtendsImplements`
47+
- `Universal.Operators.ConcatPosition`
48+
- `Universal.Operators.DisallowLogicalAndOr`
49+
- `Universal.Operators.DisallowShortTernary`
50+
- `Universal.Operators.DisallowStandalonePostIncrementDecrement`
51+
- `Universal.Operators.TypeSeparatorSpacing`
52+
- `Universal.PHP.LowercasePHPTag`
53+
- `Universal.PHP.NoFQNTrueFalseNull`
54+
- `Universal.PHP.OneStatementInShortEchoTag`
55+
- `Universal.UseStatements.DisallowMixedGroupUse`
56+
- `Universal.UseStatements.DisallowUseConst`
57+
- `Universal.UseStatements.DisallowUseFunction`
58+
- `Universal.UseStatements.KeywordSpacing`
59+
- `Universal.UseStatements.LowercaseFunctionConst`
60+
- `Universal.UseStatements.NoLeadingBackslash`
61+
- `Universal.UseStatements.NoUselessAliases`
62+
- `Universal.WhiteSpace.AnonClassKeywordSpacing`
63+
- `Universal.WhiteSpace.CommaSpacing`
64+
- `Universal.WhiteSpace.PrecisionAlignment`
65+
66+
Note: some of these additions may lead to duplicate messages for certain issues. If you come across this, please report the duplication.
67+
68+
### Changed
69+
- Updated the version constraints for [PHP_CodeSniffer] to `^3.13.3 || ^4.0.0` (was `^3.6.2`).
70+
- Updated the version constraints for [PHPCompatibility] to `^10.0.0@dev` to benefit from hugely improved issue detection.
71+
Includes excluding a number of additional error codes from the `PHPCompatibility.Constants.NewConstants` sniff to allow for polyfilled PHP tokens.
72+
- The `PSR12.ControlStructures.BooleanOperatorPlacement` will now enforce that boolean operators between two conditions on different lines will always be at the start of the second line.
73+
- The `PPSR12.Files.FileHeader.SpacingAfterTagBlock` error code (PHPCS 4.0+) has been excluded to allow for file docblocks to directly follow a PHP open tag at the top of a file.
74+
- The `PEAR.Commenting.FileComment.DuplicateSinceTag` error code has been excluded to allow for `@since` tags used as a changelog in file docblocks.
75+
- Various housekeeping, including a contribution from [@fredden].
76+
1277
## [1.1.6] - 2023-01-05
1378

1479
### Changed
@@ -66,10 +131,12 @@ _Nothing yet._
66131
Initial release.
67132

68133
[Composer PHPCS plugin]: https://github.com/PHPCSStandards/composer-installer
69-
[PHP_CodeSniffer]: https://github.com/PHPCSStandards/php_codesniffer/
134+
[PHP_CodeSniffer]: https://github.com/PHPCSStandards/PHP_CodeSniffer
70135
[PHPCompatibility]: https://github.com/PHPCompatibility/PHPCompatibility
136+
[PHPCSExtra]: https://github.com/PHPCSStandards/PHPCSExtra
71137

72138
[Unreleased]: https://github.com/PHPCSStandards/PHPCSDevCS/compare/main...HEAD
139+
[1.2.0]: https://github.com/PHPCSStandards/PHPCSDevCS/compare/1.1.6...1.2.0
73140
[1.1.6]: https://github.com/PHPCSStandards/PHPCSDevCS/compare/1.1.5...1.1.6
74141
[1.1.5]: https://github.com/PHPCSStandards/PHPCSDevCS/compare/1.1.4...1.1.5
75142
[1.1.4]: https://github.com/PHPCSStandards/PHPCSDevCS/compare/1.1.3...1.1.4
@@ -78,4 +145,5 @@ Initial release.
78145
[1.1.1]: https://github.com/PHPCSStandards/PHPCSDevCS/compare/1.1.0...1.1.1
79146
[1.1.0]: https://github.com/PHPCSStandards/PHPCSDevCS/compare/1.0.0...1.1.0
80147

148+
[@fredden]: https://github.com/fredden
81149
[@GaryJones]: https://github.com/GaryJones

0 commit comments

Comments
 (0)