Skip to content

Commit a273acb

Browse files
committed
Updated PHPstan configuration
1 parent 0ceee15 commit a273acb

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

phpstan.dist.neon

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ parameters:
2020
treatPhpDocTypesAsCertain: false
2121

2222
symfony:
23-
container_xml_path: '%rootDir%/../../../var/cache/dev/App_KernelDevDebugContainer.xml'
23+
containerXmlPath: '%rootDir%/../../../var/cache/dev/App_KernelDevDebugContainer.xml'
2424

2525
doctrine:
2626
objectManagerLoader: tests/object-manager.php
@@ -30,11 +30,6 @@ parameters:
3030

3131
checkFunctionNameCase: false
3232

33-
checkAlwaysTrueInstanceof: false
34-
checkAlwaysTrueCheckTypeFunctionCall: false
35-
checkAlwaysTrueStrictComparison: false
36-
reportAlwaysTrueInLastCondition: false
37-
3833
reportMaybesInPropertyPhpDocTypes: false
3934
reportMaybesInMethodSignatures: false
4035

@@ -43,14 +38,14 @@ parameters:
4338
booleansInConditions: false
4439
uselessCast: false
4540
requireParentConstructorCall: true
46-
disallowedConstructs: false
4741
overwriteVariablesWithLoop: false
4842
closureUsesThis: false
4943
matchingInheritedMethodNames: true
5044
numericOperandsInArithmeticOperators: true
51-
strictCalls: true
5245
switchConditionsMatchingType: false
5346
noVariableVariables: false
47+
disallowedEmpty: false
48+
disallowedShortTernary: false
5449

5550
ignoreErrors:
5651
# Ignore errors caused by complex mapping with AbstractStructuralDBElement

0 commit comments

Comments
 (0)