Support PHP 8.1

This commit is contained in:
Daniel Siepmann 2022-08-02 14:50:09 +02:00
parent 2abc84d1ae
commit 86ce1d700e
4 changed files with 51 additions and 2 deletions

View file

@ -14,6 +14,12 @@ validate:composer:
script: script:
- composer validate --no-check-publish --strict - composer validate --no-check-publish --strict
validate:php:8.1:
image: php:8.1-alpine
stage: validate
script:
- find *.php Classes Configuration -name '*.php' -print0 | xargs -0 -n 1 -P 4 php -l
validate:php:8.0: validate:php:8.0:
image: php:8.0-alpine image: php:8.0-alpine
stage: validate stage: validate
@ -56,6 +62,14 @@ validate:cgl:
- composer install --prefer-dist --no-progress - composer install --prefer-dist --no-progress
- ./vendor/bin/ecs check --no-progress-bar --clear-cache - ./vendor/bin/ecs check --no-progress-bar --clear-cache
validate:phpstan:8.1:
image: php:8.1-alpine
stage: validate
before_script:
script:
- composer install --prefer-dist --no-progress
- php -d memory_limit=-1 ./vendor/bin/phpstan --no-progress
validate:phpstan:8.0: validate:phpstan:8.0:
image: php:8.0-alpine image: php:8.0-alpine
stage: validate stage: validate
@ -96,6 +110,14 @@ validate:phpstan:7.2:
- composer install --prefer-dist --no-progress - composer install --prefer-dist --no-progress
- php -d memory_limit=-1 ./vendor/bin/phpstan --no-progress - php -d memory_limit=-1 ./vendor/bin/phpstan --no-progress
test:phpunit:8.1:
image: php:8.1-alpine
stage: test
before_script:
script:
- composer install --prefer-dist --no-progress
- php -d memory_limit=-1 ./vendor/bin/phpunit --testdox
test:phpunit:8.0: test:phpunit:8.0:
image: php:8.0-alpine image: php:8.0-alpine
stage: test stage: test

View file

@ -0,0 +1,27 @@
2.6.0
=====
Breaking
--------
Nothing
Features
--------
* Support PHP 8.1.
Fixes
-----
Nothing
Tasks
-----
Nothing
Deprecation
-----------
Nothing

View file

@ -15,7 +15,7 @@
} }
], ],
"require": { "require": {
"php": "~7.2.0 || ~7.3.0 || ~7.4.0 || ~8.0.0", "php": "~7.2.0 || ~7.3.0 || ~7.4.0 || ~8.0.0 || ~8.1.0",
"typo3/cms-core": "^10.4 || ^11.5", "typo3/cms-core": "^10.4 || ^11.5",
"typo3/cms-extbase": "^10.4 || ^11.5", "typo3/cms-extbase": "^10.4 || ^11.5",
"typo3/cms-fluid": "^10.4 || ^11.5", "typo3/cms-fluid": "^10.4 || ^11.5",

View file

@ -9,7 +9,7 @@ $EM_CONF['events'] = [
'state' => 'alpha', 'state' => 'alpha',
'createDirs' => '', 'createDirs' => '',
'clearCacheOnLoad' => 0, 'clearCacheOnLoad' => 0,
'version' => '2.5.0', 'version' => '2.6.0',
'constraints' => [ 'constraints' => [
'depends' => [ 'depends' => [
'typo3' => '10.4.00-11.5.99', 'typo3' => '10.4.00-11.5.99',