Skip to content

Commit 51536a1

Browse files
authored
Merge pull request #25 from PcComponentes/feature/update-php-8
feat: Remove compatibility with PHP < 8.0
2 parents 64e3b29 + f77e493 commit 51536a1

2 files changed

Lines changed: 6 additions & 5 deletions

File tree

composer.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@
2020
}
2121
},
2222
"require": {
23-
"php": "^7.4 || ^8.0",
24-
"slevomat/coding-standard": "^8.8",
25-
"squizlabs/php_codesniffer": "^3.6"
23+
"php": "^8.0",
24+
"slevomat/coding-standard": "^8.10",
25+
"squizlabs/php_codesniffer": "^3.7"
2626
},
2727
"require-dev": {
28-
"phpunit/phpunit": "^9.5",
29-
"symfony/var-dumper": "^5.4"
28+
"phpunit/phpunit": "^9.6",
29+
"symfony/var-dumper": "^6.0"
3030
},
3131
"config": {
3232
"allow-plugins": {

src/ruleset.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
<ruleset name="PcComponentes Coding Standard">
33
<rule ref="PSR2" />
44
<rule ref="vendor/slevomat/coding-standard/SlevomatCodingStandard/ruleset.xml">
5+
<exclude name="SlevomatCodingStandard.Arrays.AlphabeticallySortedByKeys.IncorrectKeyOrder" />
56
<exclude name="SlevomatCodingStandard.Classes.ClassConstantVisibility" />
67
<exclude name="SlevomatCodingStandard.Classes.ClassLength.ClassTooLong" />
78
<exclude name="SlevomatCodingStandard.Classes.DisallowConstructorPropertyPromotion" />

0 commit comments

Comments
 (0)