From 703c2d845185293cc87ddacd4d3a824635db4bef Mon Sep 17 00:00:00 2001 From: Daniel Kurowski Date: Wed, 26 May 2021 15:15:50 +0200 Subject: [PATCH] Added phpstan for manual run --- composer.json | 1 + phpstan.neon | 5 +++++ 2 files changed, 6 insertions(+) create mode 100644 phpstan.neon diff --git a/composer.json b/composer.json index becbd96..0718a46 100644 --- a/composer.json +++ b/composer.json @@ -16,6 +16,7 @@ "guzzlehttp/guzzle": "^6.3" }, "require-dev": { + "phpstan/phpstan": "^0.12.88", "tracy/tracy": "^2.5" }, "autoload": { diff --git a/phpstan.neon b/phpstan.neon new file mode 100644 index 0000000..7fa53ad --- /dev/null +++ b/phpstan.neon @@ -0,0 +1,5 @@ +parameters: + level: 0 # incrementaly increase up to the highest (currently 8) + paths: + - src/ + - tests/