Skip to content

Commit a85ee92

Browse files
authored
Upgrade contributte/qa to 0.4.0 and ruleset to PHP 8.2 (#1234)
1 parent 1816b3c commit a85ee92

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"symfony/property-access": "^6.4.0 || ^7.2.0 || ^8.0.0"
3333
},
3434
"require-dev": {
35-
"contributte/qa": "^0.3.0",
35+
"contributte/qa": "^0.4.0",
3636
"dibi/dibi": "^5.0.2",
3737
"doctrine/annotations": "^1.14.4",
3838
"doctrine/cache": "^1.13.0",

ruleset.xml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,7 @@
11
<?xml version="1.0"?>
22
<ruleset>
33
<!-- Contributte Coding Standard -->
4-
<rule ref="./vendor/contributte/qa/ruleset-8.1.xml">
5-
<exclude name="Squiz.PHP.Heredoc.NotAllowed"/>
6-
<exclude name="Squiz.Commenting.FunctionComment.InvalidTypeHint"/>
7-
<exclude name="SlevomatCodingStandard.ControlStructures.EarlyExit.EarlyExitNotUsed"/>
8-
<exclude name="SlevomatCodingStandard.Exceptions.ReferenceThrowableOnly.ReferencedGeneralException"/>
4+
<rule ref="./vendor/contributte/qa/ruleset-8.2.xml">
95
<exclude name="SlevomatCodingStandard.TypeHints.PropertyTypeHint.MissingTraversableTypeHintSpecification"/>
106
<exclude name="SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingTraversableTypeHintSpecification"/>
117
<exclude name="SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingTraversableTypeHintSpecification"/>
@@ -19,7 +15,10 @@
1915
<element key="tests/Cases" value="Contributte\Datagrid\Tests\Cases"/>
2016
<element key="tests/Files" value="Contributte\Datagrid\Tests\Files"/>
2117
</property>
22-
<property name="extensions" type="array" value="php,phpt"/>
18+
<property name="extensions" type="array">
19+
<element value="php"/>
20+
<element value="phpt"/>
21+
</property>
2322
</properties>
2423
</rule>
2524

0 commit comments

Comments
 (0)