From 1270e4732b09b55434e69a7d009c2c8b04a68fc5 Mon Sep 17 00:00:00 2001 From: Andrew Longosz Date: Fri, 11 Oct 2024 17:37:26 +0200 Subject: [PATCH] [PHPStan] Aligned baseline with the changes --- phpstan-baseline.neon | 110 ------------------------------------------ 1 file changed, 110 deletions(-) diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon index 06af78e6dc..1a2093ba86 100644 --- a/phpstan-baseline.neon +++ b/phpstan-baseline.neon @@ -11315,11 +11315,6 @@ parameters: count: 1 path: src/lib/MVC/RepositoryAwareInterface.php - - - message: "#^Cannot access offset 'config' on array\\|ArrayObject\\<\\(int\\|string\\), mixed\\>\\|bool\\|float\\|int\\|string\\|null\\.$#" - count: 1 - path: src/lib/MVC/Symfony/Component/Serializer/CompoundMatcherNormalizer.php - - message: "#^Method Ibexa\\\\Core\\\\MVC\\\\Symfony\\\\Component\\\\Serializer\\\\SimplifiedRequestNormalizer\\:\\:supportsNormalization\\(\\) has parameter \\$context with no value type specified in iterable type array\\.$#" count: 1 @@ -11555,31 +11550,6 @@ parameters: count: 1 path: src/lib/MVC/Symfony/EventListener/LanguageSwitchListener.php - - - message: "#^Call to an undefined method Ibexa\\\\Core\\\\MVC\\\\Symfony\\\\SiteAccess\\\\Matcher\\:\\:setSubMatchers\\(\\)\\.$#" - count: 1 - path: src/lib/MVC/Symfony/EventListener/SiteAccessMatchListener.php - - - - message: "#^Method Ibexa\\\\Core\\\\MVC\\\\Symfony\\\\EventListener\\\\SiteAccessMatchListener\\:\\:deserializeMatcher\\(\\) has parameter \\$serializedSubMatchers with no value type specified in iterable type array\\.$#" - count: 1 - path: src/lib/MVC/Symfony/EventListener/SiteAccessMatchListener.php - - - - message: "#^Parameter \\#1 \\$serializedGroups of method Ibexa\\\\Core\\\\MVC\\\\Symfony\\\\EventListener\\\\SiteAccessMatchListener\\:\\:buildGroups\\(\\) expects array\\, array\\ given\\.$#" - count: 1 - path: src/lib/MVC/Symfony/EventListener/SiteAccessMatchListener.php - - - - message: "#^Parameter \\#2 \\$haystack of function in_array expects array, array\\\\|false given\\.$#" - count: 1 - path: src/lib/MVC/Symfony/EventListener/SiteAccessMatchListener.php - - - - message: "#^Parameter \\#2 \\$matcherFQCN of method Ibexa\\\\Core\\\\MVC\\\\Symfony\\\\EventListener\\\\SiteAccessMatchListener\\:\\:deserializeMatcher\\(\\) expects string, Ibexa\\\\Core\\\\MVC\\\\Symfony\\\\SiteAccess\\\\Matcher given\\.$#" - count: 1 - path: src/lib/MVC/Symfony/EventListener/SiteAccessMatchListener.php - - message: "#^Method Ibexa\\\\Core\\\\MVC\\\\Symfony\\\\ExpressionLanguage\\\\TwigVariableProviderExtension\\:\\:hasParameterProvider\\(\\) has parameter \\$variables with no value type specified in iterable type array\\.$#" count: 1 @@ -25190,11 +25160,6 @@ parameters: count: 1 path: tests/bundle/Core/Fragment/DecoratedFragmentRendererTest.php - - - message: "#^Parameter \\#1 \\$innerRenderer of class Ibexa\\\\Bundle\\\\Core\\\\Fragment\\\\DecoratedFragmentRenderer constructor expects Symfony\\\\Component\\\\HttpKernel\\\\Fragment\\\\FragmentRendererInterface, PHPUnit\\\\Framework\\\\MockObject\\\\MockObject given\\.$#" - count: 5 - path: tests/bundle/Core/Fragment/DecoratedFragmentRendererTest.php - - message: "#^Binary operation \"\\.\" between 'rendered_' and \\(Closure\\(array\\\\)\\: string\\)\\|string results in an error\\.$#" count: 1 @@ -25240,11 +25205,6 @@ parameters: count: 1 path: tests/bundle/Core/Fragment/InlineFragmentRendererTest.php - - - message: "#^Parameter \\#1 \\$innerRenderer of class Ibexa\\\\Bundle\\\\Core\\\\Fragment\\\\InlineFragmentRenderer constructor expects Symfony\\\\Component\\\\HttpKernel\\\\Fragment\\\\FragmentRendererInterface, PHPUnit\\\\Framework\\\\MockObject\\\\MockObject given\\.$#" - count: 2 - path: tests/bundle/Core/Fragment/InlineFragmentRendererTest.php - - message: "#^Method Ibexa\\\\Tests\\\\Bundle\\\\Core\\\\Imagine\\\\AliasCleanerTest\\:\\:testRemoveAliases\\(\\) has no return type specified\\.$#" count: 1 @@ -46155,46 +46115,6 @@ parameters: count: 3 path: tests/lib/MVC/Symfony/EventListener/LanguageSwitchListenerTest.php - - - message: "#^Method Ibexa\\\\Tests\\\\Core\\\\MVC\\\\Symfony\\\\EventListener\\\\SiteAccessMatchListenerTest\\:\\:testGetSubscribedEvents\\(\\) has no return type specified\\.$#" - count: 1 - path: tests/lib/MVC/Symfony/EventListener/SiteAccessMatchListenerTest.php - - - - message: "#^Method Ibexa\\\\Tests\\\\Core\\\\MVC\\\\Symfony\\\\EventListener\\\\SiteAccessMatchListenerTest\\:\\:testOnKernelRequest\\(\\) has no return type specified\\.$#" - count: 1 - path: tests/lib/MVC/Symfony/EventListener/SiteAccessMatchListenerTest.php - - - - message: "#^Method Ibexa\\\\Tests\\\\Core\\\\MVC\\\\Symfony\\\\EventListener\\\\SiteAccessMatchListenerTest\\:\\:testOnKernelRequestSerializedSA\\(\\) has no return type specified\\.$#" - count: 1 - path: tests/lib/MVC/Symfony/EventListener/SiteAccessMatchListenerTest.php - - - - message: "#^Method Ibexa\\\\Tests\\\\Core\\\\MVC\\\\Symfony\\\\EventListener\\\\SiteAccessMatchListenerTest\\:\\:testOnKernelRequestSerializedSAWithCompoundMatcher\\(\\) has no return type specified\\.$#" - count: 1 - path: tests/lib/MVC/Symfony/EventListener/SiteAccessMatchListenerTest.php - - - - message: "#^Method Ibexa\\\\Tests\\\\Core\\\\MVC\\\\Symfony\\\\EventListener\\\\SiteAccessMatchListenerTest\\:\\:testOnKernelRequestSiteAccessPresent\\(\\) has no return type specified\\.$#" - count: 1 - path: tests/lib/MVC/Symfony/EventListener/SiteAccessMatchListenerTest.php - - - - message: "#^Method Ibexa\\\\Tests\\\\Core\\\\MVC\\\\Symfony\\\\EventListener\\\\SiteAccessMatchListenerTest\\:\\:testOnKernelRequestUserHashWithOriginalRequest\\(\\) has no return type specified\\.$#" - count: 1 - path: tests/lib/MVC/Symfony/EventListener/SiteAccessMatchListenerTest.php - - - - message: "#^Parameter \\#1 \\$siteAccessRouter of class Ibexa\\\\Core\\\\MVC\\\\Symfony\\\\EventListener\\\\SiteAccessMatchListener constructor expects Ibexa\\\\Core\\\\MVC\\\\Symfony\\\\SiteAccess\\\\Router, PHPUnit\\\\Framework\\\\MockObject\\\\MockObject given\\.$#" - count: 1 - path: tests/lib/MVC/Symfony/EventListener/SiteAccessMatchListenerTest.php - - - - message: "#^Parameter \\#2 \\$eventDispatcher of class Ibexa\\\\Core\\\\MVC\\\\Symfony\\\\EventListener\\\\SiteAccessMatchListener constructor expects Symfony\\\\Component\\\\EventDispatcher\\\\EventDispatcherInterface, PHPUnit\\\\Framework\\\\MockObject\\\\MockObject given\\.$#" - count: 1 - path: tests/lib/MVC/Symfony/EventListener/SiteAccessMatchListenerTest.php - - message: "#^Method Ibexa\\\\Tests\\\\Core\\\\MVC\\\\Symfony\\\\FieldType\\\\ImageAsset\\\\ParameterProviderTest\\:\\:dataProviderForTestGetViewParameters\\(\\) return type has no value type specified in iterable type array\\.$#" count: 1 @@ -47890,36 +47810,6 @@ parameters: count: 6 path: tests/lib/MVC/Symfony/SiteAccess/Compound/CompoundOrTest.php - - - message: "#^Method Ibexa\\\\Tests\\\\Core\\\\MVC\\\\Symfony\\\\SiteAccess\\\\MatcherSerializationTest\\:\\:getMapHostMatcherTestCase\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: tests/lib/MVC/Symfony/SiteAccess/MatcherSerializationTest.php - - - - message: "#^Method Ibexa\\\\Tests\\\\Core\\\\MVC\\\\Symfony\\\\SiteAccess\\\\MatcherSerializationTest\\:\\:getMapPortMatcherTestCase\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: tests/lib/MVC/Symfony/SiteAccess/MatcherSerializationTest.php - - - - message: "#^Method Ibexa\\\\Tests\\\\Core\\\\MVC\\\\Symfony\\\\SiteAccess\\\\MatcherSerializationTest\\:\\:getMapURIMatcherTestCase\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: tests/lib/MVC/Symfony/SiteAccess/MatcherSerializationTest.php - - - - message: "#^Method Ibexa\\\\Tests\\\\Core\\\\MVC\\\\Symfony\\\\SiteAccess\\\\MatcherSerializationTest\\:\\:matcherProvider\\(\\) has no return type specified\\.$#" - count: 1 - path: tests/lib/MVC/Symfony/SiteAccess/MatcherSerializationTest.php - - - - message: "#^Method Ibexa\\\\Tests\\\\Core\\\\MVC\\\\Symfony\\\\SiteAccess\\\\MatcherSerializationTest\\:\\:testDeserialize\\(\\) has no return type specified\\.$#" - count: 1 - path: tests/lib/MVC/Symfony/SiteAccess/MatcherSerializationTest.php - - - - message: "#^Parameter \\#1 \\$subMatchers of method Ibexa\\\\Core\\\\MVC\\\\Symfony\\\\SiteAccess\\\\Matcher\\\\Compound\\:\\:setSubMatchers\\(\\) expects array\\, array\\\\>\\> given\\.$#" - count: 4 - path: tests/lib/MVC/Symfony/SiteAccess/MatcherSerializationTest.php - - message: "#^Method Ibexa\\\\Tests\\\\Core\\\\MVC\\\\Symfony\\\\SiteAccess\\\\Provider\\\\ChainSiteAccessProviderTest\\:\\:getExistingSiteProvider\\(\\) return type has no value type specified in iterable type array\\.$#" count: 1