From 56157341234e27b02dce7f318ddbec0fe2406a14 Mon Sep 17 00:00:00 2001 From: Pol Dellaiera Date: Tue, 9 Nov 2021 15:17:55 +0100 Subject: [PATCH] Update baseline - remove obsolete errors. --- phpstan-baseline.neon | 180 ------------------------------------------ 1 file changed, 180 deletions(-) diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon index c2d9808d4..e09ea84bb 100644 --- a/phpstan-baseline.neon +++ b/phpstan-baseline.neon @@ -330,11 +330,6 @@ parameters: count: 1 path: src/Bundle/ChillDocStoreBundle/Entity/DocumentCategory.php - - - message: "#^Class App\\\\Entity\\\\AccompanyingCourseDocument not found\\.$#" - count: 1 - path: src/Bundle/ChillDocStoreBundle/EntityRepository/AccompanyingCourseDocumentRepository.php - - message: "#^Short ternary operator is not allowed\\. Use null coalesce operator if applicable or consider using long ternary\\.$#" count: 1 @@ -665,11 +660,6 @@ parameters: count: 1 path: src/Bundle/ChillMainBundle/DataFixtures/ORM/LoadLanguages.php - - - message: "#^Instantiated class LogicalException not found\\.$#" - count: 1 - path: src/Bundle/ChillMainBundle/DependencyInjection/CompilerPass/ACLFlagsCompilerPass.php - - message: "#^Call to function array_search\\(\\) requires parameter \\#3 to be set\\.$#" count: 5 @@ -700,11 +690,6 @@ parameters: count: 1 path: src/Bundle/ChillMainBundle/DependencyInjection/Widget/AbstractWidgetsCompilerPass.php - - - message: "#^Instantiated class InvalidConfigurationException not found\\.$#" - count: 1 - path: src/Bundle/ChillMainBundle/DependencyInjection/Widget/AbstractWidgetsCompilerPass.php - - message: "#^Variable \\$p might not be defined\\.$#" count: 2 @@ -865,11 +850,6 @@ parameters: count: 2 path: src/Bundle/ChillMainBundle/Phonenumber/PhonenumberHelper.php - - - message: "#^Class Chill\\\\MainBundle\\\\Repository\\\\GroupCenter not found\\.$#" - count: 1 - path: src/Bundle/ChillMainBundle/Repository/UserRepository.php - - message: "#^Chill\\\\MainBundle\\\\Routing\\\\Loader\\\\ChillRoutesLoader\\:\\:__construct\\(\\) does not call parent constructor from Symfony\\\\Component\\\\Config\\\\Loader\\\\Loader\\.$#" count: 1 @@ -985,151 +965,6 @@ parameters: count: 3 path: src/Bundle/ChillMainBundle/Templating/Entity/AddressRender.php - - - message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#" - count: 1 - path: src/Bundle/ChillMainBundle/Test/Export/AbstractAggregatorTest.php - - - - message: "#^Dynamic call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertContains\\(\\)\\.$#" - count: 1 - path: src/Bundle/ChillMainBundle/Test/Export/AbstractAggregatorTest.php - - - - message: "#^Dynamic call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertContainsOnly\\(\\)\\.$#" - count: 1 - path: src/Bundle/ChillMainBundle/Test/Export/AbstractAggregatorTest.php - - - - message: "#^Dynamic call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertGreaterThanOrEqual\\(\\)\\.$#" - count: 4 - path: src/Bundle/ChillMainBundle/Test/Export/AbstractAggregatorTest.php - - - - message: "#^Dynamic call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertInternalType\\(\\)\\.$#" - count: 3 - path: src/Bundle/ChillMainBundle/Test/Export/AbstractAggregatorTest.php - - - - message: "#^Dynamic call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertNotEmpty\\(\\)\\.$#" - count: 2 - path: src/Bundle/ChillMainBundle/Test/Export/AbstractAggregatorTest.php - - - - message: "#^Dynamic call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertTrue\\(\\)\\.$#" - count: 4 - path: src/Bundle/ChillMainBundle/Test/Export/AbstractAggregatorTest.php - - - - message: "#^Dynamic call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:markTestIncomplete\\(\\)\\.$#" - count: 1 - path: src/Bundle/ChillMainBundle/Test/Export/AbstractAggregatorTest.php - - - - message: "#^Call to method Chill\\\\MainBundle\\\\Test\\\\Export\\\\AbstractExportTest\\:\\:getACL\\(\\) with incorrect case\\: getAcl$#" - count: 1 - path: src/Bundle/ChillMainBundle/Test/Export/AbstractExportTest.php - - - - message: "#^Call to private method getClient\\(\\) of class Symfony\\\\Bundle\\\\FrameworkBundle\\\\Test\\\\WebTestCase\\.$#" - count: 1 - path: src/Bundle/ChillMainBundle/Test/Export/AbstractExportTest.php - - - - message: "#^Class Chill\\\\MainBundle\\\\Test\\\\Export\\\\Query not found\\.$#" - count: 1 - path: src/Bundle/ChillMainBundle/Test/Export/AbstractExportTest.php - - - - message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#" - count: 1 - path: src/Bundle/ChillMainBundle/Test/Export/AbstractExportTest.php - - - - message: "#^Dynamic call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertContains\\(\\)\\.$#" - count: 2 - path: src/Bundle/ChillMainBundle/Test/Export/AbstractExportTest.php - - - - message: "#^Dynamic call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertContainsOnly\\(\\)\\.$#" - count: 3 - path: src/Bundle/ChillMainBundle/Test/Export/AbstractExportTest.php - - - - message: "#^Dynamic call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertGreaterThanOrEqual\\(\\)\\.$#" - count: 3 - path: src/Bundle/ChillMainBundle/Test/Export/AbstractExportTest.php - - - - message: "#^Dynamic call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertInstanceOf\\(\\)\\.$#" - count: 1 - path: src/Bundle/ChillMainBundle/Test/Export/AbstractExportTest.php - - - - message: "#^Dynamic call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertInternalType\\(\\)\\.$#" - count: 3 - path: src/Bundle/ChillMainBundle/Test/Export/AbstractExportTest.php - - - - message: "#^Dynamic call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertNotEmpty\\(\\)\\.$#" - count: 3 - path: src/Bundle/ChillMainBundle/Test/Export/AbstractExportTest.php - - - - message: "#^Dynamic call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertTrue\\(\\)\\.$#" - count: 7 - path: src/Bundle/ChillMainBundle/Test/Export/AbstractExportTest.php - - - - message: "#^Dynamic call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:markTestIncomplete\\(\\)\\.$#" - count: 1 - path: src/Bundle/ChillMainBundle/Test/Export/AbstractExportTest.php - - - - message: "#^Dynamic call to static method Symfony\\\\Bundle\\\\FrameworkBundle\\\\Test\\\\WebTestCase\\:\\:getClient\\(\\)\\.$#" - count: 1 - path: src/Bundle/ChillMainBundle/Test/Export/AbstractExportTest.php - - - - message: "#^Call to an undefined method Chill\\\\MainBundle\\\\Test\\\\Export\\\\AbstractFilterTest\\:\\:prepareProphet\\(\\)\\.$#" - count: 1 - path: src/Bundle/ChillMainBundle/Test/Export/AbstractFilterTest.php - - - - message: "#^Dynamic call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertEquals\\(\\)\\.$#" - count: 1 - path: src/Bundle/ChillMainBundle/Test/Export/AbstractFilterTest.php - - - - message: "#^Dynamic call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertGreaterThanOrEqual\\(\\)\\.$#" - count: 2 - path: src/Bundle/ChillMainBundle/Test/Export/AbstractFilterTest.php - - - - message: "#^Dynamic call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertInternalType\\(\\)\\.$#" - count: 3 - path: src/Bundle/ChillMainBundle/Test/Export/AbstractFilterTest.php - - - - message: "#^Dynamic call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertNotEmpty\\(\\)\\.$#" - count: 2 - path: src/Bundle/ChillMainBundle/Test/Export/AbstractFilterTest.php - - - - message: "#^Dynamic call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertTrue\\(\\)\\.$#" - count: 2 - path: src/Bundle/ChillMainBundle/Test/Export/AbstractFilterTest.php - - - - message: "#^Dynamic call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:markTestIncomplete\\(\\)\\.$#" - count: 1 - path: src/Bundle/ChillMainBundle/Test/Export/AbstractFilterTest.php - - - - message: "#^Variable \\$catalogue might not be defined\\.$#" - count: 1 - path: src/Bundle/ChillMainBundle/Test/Export/AbstractFilterTest.php - - message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#" count: 1 @@ -1150,11 +985,6 @@ parameters: count: 1 path: src/Bundle/ChillMainBundle/Util/DateRangeCovering.php - - - message: "#^Constant __METHOD not found\\.$#" - count: 2 - path: src/Bundle/ChillMainBundle/Util/DateRangeCovering.php - - message: "#^Call to function in_array\\(\\) requires parameter \\#3 to be set\\.$#" count: 2 @@ -1185,11 +1015,6 @@ parameters: count: 1 path: src/Bundle/ChillPersonBundle/CRUD/Controller/OneToOneEntityPersonCRUDController.php - - - message: "#^Instantiated class Chill\\\\PersonBundle\\\\CRUD\\\\Controller\\\\BadMethodCallException not found\\.$#" - count: 1 - path: src/Bundle/ChillPersonBundle/CRUD/Controller/OneToOneEntityPersonCRUDController.php - - message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#" count: 1 @@ -1525,11 +1350,6 @@ parameters: count: 1 path: src/Bundle/ChillPersonBundle/Repository/AccompanyingPeriod/AccompanyingPeriodWorkRepository.php - - - message: "#^Class Chill\\\\PersonBundle\\\\Entity\\\\Household\\\\HouseholdMembers not found\\.$#" - count: 1 - path: src/Bundle/ChillPersonBundle/Repository/Household/HouseholdMembersRepository.php - - message: "#^Call to function in_array\\(\\) requires parameter \\#3 to be set\\.$#" count: 2