Fix phpstan! It broke again!

This commit is contained in:
Ivo Valchev
2020-09-16 11:20:26 +02:00
parent 31e1b3f3a0
commit 2cd07855a9
+7 -2
View File
@@ -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']