Skip to content

Commit c06a734

Browse files
Merge pull request #6 from mediact/feature/PSR12-compatibility
1.6.0 PSR12 Remove control structure spacing sniff, bump requirements
2 parents 042132b + e727b09 commit c06a734

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

composer.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111
}
1212
],
1313
"require": {
14-
"mediact/coding-standard": "@stable"
14+
"mediact/coding-standard": "^3.0",
15+
"squizlabs/php_codesniffer": "^3.5"
1516
},
1617
"autoload": {
1718
"psr-0": {

src/MediactMagento2/ruleset.xml

-3
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,6 @@
2929
<rule ref="Squiz.WhiteSpace.ScopeClosingBrace">
3030
<exclude-pattern>*.phtml</exclude-pattern>
3131
</rule>
32-
<rule ref="Squiz.WhiteSpace.ControlStructureSpacing">
33-
<exclude-pattern>*.phtml</exclude-pattern>
34-
</rule>
3532
<rule ref="Generic.CodeAnalysis.ForLoopWithTestFunctionCall.NotAllowed">
3633
<exclude-pattern>*.phtml</exclude-pattern>
3734
</rule>

0 commit comments

Comments
 (0)