From 3f950f5c7810ede9fc4e77477cb914c5e0d39205 Mon Sep 17 00:00:00 2001 From: odan Date: Sat, 24 Aug 2019 13:04:12 +0200 Subject: [PATCH] Fix tests --- phpstan.neon | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/phpstan.neon b/phpstan.neon index 5a1557f4d..53485fdc4 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -1,7 +1,6 @@ parameters: reportUnmatchedIgnoredErrors: false ignoreErrors: - - '/Cannot access offset 0 on callable/' - - '/Cannot access offset 1 on callable/' - - '#PHPDoc tag @throws with type Interop\\Container\\Exception\\ContainerException is not subtype of Throwable#' - - '#PHPDoc tag @throws with type Psr\Container\ContainerExceptionInterface|ReflectionException is not subtype of Throwable#' + - '/Cannot access offset [0-1]+ on (.*)callable/' + - '/PHPDoc tag @throws with type Interop\\Container\\Exception\\ContainerException is not subtype of Throwable/' + - '/PHPDoc tag @throws with type Psr\Container\ContainerExceptionInterface|ReflectionException is not subtype of Throwable/'