From 3817ba774d830be43c4c7fca81afc3a0090110cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20B=C3=B6hmer?= Date: Sun, 18 Jun 2023 00:28:21 +0200 Subject: [PATCH] Ignore the remaining issues --- phpstan.neon | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/phpstan.neon b/phpstan.neon index ca71762a..db118378 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -43,4 +43,13 @@ parameters: numericOperandsInArithmeticOperators: true strictCalls: true switchConditionsMatchingType: false - noVariableVariables: false \ No newline at end of file + 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#' \ No newline at end of file