Mark extension compatible with php 7.2

This commit is contained in:
Daniel Siepmann 2021-09-07 16:19:29 +02:00
parent da87dc7644
commit b906c50a09
2 changed files with 22 additions and 0 deletions

View file

@ -25,6 +25,12 @@ test:php:7.3:
script: script:
- find *.php Classes Configuration -name '*.php' -print0 | xargs -0 -n 1 -P 4 php -l - find *.php Classes Configuration -name '*.php' -print0 | xargs -0 -n 1 -P 4 php -l
test:php:7.2:
image: php:7.2-alpine
stage: test
script:
- find *.php Classes Configuration -name '*.php' -print0 | xargs -0 -n 1 -P 4 php -l
test:xml: test:xml:
image: php:7.3-alpine image: php:7.3-alpine
stage: test stage: test
@ -43,10 +49,25 @@ test:cgl:
- composer install --prefer-dist --no-progress - composer install --prefer-dist --no-progress
- ./vendor/bin/ecs check --no-progress-bar --clear-cache --fix - ./vendor/bin/ecs check --no-progress-bar --clear-cache --fix
test:phpstan:
image: php:7.4-alpine
stage: test
before_script:
script:
- composer install --prefer-dist --no-progress
test:phpstan: test:phpstan:
image: php:7.3-alpine image: php:7.3-alpine
stage: test stage: test
before_script: before_script:
script: script:
- composer install --prefer-dist --no-progress - composer install --prefer-dist --no-progress
test:phpstan:
image: php:7.2-alpine
stage: test
before_script:
script:
- 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 - php -d memory_limit=-1 ./vendor/bin/phpstan --no-progress

View file

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