diff --git a/.travis.yml b/.travis.yml index 47dec258e..00e227954 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,6 @@ language: php -dist: trusty +dist: bionic git: depth: 5 @@ -9,22 +9,24 @@ cache: directories: - $HOME/.composer/cache -addons: - apt: - packages: - - parallel - matrix: include: - php: 5.3 dist: precise - php: 5.4 + dist: trusty - php: 5.5 + dist: trusty - php: 5.6 + dist: xenial - php: 7.0 + dist: xenial - php: 7.1 + dist: xenial - php: 7.2 + dist: xenial - php: 7.3 + dist: xenial # Regular 7.4 build with locked deps - php: 7.4 env: diff --git a/phpstan/config.neon b/phpstan/config.neon index 779fd3f8c..48b15acb1 100644 --- a/phpstan/config.neon +++ b/phpstan/config.neon @@ -17,9 +17,6 @@ parameters: # variable defined in eval - '~^Undefined variable: \$res$~' - # erroneous detection of missing const, see https://github.com/phpstan/phpstan/issues/2960 - - '~^Access to undefined constant ZipArchive::OPSYS_UNIX.$~' - # we don't have different constructors for parent/child - '~^Unsafe usage of new static\(\)\.$~'