mirror of
https://github.com/jbcr/core.git
synced 2026-04-27 18:53:17 +02:00
Fix phpstan! It broke again!
This commit is contained in:
+7
-2
@@ -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']
|
||||
|
||||
Reference in New Issue
Block a user