From 2cd07855a944d53ea8df2fe6f74a6bf283bf1129 Mon Sep 17 00:00:00 2001 From: Ivo Valchev Date: Wed, 16 Sep 2020 11:20:26 +0200 Subject: [PATCH] Fix phpstan! It broke again! --- phpstan.neon | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/phpstan.neon b/phpstan.neon index bfb17b53e..7b6da6a74 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -29,5 +29,10 @@ includes: - vendor/phpstan/phpstan-symfony/extension.neon - vendor/phpstan/phpstan-doctrine/extension.neon # - vendor/thecodingmachine/phpstan-safe-rule/phpstan-safe-rule.neon # make ON when thecodingmachine/safe will get stable -rules: - - Symplify\CodingStandard\Rules\NoDebugFuncCallRule + +services: + - + class: Symplify\CodingStandard\Rules\ForbiddenFuncCallRule + tags: [phpstan.rules.rule] + arguments: + forbiddenFunctions: ['d', 'dd', 'dump', 'var_dump', 'extract']