Part-DB.Part-DB-server/phpstan.neon

55 lines
1.6 KiB
Text
Raw Normal View History

2020-02-01 17:00:03 +01:00
parameters:
2023-06-13 19:01:19 +02:00
level: 5
paths:
- src
2023-06-13 19:06:50 +02:00
# - tests
2023-06-13 19:01:19 +02:00
2023-06-13 19:06:50 +02:00
excludePaths:
2023-06-13 19:01:19 +02:00
- src/DataTables/Adapter/*
- src/Configuration/*
- src/Doctrine/Purger/*
2020-02-01 17:00:03 +01:00
inferPrivatePropertyTypeFromConstructor: true
2020-02-01 19:42:28 +01:00
treatPhpDocTypesAsCertain: false
2020-02-01 17:00:03 +01:00
symfony:
2023-06-14 23:14:49 +02:00
container_xml_path: '%rootDir%/../../../var/cache/dev/App_KernelDevDebugContainer.xml'
checkUninitializedProperties: true
2023-06-18 00:00:58 +02:00
checkFunctionNameCase: true
checkAlwaysTrueInstanceof: false
checkAlwaysTrueCheckTypeFunctionCall: false
checkAlwaysTrueStrictComparison: false
reportAlwaysTrueInLastCondition: false
reportMaybesInPropertyPhpDocTypes: false
reportMaybesInMethodSignatures: false
2023-06-14 23:14:49 +02:00
strictRules:
disallowedLooseComparison: false
booleansInConditions: false
uselessCast: false
requireParentConstructorCall: true
disallowedConstructs: false
2023-06-18 00:00:58 +02:00
overwriteVariablesWithLoop: false
2023-06-14 23:14:49 +02:00
closureUsesThis: false
matchingInheritedMethodNames: true
numericOperandsInArithmeticOperators: true
strictCalls: true
switchConditionsMatchingType: false
2023-06-18 00:28:21 +02:00
noVariableVariables: false
ignoreErrors:
# Ignore errors caused by complex mapping with AbstractStructuralDBElement
- '#AbstractStructuralDBElement does not have a field named \$parent#'
- '#AbstractStructuralDBElement does not have a field named \$name#'
# Ignore errors related to the use of the ParametersTrait in Part entity
- '#expects .*PartParameter, .*AbstractParameter given.#'
- '#Part::getParameters\(\) should return .*AbstractParameter#'