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/*
|
2023-10-06 14:42:32 +02:00
|
|
|
- src/DataTables/Adapters/TwoStepORMAdapter.php
|
2024-07-28 22:52:44 +02:00
|
|
|
- src/Form/Fixes/*
|
2024-10-13 23:23:48 +02:00
|
|
|
- src/Translation/Fixes/*
|
2023-06-13 19:01:19 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
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'
|
|
|
|
|
2023-08-28 22:39:29 +02:00
|
|
|
doctrine:
|
|
|
|
objectManagerLoader: tests/object-manager.php
|
|
|
|
allowNullablePropertyForRequiredField: true
|
|
|
|
|
2023-06-14 23:14:49 +02:00
|
|
|
checkUninitializedProperties: true
|
|
|
|
|
2023-11-05 21:42:39 +01:00
|
|
|
checkFunctionNameCase: false
|
2023-06-18 00:00:58 +02:00
|
|
|
|
|
|
|
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#'
|
2023-08-28 22:39:29 +02:00
|
|
|
#- '#AbstractStructuralDBElement does not have a field named \$name#'
|
2023-06-18 00:28:21 +02:00
|
|
|
|
|
|
|
# Ignore errors related to the use of the ParametersTrait in Part entity
|
|
|
|
- '#expects .*PartParameter, .*AbstractParameter given.#'
|
2023-08-28 22:39:29 +02:00
|
|
|
- '#Part::getParameters\(\) should return .*AbstractParameter#'
|
|
|
|
|
|
|
|
# Ignore doctrine type mapping mismatch
|
|
|
|
- '#Property .* type mapping mismatch: property can contain .* but database expects .*#'
|