Skip to content

Commit acab67e

Browse files
committed
feat(bump): php and wp versions minimum
1 parent 402b0f8 commit acab67e

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

CodeatCodingStandard/ruleset.xml

+5-4
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@
9898
<exclude name="PHPCompatibility.PHP.NewClosure.Found"/>
9999
</rule>
100100
<!-- Check for cross-version support for PHP 7.1 and higher. -->
101-
<config name="testVersion" value="7.2"/>
101+
<config name="testVersion" value="7.3"/>
102102
<rule ref="WordPress">
103103
<exclude name="Generic.Files.LineEndings.InvalidEOLChar"/>
104104
<exclude name="Generic.Commenting.DocComment.MissingShort"/>
@@ -143,17 +143,17 @@
143143
<rule ref="WordPress.WP.EnqueuedResources"/>
144144
<rule ref="WordPress.WP.DeprecatedClasses">
145145
<properties>
146-
<property name="minimum_supported_version" value="5.3"/>
146+
<property name="minimum_supported_version" value="5.5"/>
147147
</properties>
148148
</rule>
149149
<rule ref="WordPress.WP.DeprecatedFunctions">
150150
<properties>
151-
<property name="minimum_supported_version" value="5.3"/>
151+
<property name="minimum_supported_version" value="5.5"/>
152152
</properties>
153153
</rule>
154154
<rule ref="WordPress.WP.DeprecatedParameters">
155155
<properties>
156-
<property name="minimum_supported_version" value="5.3"/>
156+
<property name="minimum_supported_version" value="5.5"/>
157157
</properties>
158158
</rule>
159159
<!-- Superglobal input not validated or sanitized. -->
@@ -178,6 +178,7 @@
178178
<exclude name="SlevomatCodingStandard.Functions.RequireArrowFunction.RequiredArrowFunction"/>
179179
<exclude name="SlevomatCodingStandard.ControlStructures.DisallowEmpty.DisallowedEmpty"/>
180180
<exclude name="SlevomatCodingStandard.ControlStructures.NewWithParentheses.MissingParentheses"/>
181+
<exclude name="SlevomatCodingStandard.ControlStructures.DisallowShortTernaryOperator.DisallowedShortTernaryOperator" />
181182
<exclude name="SlevomatCodingStandard.ControlStructures.DisallowYodaComparison.DisallowedYodaComparison"/>
182183
<exclude name="SlevomatCodingStandard.ControlStructures.RequireYodaComparison.RequiredYodaComparison"/>
183184
<exclude name="SlevomatCodingStandard.ControlStructures.JumpStatementsSpacing.IncorrectLinesCountAfterLastControlStructure"/>

0 commit comments

Comments
 (0)