Skip to content

Commit 43a92f9

Browse files
committed
tidy up
1 parent 37f6124 commit 43a92f9

1 file changed

Lines changed: 6 additions & 24 deletions

File tree

‎phpstan.neon‎

Lines changed: 6 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -292,16 +292,6 @@ parameters:
292292
message: '#Method (.*?)refactor\(\) (never returns|should return) (.*?)#'
293293
path: rules/Php70/Rector/If_/IfToSpaceshipRector.php
294294

295-
-
296-
identifier: symplify.forbiddenFuncCall
297-
message: '#Function "var_dump\(\)" cannot be used/left in the code#'
298-
path: src/functions/node_helper.php
299-
300-
-
301-
identifier: symplify.forbiddenFuncCall
302-
message: '#Function "class_exists\(\)" cannot be used/left in the code#'
303-
path: src/Configuration/OnlyRuleResolver.php
304-
305295
-
306296
identifier: symplify.forbiddenFuncCall
307297
message: '#Function "property_exists\(\)" cannot be used/left in the code#'
@@ -319,35 +309,27 @@ parameters:
319309
- src/Validation/RectorConfigValidator.php
320310
- src/Testing/PHPUnit/AbstractLazyTestCase.php
321311
- src/Reporting/DeprecatedRulesReporter.php
312+
- src/Configuration/OnlyRuleResolver.php
322313

323314
# required for reflection
324315
-
325316
identifier: symplify.forbiddenFuncCall
326317
message: '#Function "(.*?)\(\)" cannot be used/left in the code#'
327318
path: src/Util/Reflection/PrivatesAccessor.php
328319

329-
-
330-
identifier: symplify.forbiddenFuncCall
331-
message: '#Function "(function_exists|dump_node)\(\)" cannot be used/left in the code#'
332-
path: src/functions/node_helper.php
333-
334-
# chicken/egg
335-
-
336-
identifier: symplify.forbiddenFuncCall
337-
message: '#Function "(d|dd)\(\)" cannot be used/left in the code#'
338-
path: tests/debug_functions.php
339-
340320
# debug functions
341321
-
342322
identifier: symplify.forbiddenFuncCall
343-
message: '#Function "function_exists\(\)" cannot be used/left in the code\: use ReflectionProvider\->has\*\(\) instead#'
344-
path: tests/debug_functions.php
323+
paths:
324+
- src/functions/node_helper.php
325+
- tests/debug_functions.php
345326

346327
# checks for rector always autoloaded rules only
347328
-
348329
identifier: symplify.forbiddenFuncCall
349330
message: '#Function "(class_exists|interface_exists)\(\)" cannot be used/left in the code\: use ReflectionProvider\->has\*\(\) instead#'
350-
path: src/Skipper/SkipCriteriaResolver/SkippedClassResolver.php
331+
paths:
332+
- src/Skipper/SkipCriteriaResolver/SkippedClassResolver.php
351333

352334
# native filesystem calls, required for performance reasons
353335
-

0 commit comments

Comments
 (0)