diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6ed31dd..f49586c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -25,6 +25,12 @@ test:php:7.3: script: - 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: image: php:7.3-alpine stage: test @@ -43,10 +49,25 @@ test:cgl: - composer install --prefer-dist --no-progress - ./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: image: php:7.3-alpine stage: test before_script: script: - 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 diff --git a/composer.json b/composer.json index fac0dce..6c0e9a3 100644 --- a/composer.json +++ b/composer.json @@ -10,6 +10,7 @@ } ], "require": { + "php": "~7.2.0 || ~7.3.0 || ~7.4.0", "typo3/cms-core": "^10.4", "typo3/cms-extbase": "^10.4", "typo3/cms-fluid": "^10.4",