Skip to content

Commit d692d51

Browse files
committed
1 parent 9cc9564 commit d692d51

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.phpcs.xml.dist

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,12 @@
6262
<exclude name="SlevomatCodingStandard.Functions.StaticClosure"/><!-- PHP 5.4+ -->
6363
<exclude name="SlevomatCodingStandard.Classes.ModernClassNameReference"/><!-- PHP 5.5+ -->
6464
<exclude name="Modernize.FunctionCalls.Dirname.Nested"/><!-- PHP 7.0+. -->
65+
<exclude name="SlevomatCodingStandard.ControlStructures.RequireNullCoalesceOperator"/><!-- PHP 7.0+. -->
6566
<exclude name="PSR12.Properties.ConstantVisibility"/><!-- PHP 7.1+. -->
6667
<exclude name="SlevomatCodingStandard.TypeHints.NullableTypeForNullDefaultValue"/><!-- PHP 7.1+. -->
68+
<exclude name="SlevomatCodingStandard.Functions.RequireTrailingCommaInCall"/><!-- PHP 7.3+. -->
69+
<exclude name="SlevomatCodingStandard.ControlStructures.RequireNullCoalesceEqualOperator"/><!-- PHP 7.4+. -->
70+
<exclude name="SlevomatCodingStandard.Numbers.RequireNumericLiteralSeparator"/><!-- PHP 7.4+. -->
6771
</rule>
6872

6973
<!-- Check that variable names are in camelCaps. -->

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"php-parallel-lint/php-parallel-lint": "^1.4.0",
2424
"phpunit/phpunit": "^4.8.36 || ^5.7.21 || ^6.0 || ^7.0 || ^8.0 || ^9.0",
2525
"roave/security-advisories": "dev-master",
26-
"yoast/yoastcs": "^3.2.0"
26+
"yoast/yoastcs": "^3.3.0"
2727
},
2828
"minimum-stability": "dev",
2929
"prefer-stable": true,

0 commit comments

Comments
 (0)