From 163839494b672a65f1bf490ab3a0d4878cff67a1 Mon Sep 17 00:00:00 2001 From: Alejandro Celaya Date: Thu, 23 Jul 2020 16:34:25 +0200 Subject: [PATCH 1/2] Added Builds on PHP nightly --- .travis.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 07e500ea..e2d901d1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,6 +15,8 @@ cache: jobs: fast_finish: true + allow_failures: + - php: 'nightly' include: - name: "Docker publish" if: NOT type = pull_request @@ -24,8 +26,14 @@ jobs: before_script: echo "Before script" script: bash ./docker/build after_success: echo "After success" - - name: "CI" + - name: "CI - 8.0" + php: 'nightly' + env: + - COMPOSER_FLAGS='--ignore-platform-reqs' + - name: "CI - 7.4" php: '7.4' + env: + - COMPOSER_FLAGS='' # Deploy release only on smallest supported PHP version before_deploy: - rm -f ocular.phar @@ -49,7 +57,7 @@ before_install: install: - composer self-update - - composer install --no-interaction --prefer-dist + - composer install --no-interaction --prefer-dist $COMPOSER_FLAGS before_script: - docker-compose exec shlink_db_ms /opt/mssql-tools/bin/sqlcmd -S localhost -U sa -P 'Passw0rd!' -Q "CREATE DATABASE shlink_test;" From f4da1b0a2ec20a55972d9aaadd9e0f9f9e68bbb7 Mon Sep 17 00:00:00 2001 From: Alejandro Celaya Date: Thu, 23 Jul 2020 16:53:28 +0200 Subject: [PATCH 2/2] Fixed wrong regexes in phpstan.neon --- phpstan.neon | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/phpstan.neon b/phpstan.neon index e065acef..35b1beda 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -2,6 +2,6 @@ parameters: checkMissingIterableValueType: false checkGenericClassInNonGenericObjectType: false ignoreErrors: - - '#AbstractQuery::setParameters()#' - - '#mustRun()#' + - '#AbstractQuery::setParameters\(\)#' + - '#mustRun\(\)#' - '#AssociationBuilder::setOrderBy#'