From a3ef01e494b881a4702b7db2b1d90498635807aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Viktor=20Sz=C3=A9pe?= Date: Sun, 15 Oct 2023 14:51:41 +0000 Subject: [PATCH] Improve phpstan config --- phpstan.neon.dist | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/phpstan.neon.dist b/phpstan.neon.dist index fe612b5f7..96ad334f8 100644 --- a/phpstan.neon.dist +++ b/phpstan.neon.dist @@ -1,11 +1,14 @@ includes: - vendor/nunomaduro/larastan/extension.neon parameters: - level: 5 + databaseMigrationsPath: + - database/migrations/ + - vendor/orchestra/testbench-core/laravel/migrations/ paths: - src/ - config/ - database/ - routes/ + level: 5 ignoreErrors: - '#^Unsafe usage of new static#'