diff options
author | Stefan Giehl <stefan@matomo.org> | 2022-05-17 15:07:09 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-17 15:07:09 +0300 |
commit | 3860159eaa190561896dcade11268193b4b4630b (patch) | |
tree | 22c0e3f4d21a0b79f66aaa0b82b2defa36da0895 /.travis.yml | |
parent | 0acc68778bcb18931b1f74f3374e85832fe2fee1 (diff) |
Compatibility fixes for PHP 8.1 (#19143)
* Update .travis.yml
* fix php 8.1 deprecation notices
* Revert "run report tests on any PHP version (#18666)"
This reverts commit ec58ab4606cbc6c7f7c3a7aa7f1e9cc5a88e5dfb.
* apply PSR12 code formatting
* fix deprecation notice
* try to fix test
* fix frontcontroller test
* Clearing output buffers with enabled output compression makes problems on some PHP versions
* Set the mysqli error reporting to none, to prevent possible problems on PHP 8.1
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml index f0182f2a49..b6941fd390 100644 --- a/.travis.yml +++ b/.travis.yml @@ -66,14 +66,14 @@ matrix: sudo: false addons: false # All tests after another - - php: 8.0.9 + - php: 8.1 env: TEST_SUITE=AllTests MYSQL_ADAPTER=MYSQLI ALLTEST_EXTRA_OPTIONS="--run-first-half-only" SKIP_COMPOSER_INSTALL=1 sudo: required before_install: - composer install --ignore-platform-reqs - composer remove --dev phpunit/phpunit - composer require --dev phpunit/phpunit ~9.3 --ignore-platform-reqs - - php: 8.0.9 + - php: 8.1 env: TEST_SUITE=AllTests MYSQL_ADAPTER=MYSQLI ALLTEST_EXTRA_OPTIONS="--run-second-half-only" SKIP_COMPOSER_INSTALL=1 sudo: required before_install: |