diff --git a/.travis.yml b/.travis.yml index fb01fdd..af54d4e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,6 +13,7 @@ matrix: - php: 7.3 - php: 7.4 env: SNIFF=1 + - php: 8.0 - php: "nightly" fast_finish: true diff --git a/tests/ParallelLint.lint.phpt b/tests/ParallelLint.lint.phpt index b42a044..4ed584c 100644 --- a/tests/ParallelLint.lint.phpt +++ b/tests/ParallelLint.lint.phpt @@ -101,8 +101,8 @@ class ParallelLintLintTest extends Tester\TestCase Assert::false($result->hasSyntaxError()); Assert::equal(0, count($result->getErrors())); - if (PHP_VERSION_ID < 70000) { - Tester\Environment::skip('test for php version > 7.0'); + if (PHP_VERSION_ID < 70000 || PHP_VERSION_ID >= 80000 ) { + Tester\Environment::skip('test for php version 7.0-7.4'); } $parallelLint = new ParallelLint($this->getPhpExecutable());