diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon index bca34d7a4..c280d3a3d 100644 --- a/phpstan-baseline.neon +++ b/phpstan-baseline.neon @@ -715,11 +715,6 @@ parameters: count: 3 path: tests/Wallabag/AnnotationBundle/Controller/AnnotationControllerTest.php - - - message: "#^Missing call to parent\\:\\:setUp\\(\\) method\\.$#" - count: 1 - path: tests/Wallabag/AnnotationBundle/WallabagAnnotationTestCase.php - - message: "#^PHPDoc tag @var has invalid value \\(\\$loginManager \\\\FOS\\\\UserBundle\\\\Security\\\\LoginManager\\)\\: Unexpected token \"\\$loginManager\", expected type at offset 9$#" count: 1 @@ -805,11 +800,6 @@ parameters: count: 1 path: tests/Wallabag/ApiBundle/WallabagApiTestCase.php - - - message: "#^Missing call to parent\\:\\:setUp\\(\\) method\\.$#" - count: 1 - path: tests/Wallabag/ApiBundle/WallabagApiTestCase.php - - message: "#^PHPDoc tag @var has invalid value \\(\\$loginManager \\\\FOS\\\\UserBundle\\\\Security\\\\LoginManager\\)\\: Unexpected token \"\\$loginManager\", expected type at offset 9$#" count: 1 diff --git a/tests/Wallabag/AnnotationBundle/WallabagAnnotationTestCase.php b/tests/Wallabag/AnnotationBundle/WallabagAnnotationTestCase.php index d76475acc..0e8585754 100644 --- a/tests/Wallabag/AnnotationBundle/WallabagAnnotationTestCase.php +++ b/tests/Wallabag/AnnotationBundle/WallabagAnnotationTestCase.php @@ -23,6 +23,7 @@ abstract class WallabagAnnotationTestCase extends WebTestCase protected function setUp(): void { + parent::setUp(); $this->client = $this->createAuthorizedClient(); } diff --git a/tests/Wallabag/ApiBundle/WallabagApiTestCase.php b/tests/Wallabag/ApiBundle/WallabagApiTestCase.php index 20c6bcc2d..ae567a52e 100644 --- a/tests/Wallabag/ApiBundle/WallabagApiTestCase.php +++ b/tests/Wallabag/ApiBundle/WallabagApiTestCase.php @@ -25,6 +25,7 @@ abstract class WallabagApiTestCase extends WebTestCase protected function setUp(): void { + parent::setUp(); $this->client = $this->createAuthorizedClient(); }