From 6e9827806f839d178b29803a618c43a98b368afa Mon Sep 17 00:00:00 2001 From: Pol Dellaiera Date: Tue, 30 Nov 2021 10:08:12 +0100 Subject: [PATCH] Remove obsolete PHPStan issues. --- phpstan-deprecations.neon | 10 ---------- phpstan-types.neon | 5 ----- 2 files changed, 15 deletions(-) diff --git a/phpstan-deprecations.neon b/phpstan-deprecations.neon index 6f9f19956..1e762ce9e 100644 --- a/phpstan-deprecations.neon +++ b/phpstan-deprecations.neon @@ -1,15 +1,5 @@ parameters: ignoreErrors: - - - message: "#^Call to deprecated method getType\\(\\) of class Chill\\\\ActivityBundle\\\\Entity\\\\Activity\\.$#" - count: 3 - path: src/Bundle/ChillActivityBundle/Controller/ActivityController.php - - - - message: "#^Call to deprecated method setType\\(\\) of class Chill\\\\ActivityBundle\\\\Entity\\\\Activity\\.$#" - count: 1 - path: src/Bundle/ChillActivityBundle/Controller/ActivityController.php - - message: """ diff --git a/phpstan-types.neon b/phpstan-types.neon index a91800d99..cce94934f 100644 --- a/phpstan-types.neon +++ b/phpstan-types.neon @@ -5,11 +5,6 @@ parameters: count: 1 path: src/Bundle/ChillActivityBundle/DataFixtures/ORM/LoadActivitytACL.php - - - message: "#^Call to function in_array\\(\\) requires parameter \\#3 to be set\\.$#" - count: 1 - path: src/Bundle/ChillActivityBundle/Entity/Activity.php - - message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#" count: 1