|
98 | 98 | <exclude name="PHPCompatibility.PHP.NewClosure.Found"/> |
99 | 99 | </rule> |
100 | 100 | <!-- 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"/> |
102 | 102 | <rule ref="WordPress"> |
103 | 103 | <exclude name="Generic.Files.LineEndings.InvalidEOLChar"/> |
104 | 104 | <exclude name="Generic.Commenting.DocComment.MissingShort"/> |
|
143 | 143 | <rule ref="WordPress.WP.EnqueuedResources"/> |
144 | 144 | <rule ref="WordPress.WP.DeprecatedClasses"> |
145 | 145 | <properties> |
146 | | - <property name="minimum_supported_version" value="5.3"/> |
| 146 | + <property name="minimum_supported_version" value="5.5"/> |
147 | 147 | </properties> |
148 | 148 | </rule> |
149 | 149 | <rule ref="WordPress.WP.DeprecatedFunctions"> |
150 | 150 | <properties> |
151 | | - <property name="minimum_supported_version" value="5.3"/> |
| 151 | + <property name="minimum_supported_version" value="5.5"/> |
152 | 152 | </properties> |
153 | 153 | </rule> |
154 | 154 | <rule ref="WordPress.WP.DeprecatedParameters"> |
155 | 155 | <properties> |
156 | | - <property name="minimum_supported_version" value="5.3"/> |
| 156 | + <property name="minimum_supported_version" value="5.5"/> |
157 | 157 | </properties> |
158 | 158 | </rule> |
159 | 159 | <!-- Superglobal input not validated or sanitized. --> |
|
178 | 178 | <exclude name="SlevomatCodingStandard.Functions.RequireArrowFunction.RequiredArrowFunction"/> |
179 | 179 | <exclude name="SlevomatCodingStandard.ControlStructures.DisallowEmpty.DisallowedEmpty"/> |
180 | 180 | <exclude name="SlevomatCodingStandard.ControlStructures.NewWithParentheses.MissingParentheses"/> |
| 181 | + <exclude name="SlevomatCodingStandard.ControlStructures.DisallowShortTernaryOperator.DisallowedShortTernaryOperator" /> |
181 | 182 | <exclude name="SlevomatCodingStandard.ControlStructures.DisallowYodaComparison.DisallowedYodaComparison"/> |
182 | 183 | <exclude name="SlevomatCodingStandard.ControlStructures.RequireYodaComparison.RequiredYodaComparison"/> |
183 | 184 | <exclude name="SlevomatCodingStandard.ControlStructures.JumpStatementsSpacing.IncorrectLinesCountAfterLastControlStructure"/> |
|
0 commit comments