From 04c1f318ce2911e358dc56cd0e56091047b0d0d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20N=C3=A9grier?= Date: Mon, 23 Jul 2018 13:48:38 +0200 Subject: [PATCH] Removing workaround following PHPStan bugfix. --- .travis.yml | 2 +- phpstan.neon | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 7e7333f4d..7a11a9fac 100644 --- a/.travis.yml +++ b/.travis.yml @@ -76,7 +76,7 @@ jobs: php: 7.1 env: DEPENDENCIES="" before_script: - - travis_retry composer require --dev --prefer-dist --prefer-stable phpstan/phpstan:^0.10.0 + - travis_retry composer require --dev --prefer-dist --prefer-stable phpstan/phpstan:^0.10.2 script: vendor/bin/phpstan analyse -l 5 -c phpstan.neon src - stage: Static Analysis diff --git a/phpstan.neon b/phpstan.neon index beee1de99..12fdb35cb 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -3,5 +3,3 @@ parameters: # Some parent constructors are explicitly to be ignored - '#does not call parent constructor#' - '#Access to an undefined property PhpParser\\Node\\Param::\$isOptional#' - # PHPStan bug reported to author privatly - - '#Parameter \#1 \.\.\.\$(sourceLocator|node) of closure expects#'