From fb4b586cf0ca01253704847c0acf2819d42af730 Mon Sep 17 00:00:00 2001 From: Pol Dellaiera Date: Tue, 9 Nov 2021 13:37:01 +0100 Subject: [PATCH] Update baseline - add new errors. --- phpstan-baseline.neon | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon index d2c225d0c..48fbfc399 100644 --- a/phpstan-baseline.neon +++ b/phpstan-baseline.neon @@ -65,6 +65,11 @@ parameters: count: 1 path: src/Bundle/ChillAsideActivityBundle/src/Form/AsideActivityFormType.php + - + message: "#^Variable \\$view might not be defined\\.$#" + count: 8 + path: src/Bundle/ChillCalendarBundle/Controller/CalendarController.php + - message: "#^Method Chill\\\\CustomFieldsBundle\\\\CustomFields\\\\CustomFieldChoice\\:\\:buildForm\\(\\) should return Symfony\\\\Component\\\\Form\\\\FormTypeInterface but return statement is missing\\.$#" count: 1 @@ -465,6 +470,11 @@ parameters: count: 3 path: src/Bundle/ChillPersonBundle/Entity/Person.php + - + message: "#^Method Chill\\\\PersonBundle\\\\Entity\\\\Person\\:\\:getCurrentPersonAddress\\(\\) invoked with 1 parameter, 0 required\\.$#" + count: 1 + path: src/Bundle/ChillPersonBundle/Entity/Person.php + - message: "#^Variable \\$labels might not be defined\\.$#" count: 1 @@ -590,11 +600,31 @@ parameters: count: 4 path: src/Bundle/ChillReportBundle/Timeline/TimelineReportProvider.php + - + message: "#^Variable \\$course might not be defined\\.$#" + count: 1 + path: src/Bundle/ChillTaskBundle/Controller/SingleTaskController.php + - message: "#^Undefined variable\\: \\$type$#" count: 1 path: src/Bundle/ChillTaskBundle/Controller/TaskController.php + - + message: "#^Variable \\$center might not be defined\\.$#" + count: 2 + path: src/Bundle/ChillTaskBundle/Form/SingleTaskType.php + + - + message: "#^Variable \\$isScopeConcerned might not be defined\\.$#" + count: 1 + path: src/Bundle/ChillTaskBundle/Form/SingleTaskType.php + + - + message: "#^Constructor of class Chill\\\\TaskBundle\\\\Security\\\\Authorization\\\\TaskVoter has an unused parameter \\$voterHelperFactory\\.$#" + count: 1 + path: src/Bundle/ChillTaskBundle/Security/Authorization/TaskVoter.php + - message: "#^Method Chill\\\\TaskBundle\\\\Timeline\\\\SingleTaskTaskLifeCycleEventTimelineProvider\\:\\:getTransitionByName\\(\\) should return Symfony\\\\Component\\\\Workflow\\\\Transition but return statement is missing\\.$#" count: 1