From 6f9ff4b084373bb934b7cbe2cc31a83ddf1bb2a7 Mon Sep 17 00:00:00 2001 From: peter279k Date: Sun, 11 Nov 2018 22:14:07 +0800 Subject: [PATCH] Test enhancement (#1723) --- .travis.yml | 2 ++ composer.json | 2 +- tests/Dompdf/Tests/AutoloaderTest.php | 4 ++-- tests/Dompdf/Tests/DompdfTest.php | 4 ++-- tests/Dompdf/Tests/HelpersTest.php | 4 ++-- tests/Dompdf/Tests/OptionsTest.php | 4 ++-- 6 files changed, 11 insertions(+), 9 deletions(-) diff --git a/.travis.yml b/.travis.yml index 1b479db43..c0473a49a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,6 +8,7 @@ php: - 7.1 - 7.2 - 7.3 + - nightly - hhvm install: travis_retry composer install --no-interaction --prefer-source @@ -18,6 +19,7 @@ script: matrix: allow_failures: + - php: nightly - php: hhvm - php: 7.3 fast_finish: true diff --git a/composer.json b/composer.json index d351a924e..01135e5ec 100644 --- a/composer.json +++ b/composer.json @@ -33,7 +33,7 @@ "phenx/php-svg-lib": "0.3.*" }, "require-dev": { - "phpunit/phpunit": "4.8.*", + "phpunit/phpunit": "^4.8|^5.5|^6.5", "squizlabs/php_codesniffer": "2.*" }, "extra": { diff --git a/tests/Dompdf/Tests/AutoloaderTest.php b/tests/Dompdf/Tests/AutoloaderTest.php index 91ee9205b..bd77e5bcf 100644 --- a/tests/Dompdf/Tests/AutoloaderTest.php +++ b/tests/Dompdf/Tests/AutoloaderTest.php @@ -1,10 +1,10 @@