From 5704351d22dd91aac9a57402bb1f9191f18ec9b6 Mon Sep 17 00:00:00 2001 From: Daniel Siepmann Date: Thu, 27 Apr 2017 12:53:07 +0200 Subject: [PATCH] TASK: Adjust to PHP 7.1 * As PHP 7.1 is required, document and adjust tests in CI. Relates: #71 --- .gitlab-ci.yml | 10 +++------- Documentation/source/index.rst | 2 ++ 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 88d1918..202f4e0 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -27,7 +27,7 @@ sync:github: - git push --mirror ${MIRROR_GIT_URL} lint:coding-guideline: &PHP-LINTING - image: php:7.0-alpine + image: php:7.1-alpine stage: test script: - ./vendor/bin/phpcs -s -n --report-full=result/phpcs-full.txt --report-diff=result/phpcs-diff.txt --report-summary=result/phpcs-summary.txt @@ -41,16 +41,12 @@ lint:php-mass-detection: script: - ./vendor/bin/phpmd src text phpmd.xml > result/phpmd.txt -test:5.6: &PHP-UNITTESTING - image: php:5.6-alpine +test:7.1: &PHP-UNITTESTING + image: php:7.1-alpine stage: test script: - ./vendor/bin/phpunit -test:7.0: - <<: *PHP-UNITTESTING - image: php:7.0-alpine - test:latest: <<: *PHP-UNITTESTING image: php:7-alpine diff --git a/Documentation/source/index.rst b/Documentation/source/index.rst index 93ec3be..709f4ec 100644 --- a/Documentation/source/index.rst +++ b/Documentation/source/index.rst @@ -19,6 +19,8 @@ Requirements To install the project you need ``composer`` to be installed and inside your ``$PATH``. Otherwise run ``make install-composer`` to install composer. +At least PHP 7.1 is required. + Installation ============