mirror of https://github.com/FriendsOfTYPO3/tea.git synced 2024-11-26 05:56:13 +01:00

[FEATURE] Enable php8.1 (#381)

This commit is contained in:
Łukasz Uznański 2022-02-23 14:38:20 +01:00 committed by GitHub
parent 73721545d7
commit 9e00038119
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 17 additions and 2 deletions

View file

@ -32,6 +32,7 @@ jobs:
- 7.3 - 7.3
- 7.4 - 7.4
- 8.0 - 8.0
- 8.1
code-quality: code-quality:
name: "Code quality checks" name: "Code quality checks"
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
@ -170,6 +171,12 @@ jobs:
- typo3-version: ^11.5 - typo3-version: ^11.5
php-version: 8.0 php-version: 8.0
composer-dependencies: lowest composer-dependencies: lowest
- typo3-version: ^11.5
php-version: 8.1
composer-dependencies: highest
- typo3-version: ^11.5
php-version: 8.1
composer-dependencies: lowest
functional-tests: functional-tests:
name: "Functional tests" name: "Functional tests"
runs-on: ubuntu-18.04 runs-on: ubuntu-18.04

View file

@ -22,6 +22,7 @@ include:
- '/.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/php-lint-php8.0.yml'
- '/.gitlab/pipeline/jobs/php-lint-php8.1.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-v10.yml' - '/.gitlab/pipeline/jobs/unit-php7.2-v10.yml'

View file

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

View file

@ -25,7 +25,7 @@
"source": "https://github.com/TYPO3-Documentation/tea" "source": "https://github.com/TYPO3-Documentation/tea"
}, },
"require": { "require": {
"php": "~7.2.0 || ~7.3.0 || ~7.4.0 || ~8.0", "php": "~7.2.0 || ~7.3.0 || ~7.4.0 || ~8.0 || ~8.1",
"typo3/cms-core": "^10.4 || ^11.5.2", "typo3/cms-core": "^10.4 || ^11.5.2",
"typo3/cms-extbase": "^10.4 || ^11.5.2", "typo3/cms-extbase": "^10.4 || ^11.5.2",
"typo3/cms-fluid": "^10.4 || ^11.5.2", "typo3/cms-fluid": "^10.4 || ^11.5.2",

View file

@ -7,7 +7,7 @@ $EM_CONF[$_EXTKEY] = [
'category' => 'example', 'category' => 'example',
'constraints' => [ 'constraints' => [
'depends' => [ 'depends' => [
'php' => '7.2.0-7.4.99', 'php' => '7.2.0-8.1.99',
'typo3' => '10.4.0-11.5.99', 'typo3' => '10.4.0-11.5.99',
], ],
], ],