mirror of https://github.com/FriendsOfTYPO3/tea.git synced 2024-11-26 06:16:12 +01:00

[TASK] Add php8 compatibility (#311)

Resolves: #287

Co-authored-by: Łukasz Uznański <l.uznanski@macopedia.com>
This commit is contained in:
Łukasz Uznański 2021-09-23 10:50:10 +02:00 committed by GitHub
parent 0816fad65b
commit f49a8bcae3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 1 deletions

View file

@ -24,6 +24,7 @@ include:
- '/.gitlab/pipeline/jobs/php-lint-php7.2.yml' - '/.gitlab/pipeline/jobs/php-lint-php7.2.yml'
- '/.gitlab/pipeline/jobs/php-lint-php7.3.yml' - '/.gitlab/pipeline/jobs/php-lint-php7.3.yml'
- '/.gitlab/pipeline/jobs/php-lint-php7.4.yml' - '/.gitlab/pipeline/jobs/php-lint-php7.4.yml'
- '/.gitlab/pipeline/jobs/php-lint-php8.0.yml'
- '/.gitlab/pipeline/jobs/phpcs.yml' - '/.gitlab/pipeline/jobs/phpcs.yml'
- '/.gitlab/pipeline/jobs/ts-lint.yml' - '/.gitlab/pipeline/jobs/ts-lint.yml'
- '/.gitlab/pipeline/jobs/unit-php7.2-v9.yml' - '/.gitlab/pipeline/jobs/unit-php7.2-v9.yml'

View file

@ -0,0 +1,7 @@
php-lint-php8.0:
extends: .default
image: php:8.0
stage: lint
needs: [ ]
script:
- composer ci:php:lint

View file

@ -21,7 +21,7 @@
} }
], ],
"require": { "require": {
"php": "~7.2.0 || ~7.3.0 || ~7.4.0", "php": "~7.2.0 || ~7.3.0 || ~7.4.0 || ~8.0",
"typo3/cms-core": "^9.5 || ^10.4 || ^11.4", "typo3/cms-core": "^9.5 || ^10.4 || ^11.4",
"typo3/cms-extbase": "^9.5 || ^10.4 || ^11.4", "typo3/cms-extbase": "^9.5 || ^10.4 || ^11.4",
"typo3/cms-fluid": "^9.5 || ^10.4 || ^11.4", "typo3/cms-fluid": "^9.5 || ^10.4 || ^11.4",