From 3e38a0ddac8c012d9da12f1311b8d9be3188ec15 Mon Sep 17 00:00:00 2001 From: Ismo Vuorinen Date: Mon, 19 Aug 2024 09:48:03 +0300 Subject: [PATCH] chore: phpstan config --- composer.json | 2 +- phpstan.neon | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 phpstan.neon diff --git a/composer.json b/composer.json index be08125..4f31724 100644 --- a/composer.json +++ b/composer.json @@ -22,6 +22,6 @@ "docs": "php vendor/bin/phpdoc-md generate src > docs.md", "lint": "php vendor/bin/phpcs --standard=PSR12 src", "lint-fix": "php vendor/bin/phpcbf --standard=PSR12 src", - "phpstan": "php vendor/bin/phpstan analyse src --level=9" + "phpstan": "php vendor/bin/phpstan analyse" } } diff --git a/phpstan.neon b/phpstan.neon new file mode 100644 index 0000000..ffdbd91 --- /dev/null +++ b/phpstan.neon @@ -0,0 +1,4 @@ +parameters: + level: 9 + paths: + - src