Skip to content

Commit

Permalink
Merge pull request #1862 from bolt/chore/phpstan-fix
Browse files Browse the repository at this point in the history
Fix phpstan break (again)!
  • Loading branch information
bobdenotter authored Sep 16, 2020
2 parents 31e1b3f + 2cd0785 commit 7c8c976
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions phpstan.neon
Original file line number Diff line number Diff line change
Expand Up @@ -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']

0 comments on commit 7c8c976

Please sign in to comment.