From 89e99877eaf7b82c95dd890cf7cc0d05b99b4018 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20Vo=C5=99=C3=AD=C5=A1ek?= Date: Mon, 16 Oct 2023 10:53:39 +0200 Subject: [PATCH] stan cnf --- phpstan.neon.dist | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 phpstan.neon.dist diff --git a/phpstan.neon.dist b/phpstan.neon.dist new file mode 100644 index 0000000..8cada15 --- /dev/null +++ b/phpstan.neon.dist @@ -0,0 +1,14 @@ +includes: + - phar://phpstan.phar/conf/bleedingEdge.neon + +parameters: + level: 6 + paths: + - . + excludePaths: + - vendor + + ignoreErrors: + # relax strict rules + - '~^Only booleans are allowed in .+, .+ given( on the (left|right) side)?\.~' + - '~^Variable (static )?(property access|method call) on .+\.~'