Skip to content

Commit 5ffaedf

Browse files
authored
Adjusted ruleset condfigurations. (#10561)
CC-31572 Adjusted ruleset configurations
1 parent 5b091a1 commit 5ffaedf

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

ruleset.xml

+3-3
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
All sniffs in ./Sniffs will be auto loaded
88
</description>
99

10-
<config name="php_version" value="70400"/>
10+
<config name="php_version" value="80000"/>
1111

1212
<exclude-pattern>*/tests/_support/_generated/*</exclude-pattern>
1313
<exclude-pattern>*/tests/_helpers/*</exclude-pattern>
@@ -20,8 +20,8 @@
2020

2121
<rule ref="Spryker.Internal.SprykerDisallowFunctions">
2222
<properties>
23-
<!-- We want to prevent 8.0+ functions to break 7.4 compatibility -->
24-
<property name="phpVersion" value="7.4"/>
23+
<!-- We want to prevent 8.1+ functions to break 8.0 compatibility -->
24+
<property name="phpVersion" value="8.0"/>
2525
</properties>
2626
</rule>
2727

rulesetStrict.xml

+3-3
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
All sniffs in ./Sniffs will be auto loaded
88
</description>
99

10-
<config name="php_version" value="70400"/>
10+
<config name="php_version" value="80000"/>
1111

1212
<exclude-pattern>*/tests/_support/_generated/*</exclude-pattern>
1313
<exclude-pattern>*/tests/_helpers/*</exclude-pattern>
@@ -20,8 +20,8 @@
2020

2121
<rule ref="Spryker.Internal.SprykerDisallowFunctions">
2222
<properties>
23-
<!-- We want to prevent 8.0+ functions to break 7.4 compatibility -->
24-
<property name="phpVersion" value="7.4"/>
23+
<!-- We want to prevent 8.1+ functions to break 8.0 compatibility -->
24+
<property name="phpVersion" value="8.0"/>
2525
</properties>
2626
</rule>
2727

0 commit comments

Comments
 (0)