mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-21 01:25:55 +02:00
Updated PHPstan configuration
This commit is contained in:
parent
0ceee1582e
commit
a273acbecd
1 changed files with 3 additions and 8 deletions
|
@ -20,7 +20,7 @@ parameters:
|
||||||
treatPhpDocTypesAsCertain: false
|
treatPhpDocTypesAsCertain: false
|
||||||
|
|
||||||
symfony:
|
symfony:
|
||||||
container_xml_path: '%rootDir%/../../../var/cache/dev/App_KernelDevDebugContainer.xml'
|
containerXmlPath: '%rootDir%/../../../var/cache/dev/App_KernelDevDebugContainer.xml'
|
||||||
|
|
||||||
doctrine:
|
doctrine:
|
||||||
objectManagerLoader: tests/object-manager.php
|
objectManagerLoader: tests/object-manager.php
|
||||||
|
@ -30,11 +30,6 @@ parameters:
|
||||||
|
|
||||||
checkFunctionNameCase: false
|
checkFunctionNameCase: false
|
||||||
|
|
||||||
checkAlwaysTrueInstanceof: false
|
|
||||||
checkAlwaysTrueCheckTypeFunctionCall: false
|
|
||||||
checkAlwaysTrueStrictComparison: false
|
|
||||||
reportAlwaysTrueInLastCondition: false
|
|
||||||
|
|
||||||
reportMaybesInPropertyPhpDocTypes: false
|
reportMaybesInPropertyPhpDocTypes: false
|
||||||
reportMaybesInMethodSignatures: false
|
reportMaybesInMethodSignatures: false
|
||||||
|
|
||||||
|
@ -43,14 +38,14 @@ parameters:
|
||||||
booleansInConditions: false
|
booleansInConditions: false
|
||||||
uselessCast: false
|
uselessCast: false
|
||||||
requireParentConstructorCall: true
|
requireParentConstructorCall: true
|
||||||
disallowedConstructs: false
|
|
||||||
overwriteVariablesWithLoop: false
|
overwriteVariablesWithLoop: false
|
||||||
closureUsesThis: false
|
closureUsesThis: false
|
||||||
matchingInheritedMethodNames: true
|
matchingInheritedMethodNames: true
|
||||||
numericOperandsInArithmeticOperators: true
|
numericOperandsInArithmeticOperators: true
|
||||||
strictCalls: true
|
|
||||||
switchConditionsMatchingType: false
|
switchConditionsMatchingType: false
|
||||||
noVariableVariables: false
|
noVariableVariables: false
|
||||||
|
disallowedEmpty: false
|
||||||
|
disallowedShortTernary: false
|
||||||
|
|
||||||
ignoreErrors:
|
ignoreErrors:
|
||||||
# Ignore errors caused by complex mapping with AbstractStructuralDBElement
|
# Ignore errors caused by complex mapping with AbstractStructuralDBElement
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue