Skip to content

Commit d2e359c

Browse files
committed
php 8.0 compatibility
1 parent 9054aea commit d2e359c

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

.travis.yml

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ php:
33
- 7.2
44
- 7.3
55
- 7.4
6+
- 8.0
67
env:
78
- dependencies=lowest
89
- dependencies=highest

composer.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@
66
"minimum-stability": "dev",
77
"prefer-stable": true,
88
"require": {
9-
"php": "~7.1",
9+
"php": "^7.2 || ^8.0",
1010
"phpstan/phpstan": "^0.12",
1111
"typo3/cms-core": "^8.7 || ^9.5 || ^10.4 || 11.*.*@dev",
1212
"typo3/cms-extbase": "^8.7 || ^9.5 || ^10.4 || 11.*.*@dev"
1313
},
1414
"require-dev": {
15-
"consistence/coding-standard": "^3.8",
15+
"consistence-community/coding-standard": "^3.8",
1616
"dealerdirect/phpcodesniffer-composer-installer": "^0.7.1",
1717
"php-parallel-lint/php-parallel-lint": "^1.2",
1818
"phing/phing": "^2.16.0",

phpcs.xml

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
<?xml version="1.0"?>
22
<ruleset name="PHPStan TYPO3">
33
<config name="php_version" value="70200" />
4-
<rule ref="vendor/consistence/coding-standard/Consistence/ruleset.xml">
4+
<rule ref="vendor/consistence-community/coding-standard/Consistence/ruleset.xml">
5+
<exclude name="SlevomatCodingStandard.Namespaces.FullyQualifiedClassNameAfterKeyword.NonFullyQualifiedImplements"/>
6+
<exclude name="SlevomatCodingStandard.TypeHints.DeclareStrictTypes.IncorrectWhitespaceBeforeDeclare"/>
57
<exclude name="SlevomatCodingStandard.Commenting.InlineDocCommentDeclaration.InvalidFormat"/>
6-
<exclude name="SlevomatCodingStandard.Namespaces.FullyQualifiedClassNameAfterKeyword"/>
78
<exclude name="SlevomatCodingStandard.Namespaces.FullyQualifiedClassNameInAnnotation"/>
89
<exclude name="SlevomatCodingStandard.Namespaces.ReferenceUsedNamesOnly"/>
910
<exclude name="Consistence.Exceptions.ExceptionDeclaration"/>

0 commit comments

Comments
 (0)