Skip to content

Commit b7bcf6a

Browse files
committed
chore: add var_export to forbidden functions
1 parent 019f27d commit b7bcf6a

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

phpstan.neon

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,12 @@ services:
1919
tags: [phpstan.rules.rule]
2020
arguments:
2121
forbiddenFunctions:
22-
- eval
23-
- dump
24-
- die
2522
- compact
23+
- die
24+
- dump
25+
- eval
2626
- var_dump
27+
- var_export
2728
-
2829
class: Symplify\PHPStanRules\Rules\ForbiddenNodeRule
2930
tags: [phpstan.rules.rule]

0 commit comments

Comments
 (0)