From be1f12c70025721b56f49d859fc1a7c99495ba37 Mon Sep 17 00:00:00 2001 From: Awilum Date: Sun, 27 Dec 2020 20:52:49 +0300 Subject: [PATCH] refactor(core): add phpstat.neon config file --- phpstan.neon | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/phpstan.neon b/phpstan.neon index 3ada963a..e6fd563a 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -1,6 +1,9 @@ parameters: - level: 6 - bootstrapFiles: - - index.php + level: max paths: - src + ignoreErrors: + - '/Constant PATH not found./' + - '/Constant ROOT_DIR not found./' + - '/Variable \$api_errors might not be defined./' + - '/Variable \$registry might not be defined./'