Skip to content

Commit 68ba88b

Browse files
committed
Improved compatibility with PHPStan 1.0
1 parent 3ca91cc commit 68ba88b

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

phpstan.neon

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ includes:
66
- phpstan-baseline.neon
77

88
parameters:
9-
excludes_analyse:
9+
excludePaths:
1010
- tests/*/data/*
1111

1212
services:

rules.neon

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ rules:
2323
- PHPStan\Rules\DisallowedConstructs\DisallowedShortTernaryRule
2424
- PHPStan\Rules\ForeachLoop\OverwriteVariablesWithForeachRule
2525
- PHPStan\Rules\ForLoop\OverwriteVariablesWithForLoopInitRule
26+
- PHPStan\Rules\Functions\ClosureUsesThisRule
2627
- PHPStan\Rules\Methods\WrongCaseOfInheritedMethodRule
2728
- PHPStan\Rules\Operators\OperandInArithmeticPostDecrementRule
2829
- PHPStan\Rules\Operators\OperandInArithmeticPostIncrementRule

0 commit comments

Comments
 (0)