From 2b637c82ab85b1ef7cfda00bdd3e0441ccc0404c Mon Sep 17 00:00:00 2001 From: Nicolas Joubert Date: Wed, 18 Dec 2024 15:07:57 +0100 Subject: [PATCH] Fix phpstan configuration, removing .dist --- phpstan.dist.neon | 10 ---------- phpstan.neon | 16 +++------------- 2 files changed, 3 insertions(+), 23 deletions(-) delete mode 100644 phpstan.dist.neon diff --git a/phpstan.dist.neon b/phpstan.dist.neon deleted file mode 100644 index 65e78d1..0000000 --- a/phpstan.dist.neon +++ /dev/null @@ -1,10 +0,0 @@ -parameters: - level: 10 - paths: - - bin/ - - config/ - - public/ - - src/ - - tests/ - symfony: - containerXmlPath: var/cache/dev/App_KernelDevDebugContainer.xml diff --git a/phpstan.neon b/phpstan.neon index 383a07c..22bf9ed 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -1,17 +1,7 @@ parameters: - level: 8 + level: 10 paths: - src - tests - ignoreErrors: - - '#type has no value type specified in iterable type#' - - '#has parameter .* with no value type specified in iterable type#' - - '#has no value type specified in iterable type array#' - - '#configureOptions\(\) has no return type specified.#' - - '#configure\(\) has no return type specified#' - - '#process\(\) has no return type specified#' - - '#should return Iterator but returns Traversable#' - - '#Negated boolean expression is always false#' - reportUnmatchedIgnoredErrors: false - inferPrivatePropertyTypeFromConstructor: true - treatPhpDocTypesAsCertain: false + symfony: + containerXmlPath: var/cache/dev/App_KernelDevDebugContainer.xml