File tree Expand file tree Collapse file tree 3 files changed +12
-3
lines changed Expand file tree Collapse file tree 3 files changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,14 @@ All notable changes to this project will be documented in this file.
4
4
The format is based on [ Keep a Changelog] ( https://keepachangelog.com/en/1.0.0/ ) ,
5
5
and this project adheres to [ Semantic Versioning] ( https://semver.org/spec/v2.0.0.html ) .
6
6
7
+ ## 3.6.0
8
+ ### Added
9
+ - Rule ` Generic.CodeAnalysis.RequireExplicitBooleanOperatorPrecedence ` to improve legibility of code.
10
+
11
+ ### Changed
12
+ - Increase minimum version of ` squizlabs/php_codesniffer ` package to guarantee ` RequireExplicitBooleanOperatorPrecedence ` sniff exists.
13
+
14
+
7
15
## 3.5.1
8
16
### Changed
9
17
- ESLint conflict between ` no-mixed-operators ` and ` no-extra-parens ` resolved.
@@ -14,12 +22,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
14
22
renders the warning/error. This way it's easier to ignore if necessary.
15
23
16
24
### Removed
17
- - Rule ` Generic.Formatting.MultipleStatementAlignment ` , since this did not help for the readability
25
+ - Rule ` Generic.Formatting.MultipleStatementAlignment ` , since this did not help for the readability
18
26
of the code.
19
27
20
28
## 3.4.0
21
29
### Added
22
- - Constraint for ` squizlabs/php_codesniffer ` to be compatible with
30
+ - Constraint for ` squizlabs/php_codesniffer ` to be compatible with
23
31
magento 2.4.4 and higher coding standards.
24
32
25
33
## 3.3.1 - 2022-05-27
Original file line number Diff line number Diff line change 13
13
"php" : " ^7.0 || ^8.0" ,
14
14
"dealerdirect/phpcodesniffer-composer-installer" : " ^0.7.2" ,
15
15
"phpmd/phpmd" : " ^2.0" ,
16
- "squizlabs/php_codesniffer" : " ^3.5.4 "
16
+ "squizlabs/php_codesniffer" : " ^3.9.0 "
17
17
},
18
18
"minimum-stability" : " stable" ,
19
19
"prefer-stable" : true ,
Original file line number Diff line number Diff line change 35
35
<rule ref =" Generic.CodeAnalysis.ForLoopShouldBeWhileLoop" />
36
36
<rule ref =" Generic.CodeAnalysis.ForLoopWithTestFunctionCall" />
37
37
<rule ref =" Generic.CodeAnalysis.JumbledIncrementer" />
38
+ <rule ref =" Generic.CodeAnalysis.RequireExplicitBooleanOperatorPrecedence" />
38
39
<rule ref =" Generic.CodeAnalysis.UnconditionalIfStatement" />
39
40
<rule ref =" Generic.CodeAnalysis.UnnecessaryFinalModifier" />
40
41
<rule ref =" PEAR.Functions.FunctionCallSignature.ContentAfterOpenBracket" />
You can’t perform that action at this time.
0 commit comments