Skip to content

Commit 10e9e75

Browse files
committed
Move defaults to extension
1 parent da3218d commit 10e9e75

File tree

2 files changed

+15
-12
lines changed

2 files changed

+15
-12
lines changed

extension.neon

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,18 @@ services:
1111
class: WP_CLI\Tests\PHPStan\WPCliRuncommandDynamicReturnTypeExtension
1212
tags:
1313
- phpstan.broker.dynamicStaticMethodReturnTypeExtension
14+
parameters:
15+
strictRules:
16+
disallowedLooseComparison: false
17+
booleansInConditions: false
18+
uselessCast: false
19+
requireParentConstructorCall: false
20+
disallowedConstructs: false
21+
overwriteVariablesWithLoop: false
22+
closureUsesThis: false
23+
matchingInheritedMethodNames: false
24+
numericOperandsInArithmeticOperators: false
25+
strictCalls: false
26+
switchConditionsMatchingType: false
27+
noVariableVariables: false
28+
strictArrayFilter: false

phpstan.neon.dist

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -24,16 +24,4 @@ parameters:
2424
- message: '#Dynamic call to static method#'
2525
path: 'tests/tests'
2626
strictRules:
27-
disallowedLooseComparison: false
28-
booleansInConditions: false
29-
uselessCast: false
30-
requireParentConstructorCall: false
31-
disallowedConstructs: false
32-
overwriteVariablesWithLoop: false
33-
closureUsesThis: false
34-
matchingInheritedMethodNames: false
35-
numericOperandsInArithmeticOperators: false
3627
strictCalls: true
37-
switchConditionsMatchingType: false
38-
noVariableVariables: false
39-
strictArrayFilter: false

0 commit comments

Comments
 (0)