From 9652e4225add35b3f1cd19fb7bba8f3884c86c90 Mon Sep 17 00:00:00 2001 From: Alexander Schranz Date: Thu, 8 Aug 2024 14:34:46 +0200 Subject: [PATCH] Increase required symfony version --- composer.json | 18 +- phpstan-baseline.neon | 2491 ----------------------------------------- 2 files changed, 9 insertions(+), 2500 deletions(-) delete mode 100644 phpstan-baseline.neon diff --git a/composer.json b/composer.json index 37daad4f..a6e28835 100644 --- a/composer.json +++ b/composer.json @@ -28,10 +28,10 @@ "jms/serializer-bundle": "^3.3 || ^4.0 || ^5.0", "ramsey/uuid": "^3.1 || ^4.0", "sulu/sulu": "^2.5.9 || ^2.5.9@dev", - "symfony/config": "^5.4 || ^6.0 || ^7.0", - "symfony/dependency-injection": "^5.4 || ^6.0 || ^7.0", - "symfony/http-foundation": "^5.4 || ^6.0 || ^7.0", - "symfony/http-kernel": "^5.4 || ^6.0 || ^7.0", + "symfony/config": "^6.4 || ^7.0", + "symfony/dependency-injection": "^6.4 || ^7.0", + "symfony/http-foundation": "^6.4 || ^7.0", + "symfony/http-kernel": "^6.4 || ^7.0", "symfony-cmf/slugifier-api": "^1.0 || ^2.0", "twig/twig": "^1.41 || ^2.0 || ^3.0" }, @@ -54,12 +54,12 @@ "sulu/content-bundle": "^0.7 || ^0.8@dev", "sulu/headless-bundle": "^0.8 || ^0.9 || ^0.10@dev", "sulu/messenger": "^0.1 || ^0.2@dev", - "symfony/browser-kit": "^5.4 || ^6.0 || ^7.0", - "symfony/dotenv": "^5.4 || ^6.0 || ^7.0", - "symfony/framework-bundle": "^5.4 || ^6.0 || ^7.0", + "symfony/browser-kit": "^6.4 || ^7.0", + "symfony/dotenv": "^6.4 || ^7.0", + "symfony/framework-bundle": "^6.4 || ^7.0", "symfony/monolog-bundle": "^3.1", - "symfony/security-bundle": "^5.4 || ^6.0 || ^7.0", - "symfony/stopwatch": "^5.4 || ^6.0 || ^7.0" + "symfony/security-bundle": "^6.4 || ^7.0", + "symfony/stopwatch": "^6.4 || ^7.0" }, "conflict": { "doctrine/doctrine-bundle": "2.3.0", diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon deleted file mode 100644 index 7c51ed89..00000000 --- a/phpstan-baseline.neon +++ /dev/null @@ -1,2491 +0,0 @@ -parameters: - ignoreErrors: - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Admin\\\\ArticleAdmin\\:\\:__construct\\(\\) has parameter \\$articleTypeConfigurations with no value type specified in iterable type array\\.$#" - count: 1 - path: Admin/ArticleAdmin.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Admin\\\\ArticleAdmin\\:\\:__construct\\(\\) has parameter \\$kernelBundles with no value type specified in iterable type array\\.$#" - count: 1 - path: Admin/ArticleAdmin.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Admin\\\\ArticleAdmin\\:\\:getSecurityContexts\\(\\) should return array\\\\>\\>\\> but returns array\\\\>\\>\\>\\.$#" - count: 1 - path: Admin/ArticleAdmin.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Admin\\\\ArticleAdmin\\:\\:getTypes\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: Admin/ArticleAdmin.php - - - - message: "#^Offset 'translation_key' does not exist on string\\.$#" - count: 1 - path: Admin/ArticleAdmin.php - - - - message: "#^Parameter \\#1 \\$type of method Sulu\\\\Bundle\\\\ArticleBundle\\\\Admin\\\\ArticleAdmin\\:\\:getTitle\\(\\) expects string, mixed given\\.$#" - count: 1 - path: Admin/ArticleAdmin.php - - - - message: "#^Property Sulu\\\\Bundle\\\\ArticleBundle\\\\Admin\\\\ArticleAdmin\\:\\:\\$kernelBundles is never read, only written\\.$#" - count: 1 - path: Admin/ArticleAdmin.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Admin\\\\Helper\\\\WebspaceSelect\\:\\:getValues\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: Admin/Helper/WebspaceSelect.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Builder\\\\ArticleIndexBuilder\\:\\:getDependencies\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: Builder/ArticleIndexBuilder.php - - - - message: "#^Strict comparison using \\=\\=\\= between 0 and bool will always evaluate to false\\.$#" - count: 1 - path: Command/ArticleExportCommand.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Command\\\\ArticleImportCommand\\:\\:printExceptions\\(\\) has no return type specified\\.$#" - count: 1 - path: Command/ArticleImportCommand.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Command\\\\ArticleImportCommand\\:\\:printExceptions\\(\\) has parameter \\$output with no type specified\\.$#" - count: 1 - path: Command/ArticleImportCommand.php - - - - message: "#^Strict comparison using \\=\\=\\= between 0 and bool will always evaluate to false\\.$#" - count: 1 - path: Command/ArticleImportCommand.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Command\\\\ReindexCommand\\:\\:getDocuments\\(\\) should return Sulu\\\\Component\\\\DocumentManager\\\\Collection\\\\QueryResultCollection but returns mixed\\.$#" - count: 1 - path: Command/ReindexCommand.php - - - - message: "#^Parameter \\#1 \\$document of method Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\Index\\\\IndexerInterface\\:\\:index\\(\\) expects Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\ArticleDocument, mixed given\\.$#" - count: 1 - path: Command/ReindexCommand.php - - - - message: "#^Parameter \\#1 \\$string of function strlen expects string, int given\\.$#" - count: 1 - path: Command/ReindexCommand.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Content\\\\ArticleDataItem\\:\\:getImage\\(\\) should return string but empty return statement found\\.$#" - count: 1 - path: Content/ArticleDataItem.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Content\\\\ArticleDataItem\\:\\:getResource\\(\\) has no return type specified\\.$#" - count: 1 - path: Content/ArticleDataItem.php - - - - message: "#^Argument of an invalid type Countable supplied for foreach, only iterables are supported\\.$#" - count: 2 - path: Content/ArticleDataProvider.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Content\\\\ArticleDataProvider\\:\\:addBoolQuery\\(\\) has parameter \\$filters with no value type specified in iterable type array\\.$#" - count: 1 - path: Content/ArticleDataProvider.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Content\\\\ArticleDataProvider\\:\\:createSearch\\(\\) has parameter \\$filters with no value type specified in iterable type array\\.$#" - count: 1 - path: Content/ArticleDataProvider.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Content\\\\ArticleDataProvider\\:\\:getBoolQuery\\(\\) has parameter \\$values with no value type specified in iterable type array\\.$#" - count: 1 - path: Content/ArticleDataProvider.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Content\\\\ArticleDataProvider\\:\\:getExcludedFilter\\(\\) has parameter \\$filters with no value type specified in iterable type array\\.$#" - count: 1 - path: Content/ArticleDataProvider.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Content\\\\ArticleDataProvider\\:\\:getExcludedFilter\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: Content/ArticleDataProvider.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Content\\\\ArticleDataProvider\\:\\:getFilter\\(\\) has parameter \\$filters with no value type specified in iterable type array\\.$#" - count: 1 - path: Content/ArticleDataProvider.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Content\\\\ArticleDataProvider\\:\\:getResource\\(\\) is unused\\.$#" - count: 1 - path: Content/ArticleDataProvider.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Content\\\\ArticleDataProvider\\:\\:getSearchResult\\(\\) has parameter \\$filters with no value type specified in iterable type array\\.$#" - count: 1 - path: Content/ArticleDataProvider.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Content\\\\ArticleDataProvider\\:\\:getStructureTypesProperty\\(\\) has parameter \\$propertyParameter with no value type specified in iterable type array\\.$#" - count: 1 - path: Content/ArticleDataProvider.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Content\\\\ArticleDataProvider\\:\\:getStructureTypesProperty\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: Content/ArticleDataProvider.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Content\\\\ArticleDataProvider\\:\\:getTypesProperty\\(\\) has parameter \\$propertyParameter with no value type specified in iterable type array\\.$#" - count: 1 - path: Content/ArticleDataProvider.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Content\\\\ArticleDataProvider\\:\\:getTypesProperty\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: Content/ArticleDataProvider.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Content\\\\ArticleDataProvider\\:\\:getWebspaceKey\\(\\) has parameter \\$options with no value type specified in iterable type array\\.$#" - count: 1 - path: Content/ArticleDataProvider.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Content\\\\ArticleDataProvider\\:\\:getWebspaceKey\\(\\) has parameter \\$propertyParameter with no value type specified in iterable type array\\.$#" - count: 1 - path: Content/ArticleDataProvider.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Content\\\\ArticleDataProvider\\:\\:hasFilter\\(\\) has parameter \\$filters with no value type specified in iterable type array\\.$#" - count: 1 - path: Content/ArticleDataProvider.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Content\\\\ArticleDataProvider\\:\\:resolveDatasource\\(\\) should return Sulu\\\\Component\\\\SmartContent\\\\DatasourceItemInterface but empty return statement found\\.$#" - count: 1 - path: Content/ArticleDataProvider.php - - - - message: "#^Negated boolean expression is always false\\.$#" - count: 1 - path: Content/ArticleDataProvider.php - - - - message: "#^Parameter \\#1 \\$value of function count expects array\\|Countable, mixed given\\.$#" - count: 1 - path: Content/ArticleDataProvider.php - - - - message: "#^Parameter \\#2 \\$initializer of method ProxyManager\\\\Factory\\\\LazyLoadingValueHolderFactory\\:\\:createProxy\\(\\) expects Closure\\(Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\ArticleDocument\\|null\\=, ProxyManager\\\\Proxy\\\\ValueHolderInterface\\&ProxyManager\\\\Proxy\\\\VirtualProxyInterface&Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\ArticleDocument\\=, string\\=, array\\\\=, Closure\\|null\\=\\)\\: bool, Closure\\(mixed, ProxyManager\\\\Proxy\\\\LazyLoadingInterface, mixed, array, mixed\\)\\: true given\\.$#" - count: 1 - path: Content/ArticleDataProvider.php - - - - message: "#^Parameter \\#2 \\$value of class Sulu\\\\Component\\\\Content\\\\Compat\\\\PropertyParameter constructor expects array\\|bool\\|string, null given\\.$#" - count: 1 - path: Content/ArticleDataProvider.php - - - - message: "#^Parameter \\#2 \\$values of method Sulu\\\\Bundle\\\\ArticleBundle\\\\Content\\\\ArticleDataProvider\\:\\:getBoolQuery\\(\\) expects array, mixed given\\.$#" - count: 1 - path: Content/ArticleDataProvider.php - - - - message: "#^Parameter \\#3 \\$locale of method Sulu\\\\Bundle\\\\ArticleBundle\\\\Content\\\\ArticleDataProvider\\:\\:createSearch\\(\\) expects string, string\\|null given\\.$#" - count: 1 - path: Content/ArticleDataProvider.php - - - - message: "#^Parameter \\#4 \\$operator of method Sulu\\\\Bundle\\\\ArticleBundle\\\\Content\\\\ArticleDataProvider\\:\\:addBoolQuery\\(\\) expects string, mixed given\\.$#" - count: 4 - path: Content/ArticleDataProvider.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Content\\\\ArticleResourceItem\\:\\:getAuthorFullName\\(\\) has no return type specified\\.$#" - count: 1 - path: Content/ArticleResourceItem.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Content\\\\ArticleResourceItem\\:\\:getAuthorId\\(\\) has no return type specified\\.$#" - count: 1 - path: Content/ArticleResourceItem.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Content\\\\ArticleResourceItem\\:\\:getResource\\(\\) has no return type specified\\.$#" - count: 1 - path: Content/ArticleResourceItem.php - - - - message: "#^Parameter \\#2 \\$initializer of method ProxyManager\\\\Factory\\\\LazyLoadingValueHolderFactory\\:\\:createProxy\\(\\) expects Closure\\(Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\ArticleDocument\\|null\\=, ProxyManager\\\\Proxy\\\\ValueHolderInterface\\&ProxyManager\\\\Proxy\\\\VirtualProxyInterface&Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\ArticleDocument\\=, string\\=, array\\\\=, Closure\\|null\\=\\)\\: bool, Closure\\(mixed, ProxyManager\\\\Proxy\\\\LazyLoadingInterface, mixed, array, mixed\\)\\: true given\\.$#" - count: 1 - path: Content/ArticleResourceItemFactory.php - - - - message: "#^Parameter \\#2 \\$resource of class Sulu\\\\Bundle\\\\ArticleBundle\\\\Content\\\\ArticleResourceItem constructor expects Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\ArticleDocument, object given\\.$#" - count: 1 - path: Content/ArticleResourceItemFactory.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Content\\\\ArticleSelectionContentType\\:\\:getViewDocumentIds\\(\\) has parameter \\$uuids with no value type specified in iterable type array\\.$#" - count: 1 - path: Content/ArticleSelectionContentType.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Content\\\\ArticleSelectionContentType\\:\\:getViewDocumentIds\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: Content/ArticleSelectionContentType.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Content\\\\ArticleSelectionContentType\\:\\:preResolve\\(\\) has no return type specified\\.$#" - count: 1 - path: Content/ArticleSelectionContentType.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Content\\\\PageTreeArticleDataProvider\\:\\:createSearch\\(\\) has parameter \\$filters with no value type specified in iterable type array\\.$#" - count: 1 - path: Content/PageTreeArticleDataProvider.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Content\\\\PageTreeArticleDataProvider\\:\\:resolveDatasource\\(\\) should return Sulu\\\\Component\\\\SmartContent\\\\DatasourceItemInterface but returns null\\.$#" - count: 2 - path: Content/PageTreeArticleDataProvider.php - - - - message: "#^Parameter \\#1 \\$identifier of method Sulu\\\\Component\\\\DocumentManager\\\\DocumentManagerInterface\\:\\:find\\(\\) expects string, int\\\\|int\\<1, max\\>\\|string given\\.$#" - count: 1 - path: Content/PageTreeArticleDataProvider.php - - - - message: "#^Expression on left side of \\?\\? is not nullable\\.$#" - count: 1 - path: Content/SingleArticleSelectionContentType.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Content\\\\SingleArticleSelectionContentType\\:\\:getViewDocumentIds\\(\\) has parameter \\$uuids with no value type specified in iterable type array\\.$#" - count: 1 - path: Content/SingleArticleSelectionContentType.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Content\\\\SingleArticleSelectionContentType\\:\\:getViewDocumentIds\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: Content/SingleArticleSelectionContentType.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Content\\\\SingleArticleSelectionContentType\\:\\:preResolve\\(\\) has no return type specified\\.$#" - count: 1 - path: Content/SingleArticleSelectionContentType.php - - - - message: "#^Argument of an invalid type array\\|null supplied for foreach, only iterables are supported\\.$#" - count: 1 - path: Controller/ArticleController.php - - - - message: "#^Call to an undefined method object\\:\\:getUuid\\(\\)\\.$#" - count: 1 - path: Controller/ArticleController.php - - - - message: "#^Call to an undefined method object\\:\\:setAdditionalWebspaces\\(\\)\\.$#" - count: 2 - path: Controller/ArticleController.php - - - - message: "#^Call to an undefined method object\\:\\:setAuthor\\(\\)\\.$#" - count: 1 - path: Controller/ArticleController.php - - - - message: "#^Call to an undefined method object\\:\\:setMainWebspace\\(\\)\\.$#" - count: 1 - path: Controller/ArticleController.php - - - - message: "#^Cannot access offset '_source' on mixed\\.$#" - count: 1 - path: Controller/ArticleController.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Controller\\\\ArticleController\\:\\:getViewDocumentIds\\(\\) has parameter \\$uuids with no value type specified in iterable type array\\.$#" - count: 1 - path: Controller/ArticleController.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Controller\\\\ArticleController\\:\\:getViewDocumentIds\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: Controller/ArticleController.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Controller\\\\ArticleController\\:\\:normalize\\(\\) has no return type specified\\.$#" - count: 1 - path: Controller/ArticleController.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Controller\\\\ArticleController\\:\\:normalize\\(\\) has parameter \\$document with no value type specified in iterable type array\\.$#" - count: 1 - path: Controller/ArticleController.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Controller\\\\ArticleController\\:\\:orderPages\\(\\) has parameter \\$pages with no value type specified in iterable type array\\.$#" - count: 1 - path: Controller/ArticleController.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Controller\\\\ArticleController\\:\\:persistDocument\\(\\) has parameter \\$data with no value type specified in iterable type array\\.$#" - count: 1 - path: Controller/ArticleController.php - - - - message: "#^Parameter \\#1 \\$actionParameter of method Sulu\\\\Bundle\\\\ArticleBundle\\\\Controller\\\\ArticleController\\:\\:handleActionParameter\\(\\) expects string\\|null, mixed given\\.$#" - count: 2 - path: Controller/ArticleController.php - - - - message: "#^Parameter \\#1 \\$document of method Sulu\\\\Bundle\\\\ArticleBundle\\\\Controller\\\\ArticleController\\:\\:normalize\\(\\) expects array, mixed given\\.$#" - count: 1 - path: Controller/ArticleController.php - - - - message: "#^Parameter \\#1 \\$pages of method Sulu\\\\Bundle\\\\ArticleBundle\\\\Controller\\\\ArticleController\\:\\:orderPages\\(\\) expects array, string given\\.$#" - count: 1 - path: Controller/ArticleController.php - - - - message: "#^Parameter \\#1 \\$value of function count expects array\\|Countable, array\\|null given\\.$#" - count: 1 - path: Controller/ArticleController.php - - - - message: "#^Parameter \\#2 \\$from of method Sulu\\\\Bundle\\\\ArticleBundle\\\\Controller\\\\ArticleController\\:\\:getRangeQuery\\(\\) expects string, mixed given\\.$#" - count: 1 - path: Controller/ArticleController.php - - - - message: "#^Parameter \\#2 \\$query of class ONGR\\\\ElasticsearchDSL\\\\Query\\\\FullText\\\\MatchQuery constructor expects string, mixed given\\.$#" - count: 3 - path: Controller/ArticleController.php - - - - message: "#^Parameter \\#2 \\$string of function explode expects string, mixed given\\.$#" - count: 3 - path: Controller/ArticleController.php - - - - message: "#^Parameter \\#2 \\$value of class ONGR\\\\ElasticsearchDSL\\\\Query\\\\TermLevel\\\\TermQuery constructor expects bool\\|float\\|int\\|string, mixed given\\.$#" - count: 3 - path: Controller/ArticleController.php - - - - message: "#^Parameter \\#3 \\$to of method Sulu\\\\Bundle\\\\ArticleBundle\\\\Controller\\\\ArticleController\\:\\:getRangeQuery\\(\\) expects string, mixed given\\.$#" - count: 1 - path: Controller/ArticleController.php - - - - message: "#^Property Sulu\\\\Bundle\\\\ArticleBundle\\\\Controller\\\\ArticleController\\:\\:\\$contentMapper is never read, only written\\.$#" - count: 1 - path: Controller/ArticleController.php - - - - message: "#^Strict comparison using \\=\\=\\= between null and ONGR\\\\ElasticsearchDSL\\\\Query\\\\Compound\\\\BoolQuery will always evaluate to false\\.$#" - count: 1 - path: Controller/ArticleController.php - - - - message: "#^Call to an undefined method object\\:\\:getParent\\(\\)\\.$#" - count: 3 - path: Controller/ArticlePageController.php - - - - message: "#^Call to an undefined method object\\:\\:getStructureType\\(\\)\\.$#" - count: 1 - path: Controller/ArticlePageController.php - - - - message: "#^Call to an undefined method object\\:\\:getUuid\\(\\)\\.$#" - count: 1 - path: Controller/ArticlePageController.php - - - - message: "#^Call to an undefined method object\\:\\:setParent\\(\\)\\.$#" - count: 1 - path: Controller/ArticlePageController.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Controller\\\\ArticlePageController\\:\\:persistDocument\\(\\) has parameter \\$data with no value type specified in iterable type array\\.$#" - count: 1 - path: Controller/ArticlePageController.php - - - - message: "#^Parameter \\#1 \\$actionParameter of method Sulu\\\\Bundle\\\\ArticleBundle\\\\Controller\\\\ArticlePageController\\:\\:handleActionParameter\\(\\) expects string\\|null, mixed given\\.$#" - count: 2 - path: Controller/ArticlePageController.php - - - - message: "#^Call to an undefined method object\\:\\:getVersions\\(\\)\\.$#" - count: 1 - path: Controller/VersionController.php - - - - message: "#^Else branch is unreachable because ternary operator condition is always true\\.$#" - count: 1 - path: Controller/VersionController.php - - - - message: "#^Parameter \\#2 \\$locale of method Sulu\\\\Component\\\\DocumentManager\\\\DocumentManagerInterface\\:\\:restore\\(\\) expects string, string\\|null given\\.$#" - count: 1 - path: Controller/VersionController.php - - - - message: "#^Parameter \\#2 \\$offset of function array_slice expects int, int\\|null given\\.$#" - count: 1 - path: Controller/VersionController.php - - - - message: "#^Parameter \\#3 \\$route of class Sulu\\\\Component\\\\Rest\\\\ListBuilder\\\\ListRepresentation constructor expects string, mixed given\\.$#" - count: 1 - path: Controller/VersionController.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Controller\\\\WebsiteArticleController\\:\\:normalizeArticle\\(\\) should return Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\ArticleDocument but returns Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\ArticleInterface\\.$#" - count: 1 - path: Controller/WebsiteArticleController.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Controller\\\\WebsiteArticleController\\:\\:normalizeArticle\\(\\) should return Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\ArticleDocument but returns object\\.$#" - count: 1 - path: Controller/WebsiteArticleController.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Controller\\\\WebsiteArticleController\\:\\:renderArticle\\(\\) has parameter \\$attributes with no value type specified in iterable type array\\.$#" - count: 1 - path: Controller/WebsiteArticleController.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Controller\\\\WebsiteArticleController\\:\\:resolveArticle\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: Controller/WebsiteArticleController.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Controller\\\\WebsiteArticleController\\:\\:resolveArticle\\(\\) should return array but returns mixed\\.$#" - count: 1 - path: Controller/WebsiteArticleController.php - - - - message: "#^Parameter \\#1 \\$format of method Symfony\\\\Component\\\\HttpFoundation\\\\Request\\:\\:getMimeType\\(\\) expects string, string\\|null given\\.$#" - count: 1 - path: Controller/WebsiteArticleController.php - - - - message: "#^Parameter \\#2 \\$values of method Symfony\\\\Component\\\\HttpFoundation\\\\ResponseHeaderBag\\:\\:set\\(\\) expects array\\\\|string\\|null, mixed given\\.$#" - count: 1 - path: Controller/WebsiteArticleController.php - - - - message: "#^Negated boolean expression is always true\\.$#" - count: 1 - path: DependencyInjection/StructureValidatorCompilerPass.php - - - - message: "#^Offset 'article'\\|'article_page' on array\\{snippet\\: string\\} on left side of \\?\\? does not exist\\.$#" - count: 1 - path: DependencyInjection/StructureValidatorCompilerPass.php - - - - message: "#^Unreachable statement \\- code above always terminates\\.$#" - count: 1 - path: DependencyInjection/StructureValidatorCompilerPass.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\DependencyInjection\\\\SuluArticleExtension\\:\\:appendDefaultAuthor\\(\\) has parameter \\$config with no value type specified in iterable type array\\.$#" - count: 1 - path: DependencyInjection/SuluArticleExtension.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\DependencyInjection\\\\SuluArticleExtension\\:\\:cloneArticleConfig\\(\\) has parameter \\$config with no value type specified in iterable type array\\.$#" - count: 1 - path: DependencyInjection/SuluArticleExtension.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\DependencyInjection\\\\SuluArticleExtension\\:\\:cloneArticleConfig\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: DependencyInjection/SuluArticleExtension.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\DependencyInjection\\\\SuluArticleExtension\\:\\:load\\(\\) has no return type specified\\.$#" - count: 1 - path: DependencyInjection/SuluArticleExtension.php - - - - message: "#^Offset 'article' on array\\{snippet\\: string\\} in isset\\(\\) does not exist\\.$#" - count: 1 - path: DependencyInjection/SuluArticleExtension.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\DependencyInjection\\\\WebspaceSettingsConfigurationResolver\\:\\:__construct\\(\\) has parameter \\$defaultAdditionalWebspaces with no value type specified in iterable type array\\.$#" - count: 1 - path: DependencyInjection/WebspaceSettingsConfigurationResolver.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\DependencyInjection\\\\WebspaceSettingsConfigurationResolver\\:\\:__construct\\(\\) has parameter \\$defaultMainWebspace with no value type specified in iterable type array\\.$#" - count: 1 - path: DependencyInjection/WebspaceSettingsConfigurationResolver.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\DependencyInjection\\\\WebspaceSettingsConfigurationResolver\\:\\:getDefaultAdditionalWebspacesForLocale\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: DependencyInjection/WebspaceSettingsConfigurationResolver.php - - - - message: "#^Property Sulu\\\\Bundle\\\\ArticleBundle\\\\DependencyInjection\\\\WebspaceSettingsConfigurationResolver\\:\\:\\$defaultAdditionalWebspaces type has no value type specified in iterable type array\\.$#" - count: 1 - path: DependencyInjection/WebspaceSettingsConfigurationResolver.php - - - - message: "#^Property Sulu\\\\Bundle\\\\ArticleBundle\\\\DependencyInjection\\\\WebspaceSettingsConfigurationResolver\\:\\:\\$defaultMainWebspace type has no value type specified in iterable type array\\.$#" - count: 1 - path: DependencyInjection/WebspaceSettingsConfigurationResolver.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\ArticleDocument\\:\\:getPages\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: Document/ArticleDocument.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\ArticleDocument\\:\\:getPublished\\(\\) should return DateTime\\|null but returns bool\\.$#" - count: 1 - path: Document/ArticleDocument.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\ArticleDocument\\:\\:setAuthor\\(\\) has no return type specified\\.$#" - count: 1 - path: Document/ArticleDocument.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\ArticleDocument\\:\\:setAuthored\\(\\) has no return type specified\\.$#" - count: 1 - path: Document/ArticleDocument.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\ArticleDocument\\:\\:setExtension\\(\\) has no return type specified\\.$#" - count: 1 - path: Document/ArticleDocument.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\ArticleDocument\\:\\:setExtension\\(\\) has parameter \\$data with no value type specified in iterable type array\\.$#" - count: 1 - path: Document/ArticleDocument.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\ArticleDocument\\:\\:setExtensionsData\\(\\) has no return type specified\\.$#" - count: 1 - path: Document/ArticleDocument.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\ArticleDocument\\:\\:setLocale\\(\\) has no return type specified\\.$#" - count: 1 - path: Document/ArticleDocument.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\ArticleDocument\\:\\:setOriginalLocale\\(\\) has no return type specified\\.$#" - count: 1 - path: Document/ArticleDocument.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\ArticleDocument\\:\\:setPages\\(\\) has parameter \\$pages with no value type specified in iterable type array\\.$#" - count: 1 - path: Document/ArticleDocument.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\ArticleDocument\\:\\:setParent\\(\\) has no return type specified\\.$#" - count: 1 - path: Document/ArticleDocument.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\ArticleDocument\\:\\:setRoute\\(\\) has no return type specified\\.$#" - count: 1 - path: Document/ArticleDocument.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\ArticleDocument\\:\\:setShadowLocale\\(\\) has no return type specified\\.$#" - count: 1 - path: Document/ArticleDocument.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\ArticleDocument\\:\\:setShadowLocaleEnabled\\(\\) has no return type specified\\.$#" - count: 1 - path: Document/ArticleDocument.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\ArticleDocument\\:\\:setStructureType\\(\\) has no return type specified\\.$#" - count: 1 - path: Document/ArticleDocument.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\ArticleDocument\\:\\:setTitle\\(\\) has no return type specified\\.$#" - count: 1 - path: Document/ArticleDocument.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\ArticleDocument\\:\\:setVersions\\(\\) has no return type specified\\.$#" - count: 1 - path: Document/ArticleDocument.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\ArticleDocument\\:\\:setWorkflowStage\\(\\) has no return type specified\\.$#" - count: 1 - path: Document/ArticleDocument.php - - - - message: "#^Property Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\ArticleDocument\\:\\:\\$author \\(int\\) does not accept int\\|null\\.$#" - count: 1 - path: Document/ArticleDocument.php - - - - message: "#^Property Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\ArticleDocument\\:\\:\\$children \\(Sulu\\\\Component\\\\DocumentManager\\\\Collection\\\\ChildrenCollection\\) does not accept ArrayIterator\\<\\*NEVER\\*, \\*NEVER\\*\\>\\.$#" - count: 1 - path: Document/ArticleDocument.php - - - - message: "#^Property Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\ArticleDocument\\:\\:\\$creator \\(int\\) does not accept int\\|null\\.$#" - count: 1 - path: Document/ArticleDocument.php - - - - message: "#^Property Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\ArticleDocument\\:\\:\\$extensions \\(Sulu\\\\Component\\\\Content\\\\Document\\\\Extension\\\\ExtensionContainer\\) does not accept array\\\\|Sulu\\\\Component\\\\Content\\\\Document\\\\Extension\\\\ExtensionContainer\\.$#" - count: 1 - path: Document/ArticleDocument.php - - - - message: "#^Property Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\ArticleDocument\\:\\:\\$pages type has no value type specified in iterable type array\\.$#" - count: 1 - path: Document/ArticleDocument.php - - - - message: "#^Property Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\ArticleDocument\\:\\:\\$route \\(Sulu\\\\Bundle\\\\RouteBundle\\\\Model\\\\RouteInterface\\) does not accept null\\.$#" - count: 1 - path: Document/ArticleDocument.php - - - - message: "#^Property Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\ArticleDocument\\:\\:\\$routePath \\(string\\) does not accept null\\.$#" - count: 1 - path: Document/ArticleDocument.php - - - - message: "#^Property Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\ArticleDocument\\:\\:\\$shadowLocale \\(string\\) does not accept string\\|null\\.$#" - count: 1 - path: Document/ArticleDocument.php - - - - message: "#^Property Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\ArticleDocument\\:\\:\\$workflowStage \\(int\\) does not accept int\\|string\\.$#" - count: 1 - path: Document/ArticleDocument.php - - - - message: "#^Call to an undefined method object\\:\\:getExtensionsData\\(\\)\\.$#" - count: 1 - path: Document/ArticlePageDocument.php - - - - message: "#^Call to an undefined method object\\:\\:getUuid\\(\\)\\.$#" - count: 1 - path: Document/ArticlePageDocument.php - - - - message: "#^Call to an undefined method object\\:\\:getWorkflowStage\\(\\)\\.$#" - count: 1 - path: Document/ArticlePageDocument.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\ArticlePageDocument\\:\\:getId\\(\\) has no return type specified\\.$#" - count: 1 - path: Document/ArticlePageDocument.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\ArticlePageDocument\\:\\:setLocale\\(\\) has no return type specified\\.$#" - count: 1 - path: Document/ArticlePageDocument.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\ArticlePageDocument\\:\\:setOriginalLocale\\(\\) has no return type specified\\.$#" - count: 1 - path: Document/ArticlePageDocument.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\ArticlePageDocument\\:\\:setParent\\(\\) has no return type specified\\.$#" - count: 1 - path: Document/ArticlePageDocument.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\ArticlePageDocument\\:\\:setRoute\\(\\) has no return type specified\\.$#" - count: 1 - path: Document/ArticlePageDocument.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\ArticlePageDocument\\:\\:setShadowLocale\\(\\) has no return type specified\\.$#" - count: 1 - path: Document/ArticlePageDocument.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\ArticlePageDocument\\:\\:setShadowLocaleEnabled\\(\\) has no return type specified\\.$#" - count: 1 - path: Document/ArticlePageDocument.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\ArticlePageDocument\\:\\:setStructureType\\(\\) has no return type specified\\.$#" - count: 1 - path: Document/ArticlePageDocument.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\ArticlePageDocument\\:\\:setTitle\\(\\) has no return type specified\\.$#" - count: 1 - path: Document/ArticlePageDocument.php - - - - message: "#^Property Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\ArticlePageDocument\\:\\:\\$parent \\(Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\ArticleDocument\\) does not accept object\\.$#" - count: 1 - path: Document/ArticlePageDocument.php - - - - message: "#^Property Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\ArticlePageDocument\\:\\:\\$route \\(Sulu\\\\Bundle\\\\RouteBundle\\\\Model\\\\RouteInterface\\) does not accept null\\.$#" - count: 1 - path: Document/ArticlePageDocument.php - - - - message: "#^Property Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\ArticlePageDocument\\:\\:\\$routePath \\(string\\) does not accept null\\.$#" - count: 1 - path: Document/ArticlePageDocument.php - - - - message: "#^Property Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\ArticlePageDocument\\:\\:\\$shadowLocale \\(string\\) does not accept string\\|null\\.$#" - count: 1 - path: Document/ArticlePageDocument.php - - - - message: "#^Property Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\ArticlePageViewObject\\:\\:\\$content with generic class ArrayObject does not specify its types\\: TKey, TValue$#" - count: 1 - path: Document/ArticlePageViewObject.php - - - - message: "#^Property Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\ArticlePageViewObject\\:\\:\\$view with generic class ArrayObject does not specify its types\\: TKey, TValue$#" - count: 1 - path: Document/ArticlePageViewObject.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\ArticleViewDocument\\:\\:getContent\\(\\) return type with generic class ArrayObject does not specify its types\\: TKey, TValue$#" - count: 1 - path: Document/ArticleViewDocument.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\ArticleViewDocument\\:\\:getView\\(\\) return type with generic class ArrayObject does not specify its types\\: TKey, TValue$#" - count: 1 - path: Document/ArticleViewDocument.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\ArticleViewDocument\\:\\:setContent\\(\\) has parameter \\$content with generic class ArrayObject but does not specify its types\\: TKey, TValue$#" - count: 1 - path: Document/ArticleViewDocument.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\ArticleViewDocument\\:\\:setContent\\(\\) return type with generic class ArrayObject does not specify its types\\: TKey, TValue$#" - count: 1 - path: Document/ArticleViewDocument.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\ArticleViewDocument\\:\\:setContent\\(\\) should return ArrayObject but returns \\$this\\(Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\ArticleViewDocument\\)\\.$#" - count: 1 - path: Document/ArticleViewDocument.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\ArticleViewDocument\\:\\:setPages\\(\\) has parameter \\$pages with generic class Doctrine\\\\Common\\\\Collections\\\\ArrayCollection but does not specify its types\\: TKey, T$#" - count: 1 - path: Document/ArticleViewDocument.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\ArticleViewDocument\\:\\:setView\\(\\) has parameter \\$view with generic class ArrayObject but does not specify its types\\: TKey, TValue$#" - count: 1 - path: Document/ArticleViewDocument.php - - - - message: "#^Property Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\ArticleViewDocument\\:\\:\\$additionalWebspaces \\(array\\\\) does not accept array\\\\|null\\.$#" - count: 1 - path: Document/ArticleViewDocument.php - - - - message: "#^Property Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\ArticleViewDocument\\:\\:\\$authored \\(DateTime\\) does not accept DateTime\\|null\\.$#" - count: 1 - path: Document/ArticleViewDocument.php - - - - message: "#^Property Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\ArticleViewDocument\\:\\:\\$content with generic class ArrayObject does not specify its types\\: TKey, TValue$#" - count: 1 - path: Document/ArticleViewDocument.php - - - - message: "#^Property Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\ArticleViewDocument\\:\\:\\$mainWebspace \\(string\\) does not accept string\\|null\\.$#" - count: 1 - path: Document/ArticleViewDocument.php - - - - message: "#^Property Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\ArticleViewDocument\\:\\:\\$pages \\(array\\\\) does not accept Doctrine\\\\Common\\\\Collections\\\\ArrayCollection\\.$#" - count: 1 - path: Document/ArticleViewDocument.php - - - - message: "#^Property Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\ArticleViewDocument\\:\\:\\$published \\(DateTime\\) does not accept DateTime\\|null\\.$#" - count: 1 - path: Document/ArticleViewDocument.php - - - - message: "#^Property Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\ArticleViewDocument\\:\\:\\$uuid \\(string\\) does not accept string\\|null\\.$#" - count: 1 - path: Document/ArticleViewDocument.php - - - - message: "#^Property Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\ArticleViewDocument\\:\\:\\$view with generic class ArrayObject does not specify its types\\: TKey, TValue$#" - count: 1 - path: Document/ArticleViewDocument.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\ArticleViewDocumentInterface\\:\\:getContent\\(\\) return type with generic class ArrayObject does not specify its types\\: TKey, TValue$#" - count: 1 - path: Document/ArticleViewDocumentInterface.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\ArticleViewDocumentInterface\\:\\:getView\\(\\) return type with generic class ArrayObject does not specify its types\\: TKey, TValue$#" - count: 1 - path: Document/ArticleViewDocumentInterface.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\ArticleViewDocumentInterface\\:\\:setContent\\(\\) has parameter \\$content with generic class ArrayObject but does not specify its types\\: TKey, TValue$#" - count: 1 - path: Document/ArticleViewDocumentInterface.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\ArticleViewDocumentInterface\\:\\:setContent\\(\\) return type with generic class ArrayObject does not specify its types\\: TKey, TValue$#" - count: 1 - path: Document/ArticleViewDocumentInterface.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\ArticleViewDocumentInterface\\:\\:setPages\\(\\) has parameter \\$pages with generic class Doctrine\\\\Common\\\\Collections\\\\ArrayCollection but does not specify its types\\: TKey, T$#" - count: 1 - path: Document/ArticleViewDocumentInterface.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\ArticleViewDocumentInterface\\:\\:setView\\(\\) has parameter \\$view with generic class ArrayObject but does not specify its types\\: TKey, TValue$#" - count: 1 - path: Document/ArticleViewDocumentInterface.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\Form\\\\ArticleDocumentType\\:\\:buildForm\\(\\) has no return type specified\\.$#" - count: 1 - path: Document/Form/ArticleDocumentType.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\Form\\\\ArticlePageDocumentType\\:\\:buildForm\\(\\) has no return type specified\\.$#" - count: 1 - path: Document/Form/ArticlePageDocumentType.php - - - - message: "#^Cannot access offset 'structure' on mixed\\.$#" - count: 2 - path: Document/Form/Listener/DataNormalizer.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\Form\\\\Listener\\\\DataNormalizer\\:\\:getAndUnsetValue\\(\\) has parameter \\$data with no value type specified in iterable type array\\.$#" - count: 1 - path: Document/Form/Listener/DataNormalizer.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\Form\\\\Listener\\\\DataNormalizer\\:\\:normalize\\(\\) has no return type specified\\.$#" - count: 1 - path: Document/Form/Listener/DataNormalizer.php - - - - message: "#^Parameter \\#2 \\.\\.\\.\\$arrays of function array_merge expects array, mixed given\\.$#" - count: 1 - path: Document/Form/Listener/DataNormalizer.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\Index\\\\ArticleGhostIndexer\\:\\:__construct\\(\\) has parameter \\$typeConfiguration with no value type specified in iterable type array\\.$#" - count: 1 - path: Document/Index/ArticleGhostIndexer.php - - - - message: "#^Parameter \\#1 \\$document of method ONGR\\\\ElasticsearchBundle\\\\Service\\\\Manager\\:\\:persist\\(\\) expects object, Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\ArticleViewDocumentInterface\\|null given\\.$#" - count: 1 - path: Document/Index/ArticleGhostIndexer.php - - - - message: "#^Parameter \\#2 \\$article of method Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\Index\\\\ArticleIndexer\\:\\:dispatchIndexEvent\\(\\) expects Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\ArticleViewDocumentInterface, Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\ArticleViewDocumentInterface\\|null given\\.$#" - count: 1 - path: Document/Index/ArticleGhostIndexer.php - - - - message: "#^Cannot call method getPropertyByTagName\\(\\) on Sulu\\\\Component\\\\Content\\\\Metadata\\\\StructureMetadata\\|null\\.$#" - count: 2 - path: Document/Index/ArticleIndexer.php - - - - message: "#^Cannot call method hasPropertyWithTagName\\(\\) on Sulu\\\\Component\\\\Content\\\\Metadata\\\\StructureMetadata\\|null\\.$#" - count: 2 - path: Document/Index/ArticleIndexer.php - - - - message: "#^Cannot call method setLocalizationState\\(\\) on Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\ArticleViewDocumentInterface\\|null\\.$#" - count: 1 - path: Document/Index/ArticleIndexer.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\Index\\\\ArticleIndexer\\:\\:__construct\\(\\) has parameter \\$typeConfiguration with no value type specified in iterable type array\\.$#" - count: 1 - path: Document/Index/ArticleIndexer.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\Index\\\\ArticleIndexer\\:\\:getBlockContentFieldsRecursive\\(\\) has parameter \\$blockMetaData with no type specified\\.$#" - count: 1 - path: Document/Index/ArticleIndexer.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\Index\\\\ArticleIndexer\\:\\:getBlockContentFieldsRecursive\\(\\) has parameter \\$blocks with no value type specified in iterable type array\\.$#" - count: 1 - path: Document/Index/ArticleIndexer.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\Index\\\\ArticleIndexer\\:\\:getBlockContentFieldsRecursive\\(\\) has parameter \\$tag with no type specified\\.$#" - count: 1 - path: Document/Index/ArticleIndexer.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\Index\\\\ArticleIndexer\\:\\:getContentFields\\(\\) has no return type specified\\.$#" - count: 1 - path: Document/Index/ArticleIndexer.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\Index\\\\ArticleIndexer\\:\\:getDocumentInspector\\(\\) has no return type specified\\.$#" - count: 1 - path: Document/Index/ArticleIndexer.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\Index\\\\ArticleIndexer\\:\\:getViewDocumentIds\\(\\) has parameter \\$uuids with no value type specified in iterable type array\\.$#" - count: 1 - path: Document/Index/ArticleIndexer.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\Index\\\\ArticleIndexer\\:\\:getViewDocumentIds\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: Document/Index/ArticleIndexer.php - - - - message: "#^Parameter \\#1 \\$authorId of method Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\ArticleViewDocumentInterface\\:\\:setAuthorId\\(\\) expects string, int given\\.$#" - count: 1 - path: Document/Index/ArticleIndexer.php - - - - message: "#^Parameter \\#1 \\$changerContactId of method Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\ArticleViewDocumentInterface\\:\\:setChangerContactId\\(\\) expects string, int given\\.$#" - count: 1 - path: Document/Index/ArticleIndexer.php - - - - message: "#^Parameter \\#1 \\$contentData of method Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\ArticleViewDocumentInterface\\:\\:setContentData\\(\\) expects string, string\\|false given\\.$#" - count: 1 - path: Document/Index/ArticleIndexer.php - - - - message: "#^Parameter \\#1 \\$creatorContactId of method Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\ArticleViewDocumentInterface\\:\\:setCreatorContactId\\(\\) expects string, int given\\.$#" - count: 1 - path: Document/Index/ArticleIndexer.php - - - - message: "#^Parameter \\#1 \\$document of method ONGR\\\\ElasticsearchBundle\\\\Service\\\\Manager\\:\\:persist\\(\\) expects object, Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\ArticleViewDocumentInterface\\|null given\\.$#" - count: 3 - path: Document/Index/ArticleIndexer.php - - - - message: "#^Parameter \\#1 \\$document of method ONGR\\\\ElasticsearchBundle\\\\Service\\\\Manager\\:\\:remove\\(\\) expects object, mixed given\\.$#" - count: 2 - path: Document/Index/ArticleIndexer.php - - - - message: "#^Parameter \\#1 \\$metadata of method Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\Index\\\\ArticleIndexer\\:\\:getType\\(\\) expects Sulu\\\\Component\\\\Content\\\\Metadata\\\\StructureMetadata, Sulu\\\\Component\\\\Content\\\\Metadata\\\\StructureMetadata\\|null given\\.$#" - count: 2 - path: Document/Index/ArticleIndexer.php - - - - message: "#^Parameter \\#1 \\$name of method Sulu\\\\Component\\\\Content\\\\Document\\\\Structure\\\\StructureInterface\\:\\:getProperty\\(\\) expects string, float\\|int\\|string given\\.$#" - count: 4 - path: Document/Index/ArticleIndexer.php - - - - message: "#^Parameter \\#1 \\$routePath of method Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\ArticleViewDocumentInterface\\:\\:setRoutePath\\(\\) expects string, string\\|null given\\.$#" - count: 1 - path: Document/Index/ArticleIndexer.php - - - - message: "#^Parameter \\#1 \\$structure of method Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\Index\\\\ArticleIndexer\\:\\:getContentFields\\(\\) expects Sulu\\\\Component\\\\Content\\\\Metadata\\\\StructureMetadata, Sulu\\\\Component\\\\Content\\\\Metadata\\\\StructureMetadata\\|null given\\.$#" - count: 1 - path: Document/Index/ArticleIndexer.php - - - - message: "#^Parameter \\#1 \\$structureType of method Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\ArticleViewDocumentInterface\\:\\:setStructureType\\(\\) expects string, string\\|null given\\.$#" - count: 1 - path: Document/Index/ArticleIndexer.php - - - - message: "#^Parameter \\#1 \\$type of method Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\ArticleViewDocumentInterface\\:\\:setType\\(\\) expects string, mixed given\\.$#" - count: 1 - path: Document/Index/ArticleIndexer.php - - - - message: "#^Parameter \\#1 \\$type of method Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\Index\\\\ArticleIndexer\\:\\:getTypeTranslation\\(\\) expects string, mixed given\\.$#" - count: 1 - path: Document/Index/ArticleIndexer.php - - - - message: "#^Parameter \\#2 \\$article of method Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\Index\\\\ArticleIndexer\\:\\:dispatchIndexEvent\\(\\) expects Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\ArticleViewDocumentInterface, Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\ArticleViewDocumentInterface\\|null given\\.$#" - count: 2 - path: Document/Index/ArticleIndexer.php - - - - message: "#^Parameter \\#2 \\$value of class ONGR\\\\ElasticsearchDSL\\\\Query\\\\TermLevel\\\\TermQuery constructor expects bool\\|float\\|int\\|string, mixed given\\.$#" - count: 1 - path: Document/Index/ArticleIndexer.php - - - - message: "#^Property Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\ArticlePageViewObject\\:\\:\\$contentData \\(string\\) does not accept string\\|false\\.$#" - count: 1 - path: Document/Index/ArticleIndexer.php - - - - message: "#^Property Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\ArticlePageViewObject\\:\\:\\$routePath \\(string\\) does not accept string\\|null\\.$#" - count: 1 - path: Document/Index/ArticleIndexer.php - - - - message: "#^Property Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\ArticlePageViewObject\\:\\:\\$title \\(string\\) does not accept string\\|null\\.$#" - count: 1 - path: Document/Index/ArticleIndexer.php - - - - message: "#^Property Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\Index\\\\ArticleIndexer\\:\\:\\$typeConfiguration type has no value type specified in iterable type array\\.$#" - count: 1 - path: Document/Index/ArticleIndexer.php - - - - message: "#^Strict comparison using \\=\\=\\= between null and object will always evaluate to false\\.$#" - count: 1 - path: Document/Index/ArticleIndexer.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\Index\\\\DocumentFactory\\:\\:__construct\\(\\) has parameter \\$documents with no value type specified in iterable type array\\.$#" - count: 1 - path: Document/Index/DocumentFactory.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\Index\\\\DocumentFactory\\:\\:create\\(\\) should return Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\ArticleViewDocumentInterface but returns object\\.$#" - count: 1 - path: Document/Index/DocumentFactory.php - - - - message: "#^Property Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\Index\\\\DocumentFactory\\:\\:\\$documents type has no value type specified in iterable type array\\.$#" - count: 1 - path: Document/Index/DocumentFactory.php - - - - message: "#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\\.$#" - count: 1 - path: Document/Index/Factory/CategoryCollectionFactory.php - - - - message: "#^Cannot access offset 'id' on mixed\\.$#" - count: 1 - path: Document/Index/Factory/CategoryCollectionFactory.php - - - - message: "#^Cannot access offset 'key' on mixed\\.$#" - count: 1 - path: Document/Index/Factory/CategoryCollectionFactory.php - - - - message: "#^Cannot access offset 'keyword' on mixed\\.$#" - count: 1 - path: Document/Index/Factory/CategoryCollectionFactory.php - - - - message: "#^Cannot access offset 'name' on mixed\\.$#" - count: 1 - path: Document/Index/Factory/CategoryCollectionFactory.php - - - - message: "#^Cannot cast mixed to int\\.$#" - count: 1 - path: Document/Index/Factory/CategoryCollectionFactory.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\Index\\\\Factory\\\\CategoryCollectionFactory\\:\\:__construct\\(\\) has parameter \\$categoryRepository with generic class Doctrine\\\\ORM\\\\EntityRepository but does not specify its types\\: TEntityClass$#" - count: 1 - path: Document/Index/Factory/CategoryCollectionFactory.php - - - - message: "#^Property Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\CategoryViewObject\\:\\:\\$key \\(string\\) does not accept mixed\\.$#" - count: 1 - path: Document/Index/Factory/CategoryCollectionFactory.php - - - - message: "#^Property Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\CategoryViewObject\\:\\:\\$keywords \\(array\\\\) does not accept array\\.$#" - count: 1 - path: Document/Index/Factory/CategoryCollectionFactory.php - - - - message: "#^Property Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\CategoryViewObject\\:\\:\\$name \\(string\\) does not accept mixed\\.$#" - count: 1 - path: Document/Index/Factory/CategoryCollectionFactory.php - - - - message: "#^Property Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\Index\\\\Factory\\\\CategoryCollectionFactory\\:\\:\\$categoryRepository with generic class Doctrine\\\\ORM\\\\EntityRepository does not specify its types\\: TEntityClass$#" - count: 1 - path: Document/Index/Factory/CategoryCollectionFactory.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\Index\\\\Factory\\\\ExcerptFactory\\:\\:create\\(\\) has parameter \\$data with no value type specified in iterable type array\\.$#" - count: 1 - path: Document/Index/Factory/ExcerptFactory.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\Index\\\\Factory\\\\MediaCollectionFactory\\:\\:create\\(\\) has parameter \\$data with no value type specified in iterable type array\\.$#" - count: 1 - path: Document/Index/Factory/MediaCollectionFactory.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\Index\\\\Factory\\\\SegmentCollectionFactory\\:\\:create\\(\\) has parameter \\$segments with no value type specified in iterable type array\\.$#" - count: 1 - path: Document/Index/Factory/SegmentCollectionFactory.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\Index\\\\Factory\\\\SeoFactory\\:\\:create\\(\\) has parameter \\$data with no value type specified in iterable type array\\.$#" - count: 1 - path: Document/Index/Factory/SeoFactory.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\Index\\\\Factory\\\\TagCollectionFactory\\:\\:create\\(\\) should return ONGR\\\\ElasticsearchBundle\\\\Collection\\\\Collection but returns null\\.$#" - count: 1 - path: Document/Index/Factory/TagCollectionFactory.php - - - - message: "#^Negated boolean expression is always false\\.$#" - count: 1 - path: Document/Index/Factory/TagCollectionFactory.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\Initializer\\\\ArticleInitializer\\:\\:initialize\\(\\) has no return type specified\\.$#" - count: 1 - path: Document/Initializer/ArticleInitializer.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\Initializer\\\\ArticleInitializer\\:\\:initialize\\(\\) has parameter \\$purge with no type specified\\.$#" - count: 1 - path: Document/Initializer/ArticleInitializer.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\Initializer\\\\ArticleNodeType\\:\\:getPrimaryItemName\\(\\) should return string but empty return statement found\\.$#" - count: 1 - path: Document/Initializer/ArticleNodeType.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\Initializer\\\\ArticlePageNodeDefinition\\:\\:getDeclaringNodeType\\(\\) should return PHPCR\\\\NodeType\\\\NodeTypeInterface but returns null\\.$#" - count: 1 - path: Document/Initializer/ArticlePageNodeDefinition.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\Initializer\\\\ArticlePageNodeDefinition\\:\\:getDefaultPrimaryType\\(\\) should return PHPCR\\\\NodeType\\\\NodeTypeInterface but returns null\\.$#" - count: 1 - path: Document/Initializer/ArticlePageNodeDefinition.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\Initializer\\\\ArticlePageNodeDefinition\\:\\:getDefaultPrimaryTypeName\\(\\) should return string but returns null\\.$#" - count: 1 - path: Document/Initializer/ArticlePageNodeDefinition.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\Initializer\\\\ArticlePageNodeDefinition\\:\\:getRequiredPrimaryTypeNames\\(\\) should return array\\ but returns null\\.$#" - count: 1 - path: Document/Initializer/ArticlePageNodeDefinition.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\Initializer\\\\ArticlePageNodeDefinition\\:\\:getRequiredPrimaryTypes\\(\\) should return array\\ but returns null\\.$#" - count: 1 - path: Document/Initializer/ArticlePageNodeDefinition.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\Initializer\\\\ArticlePageNodeType\\:\\:getPrimaryItemName\\(\\) should return string but empty return statement found\\.$#" - count: 1 - path: Document/Initializer/ArticlePageNodeType.php - - - - message: "#^Property Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\LocalizationStateViewObject\\:\\:\\$locale \\(string\\) does not accept string\\|null\\.$#" - count: 1 - path: Document/LocalizationStateViewObject.php - - - - message: "#^Property Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\LocalizationStateViewObject\\:\\:\\$state \\(string\\) does not accept string\\|null\\.$#" - count: 1 - path: Document/LocalizationStateViewObject.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\MediaViewObject\\:\\:getThumbnails\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: Document/MediaViewObject.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\MediaViewObject\\:\\:getThumbnails\\(\\) should return array but returns mixed\\.$#" - count: 1 - path: Document/MediaViewObject.php - - - - message: "#^Property Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\MediaViewObject\\:\\:\\$copyright \\(string\\) does not accept string\\|null\\.$#" - count: 1 - path: Document/MediaViewObject.php - - - - message: "#^Property Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\MediaViewObject\\:\\:\\$formats \\(string\\) does not accept string\\|false\\.$#" - count: 1 - path: Document/MediaViewObject.php - - - - message: "#^Property Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\MediaViewObject\\:\\:\\$title \\(string\\) does not accept string\\|null\\.$#" - count: 1 - path: Document/MediaViewObject.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\Repository\\\\ArticleViewDocumentRepository\\:\\:__construct\\(\\) has parameter \\$searchFields with no value type specified in iterable type array\\.$#" - count: 1 - path: Document/Repository/ArticleViewDocumentRepository.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\Repository\\\\ArticleViewDocumentRepository\\:\\:createSearch\\(\\) has parameter \\$types with no value type specified in iterable type array\\.$#" - count: 1 - path: Document/Repository/ArticleViewDocumentRepository.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\Repository\\\\ArticleViewDocumentRepository\\:\\:findRecent\\(\\) has parameter \\$types with no value type specified in iterable type array\\.$#" - count: 1 - path: Document/Repository/ArticleViewDocumentRepository.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\Repository\\\\ArticleViewDocumentRepository\\:\\:findSimilar\\(\\) has parameter \\$types with no value type specified in iterable type array\\.$#" - count: 1 - path: Document/Repository/ArticleViewDocumentRepository.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\Repository\\\\ArticleViewDocumentRepository\\:\\:getViewDocumentIds\\(\\) has parameter \\$uuids with no value type specified in iterable type array\\.$#" - count: 1 - path: Document/Repository/ArticleViewDocumentRepository.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\Repository\\\\ArticleViewDocumentRepository\\:\\:getViewDocumentIds\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: Document/Repository/ArticleViewDocumentRepository.php - - - - message: "#^Parameter \\#1 \\$like of class ONGR\\\\ElasticsearchDSL\\\\Query\\\\Specialized\\\\MoreLikeThisQuery constructor expects string, null given\\.$#" - count: 1 - path: Document/Repository/ArticleViewDocumentRepository.php - - - - message: "#^Parameter \\#2 \\$locale of method Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\Repository\\\\ArticleViewDocumentRepository\\:\\:getViewDocumentId\\(\\) expects string, string\\|null given\\.$#" - count: 1 - path: Document/Repository/ArticleViewDocumentRepository.php - - - - message: "#^Property Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\Repository\\\\ArticleViewDocumentRepository\\:\\:\\$searchFields type has no value type specified in iterable type array\\.$#" - count: 1 - path: Document/Repository/ArticleViewDocumentRepository.php - - - - message: "#^Cannot call method getKey\\(\\) on Sulu\\\\Component\\\\Webspace\\\\Webspace\\|false\\.$#" - count: 1 - path: Document/Resolver/WebspaceResolver.php - - - - message: "#^Call to an undefined method object\\:\\:getTitle\\(\\)\\.$#" - count: 1 - path: Document/Serializer/ArticlePageSubscriber.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\Serializer\\\\ArticlePageSubscriber\\:\\:getSubscribedEvents\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: Document/Serializer/ArticlePageSubscriber.php - - - - message: "#^Cannot call method getProperty\\(\\) on Sulu\\\\Component\\\\Content\\\\Metadata\\\\StructureMetadata\\|null\\.$#" - count: 1 - path: Document/Serializer/ArticleSubscriber.php - - - - message: "#^Cannot call method getPropertyByTagName\\(\\) on Sulu\\\\Component\\\\Content\\\\Metadata\\\\StructureMetadata\\|null\\.$#" - count: 1 - path: Document/Serializer/ArticleSubscriber.php - - - - message: "#^Cannot call method hasProperty\\(\\) on Sulu\\\\Component\\\\Content\\\\Metadata\\\\StructureMetadata\\|null\\.$#" - count: 1 - path: Document/Serializer/ArticleSubscriber.php - - - - message: "#^Cannot call method hasPropertyWithTagName\\(\\) on Sulu\\\\Component\\\\Content\\\\Metadata\\\\StructureMetadata\\|null\\.$#" - count: 1 - path: Document/Serializer/ArticleSubscriber.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\Serializer\\\\ArticleSubscriber\\:\\:getSubscribedEvents\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: Document/Serializer/ArticleSubscriber.php - - - - message: "#^Negated boolean expression is always false\\.$#" - count: 1 - path: Document/Serializer/ArticleSubscriber.php - - - - message: "#^Parameter \\#1 \\$key of method Sulu\\\\Component\\\\Content\\\\Compat\\\\StructureManagerInterface\\:\\:getStructure\\(\\) expects string, string\\|null given\\.$#" - count: 1 - path: Document/Serializer/ArticleSubscriber.php - - - - message: "#^Property Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\Serializer\\\\ArticleSubscriber\\:\\:\\$localizationManager is unused\\.$#" - count: 1 - path: Document/Serializer/ArticleSubscriber.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\Serializer\\\\WebsiteArticleUrlsSubscriber\\:\\:getSubscribedEvents\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: Document/Serializer/WebsiteArticleUrlsSubscriber.php - - - - message: "#^Negated boolean expression is always false\\.$#" - count: 2 - path: Document/Serializer/WebsiteArticleUrlsSubscriber.php - - - - message: "#^Call to an undefined method object\\:\\:getExtensionsData\\(\\)\\.$#" - count: 1 - path: Document/Structure/ArticleBridge.php - - - - message: "#^If condition is always true\\.$#" - count: 1 - path: Document/Structure/ArticleBridge.php - - - - message: "#^Left side of && is always true\\.$#" - count: 1 - path: Document/Structure/ArticleBridge.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\Structure\\\\ArticleBridge\\:\\:getConcreteLanguages\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: Document/Structure/ArticleBridge.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\Structure\\\\ArticleBridge\\:\\:getEnabledShadowLanguages\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: Document/Structure/ArticleBridge.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\Structure\\\\ArticleBridge\\:\\:getExt\\(\\) has no return type specified\\.$#" - count: 1 - path: Document/Structure/ArticleBridge.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\Structure\\\\ArticleBridge\\:\\:getNavContexts\\(\\) has no return type specified\\.$#" - count: 1 - path: Document/Structure/ArticleBridge.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\Structure\\\\ArticleBridge\\:\\:setUuid\\(\\) has no return type specified\\.$#" - count: 1 - path: Document/Structure/ArticleBridge.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\Structure\\\\ArticleBridge\\:\\:setWebspaceKey\\(\\) has no return type specified\\.$#" - count: 1 - path: Document/Structure/ArticleBridge.php - - - - message: "#^Negated boolean expression is always false\\.$#" - count: 1 - path: Document/Structure/ArticleBridge.php - - - - message: "#^Parameter \\#1 \\$document of method Sulu\\\\Bundle\\\\DocumentManagerBundle\\\\Bridge\\\\DocumentInspector\\:\\:getConcreteLocales\\(\\) expects Sulu\\\\Component\\\\Content\\\\Document\\\\Behavior\\\\ShadowLocaleBehavior, object given\\.$#" - count: 1 - path: Document/Structure/ArticleBridge.php - - - - message: "#^Parameter \\#1 \\$document of method Sulu\\\\Bundle\\\\DocumentManagerBundle\\\\Bridge\\\\DocumentInspector\\:\\:getShadowLocales\\(\\) expects Sulu\\\\Component\\\\Content\\\\Document\\\\Behavior\\\\ShadowLocaleBehavior, object given\\.$#" - count: 1 - path: Document/Structure/ArticleBridge.php - - - - message: "#^Property Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\Structure\\\\ArticleBridge\\:\\:\\$uuid is never read, only written\\.$#" - count: 1 - path: Document/Structure/ArticleBridge.php - - - - message: "#^Unreachable statement \\- code above always terminates\\.$#" - count: 1 - path: Document/Structure/ArticleBridge.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\Structure\\\\ContentProxyFactory\\:\\:createContentProxy\\(\\) has parameter \\$data with no value type specified in iterable type array\\.$#" - count: 1 - path: Document/Structure/ContentProxyFactory.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\Structure\\\\ContentProxyFactory\\:\\:createViewProxy\\(\\) has parameter \\$data with no value type specified in iterable type array\\.$#" - count: 1 - path: Document/Structure/ContentProxyFactory.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\Structure\\\\ContentProxyFactory\\:\\:resolveContent\\(\\) has parameter \\$data with no value type specified in iterable type array\\.$#" - count: 1 - path: Document/Structure/ContentProxyFactory.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\Structure\\\\ContentProxyFactory\\:\\:resolveContent\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: Document/Structure/ContentProxyFactory.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\Structure\\\\ContentProxyFactory\\:\\:resolveView\\(\\) has parameter \\$data with no value type specified in iterable type array\\.$#" - count: 1 - path: Document/Structure/ContentProxyFactory.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\Structure\\\\ContentProxyFactory\\:\\:resolveView\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: Document/Structure/ContentProxyFactory.php - - - - message: "#^Negated boolean expression is always false\\.$#" - count: 1 - path: Document/Structure/ContentProxyFactory.php - - - - message: "#^Parameter \\#1 \\$webspace of method Sulu\\\\Component\\\\Content\\\\Compat\\\\StructureInterface\\:\\:setWebspaceKey\\(\\) expects string, string\\|null given\\.$#" - count: 2 - path: Document/Structure/ContentProxyFactory.php - - - - message: "#^Parameter \\#2 \\$initializer of method ProxyManager\\\\Factory\\\\LazyLoadingValueHolderFactory\\:\\:createProxy\\(\\) expects Closure\\(ArrayObject\\|null\\=, ArrayObject&ProxyManager\\\\Proxy\\\\ValueHolderInterface\\&ProxyManager\\\\Proxy\\\\VirtualProxyInterface\\=, string\\=, array\\\\=, Closure\\|null\\=\\)\\: bool, Closure\\(mixed, ProxyManager\\\\Proxy\\\\LazyLoadingInterface, mixed, array, mixed\\)\\: true given\\.$#" - count: 2 - path: Document/Structure/ContentProxyFactory.php - - - - message: "#^Call to an undefined method object\\:\\:getStructureType\\(\\)\\.$#" - count: 1 - path: Document/Subscriber/ArticlePageSubscriber.php - - - - message: "#^Call to an undefined method object\\:\\:getTitle\\(\\)\\.$#" - count: 1 - path: Document/Subscriber/ArticlePageSubscriber.php - - - - message: "#^Call to an undefined method object\\:\\:setStructureType\\(\\)\\.$#" - count: 1 - path: Document/Subscriber/ArticlePageSubscriber.php - - - - message: "#^Call to an undefined method object\\:\\:setWorkflowStage\\(\\)\\.$#" - count: 1 - path: Document/Subscriber/ArticlePageSubscriber.php - - - - message: "#^Cannot call method getProperty\\(\\) on Sulu\\\\Component\\\\Content\\\\Metadata\\\\StructureMetadata\\|null\\.$#" - count: 1 - path: Document/Subscriber/ArticlePageSubscriber.php - - - - message: "#^Cannot call method getPropertyByTagName\\(\\) on Sulu\\\\Component\\\\Content\\\\Metadata\\\\StructureMetadata\\|null\\.$#" - count: 1 - path: Document/Subscriber/ArticlePageSubscriber.php - - - - message: "#^Cannot call method hasProperty\\(\\) on Sulu\\\\Component\\\\Content\\\\Metadata\\\\StructureMetadata\\|null\\.$#" - count: 1 - path: Document/Subscriber/ArticlePageSubscriber.php - - - - message: "#^Cannot call method hasPropertyWithTagName\\(\\) on Sulu\\\\Component\\\\Content\\\\Metadata\\\\StructureMetadata\\|null\\.$#" - count: 1 - path: Document/Subscriber/ArticlePageSubscriber.php - - - - message: "#^Parameter \\#1 \\$key of function array_key_exists expects int\\|string, float\\|int\\|string given\\.$#" - count: 1 - path: Document/Subscriber/ArticlePageSubscriber.php - - - - message: "#^Parameter \\#1 \\$name of method Sulu\\\\Component\\\\Content\\\\Document\\\\Structure\\\\StructureInterface\\:\\:getProperty\\(\\) expects string, float\\|int\\|string given\\.$#" - count: 1 - path: Document/Subscriber/ArticlePageSubscriber.php - - - - message: "#^Parameter \\#1 \\$name of method Sulu\\\\Component\\\\Content\\\\Document\\\\Structure\\\\StructureInterface\\:\\:hasProperty\\(\\) expects string, float\\|int\\|string given\\.$#" - count: 1 - path: Document/Subscriber/ArticlePageSubscriber.php - - - - message: "#^Right side of \\|\\| is always true\\.$#" - count: 1 - path: Document/Subscriber/ArticlePageSubscriber.php - - - - message: "#^Unreachable statement \\- code above always terminates\\.$#" - count: 1 - path: Document/Subscriber/ArticlePageSubscriber.php - - - - message: "#^Call to an undefined method object\\:\\:getLocale\\(\\)\\.$#" - count: 9 - path: Document/Subscriber/ArticleSubscriber.php - - - - message: "#^Call to an undefined method object\\:\\:getUuid\\(\\)\\.$#" - count: 8 - path: Document/Subscriber/ArticleSubscriber.php - - - - message: "#^Call to an undefined method object\\:\\:setWorkflowStage\\(\\)\\.$#" - count: 1 - path: Document/Subscriber/ArticleSubscriber.php - - - - message: "#^Cannot access offset 'routePath' on mixed\\.$#" - count: 1 - path: Document/Subscriber/ArticleSubscriber.php - - - - message: "#^Cannot access offset int\\<0, max\\> on mixed\\.$#" - count: 1 - path: Document/Subscriber/ArticleSubscriber.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\Index\\\\IndexerInterface\\:\\:remove\\(\\) invoked with 1 parameter, 2 required\\.$#" - count: 2 - path: Document/Subscriber/ArticleSubscriber.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\Subscriber\\\\ArticleSubscriber\\:\\:handleRemoveLocale\\(\\) has no return type specified\\.$#" - count: 1 - path: Document/Subscriber/ArticleSubscriber.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\Subscriber\\\\ArticleSubscriber\\:\\:handleRemoveLocaleLive\\(\\) has no return type specified\\.$#" - count: 1 - path: Document/Subscriber/ArticleSubscriber.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\Subscriber\\\\ArticleSubscriber\\:\\:loadPageDataForShadow\\(\\) has parameter \\$originalPages with no value type specified in iterable type array\\.$#" - count: 1 - path: Document/Subscriber/ArticleSubscriber.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\Subscriber\\\\ArticleSubscriber\\:\\:loadPageDataForShadow\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: Document/Subscriber/ArticleSubscriber.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\Subscriber\\\\ArticleSubscriber\\:\\:loadPageDataForShadow\\(\\) should return array but returns mixed\\.$#" - count: 1 - path: Document/Subscriber/ArticleSubscriber.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\Subscriber\\\\ArticleSubscriber\\:\\:removeDraftChildren\\(\\) has no return type specified\\.$#" - count: 1 - path: Document/Subscriber/ArticleSubscriber.php - - - - message: "#^Parameter \\#1 \\$document of method Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\Index\\\\IndexerInterface\\:\\:index\\(\\) expects Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\ArticleDocument, Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\ArticleDocument\\|null given\\.$#" - count: 2 - path: Document/Subscriber/ArticleSubscriber.php - - - - message: "#^Parameter \\#1 \\$document of method Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\Subscriber\\\\ArticleSubscriber\\:\\:setPageData\\(\\) expects Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\ArticleDocument, object given\\.$#" - count: 1 - path: Document/Subscriber/ArticleSubscriber.php - - - - message: "#^Parameter \\#1 \\$document of method Sulu\\\\Bundle\\\\DocumentManagerBundle\\\\Bridge\\\\DocumentInspector\\:\\:getLocalizationState\\(\\) expects object, mixed given\\.$#" - count: 2 - path: Document/Subscriber/ArticleSubscriber.php - - - - message: "#^Parameter \\#1 \\$document of method Sulu\\\\Component\\\\DocumentManager\\\\DocumentInspector\\:\\:getNode\\(\\) expects object, mixed given\\.$#" - count: 1 - path: Document/Subscriber/ArticleSubscriber.php - - - - message: "#^Parameter \\#1 \\$document of method Sulu\\\\Component\\\\DocumentManager\\\\DocumentManagerInterface\\:\\:publish\\(\\) expects object, mixed given\\.$#" - count: 1 - path: Document/Subscriber/ArticleSubscriber.php - - - - message: "#^Parameter \\#1 \\$document of method Sulu\\\\Component\\\\DocumentManager\\\\DocumentManagerInterface\\:\\:refresh\\(\\) expects object, Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\ArticleDocument\\|null given\\.$#" - count: 2 - path: Document/Subscriber/ArticleSubscriber.php - - - - message: "#^Parameter \\#1 \\$document of method Sulu\\\\Component\\\\DocumentManager\\\\DocumentManagerInterface\\:\\:removeDraft\\(\\) expects object, mixed given\\.$#" - count: 1 - path: Document/Subscriber/ArticleSubscriber.php - - - - message: "#^Parameter \\#1 \\$json of function json_decode expects string, mixed given\\.$#" - count: 2 - path: Document/Subscriber/ArticleSubscriber.php - - - - message: "#^Parameter \\#1 \\$pages of method Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\ArticleDocument\\:\\:setPages\\(\\) expects array, mixed given\\.$#" - count: 1 - path: Document/Subscriber/ArticleSubscriber.php - - - - message: "#^Parameter \\#3 \\$originalPages of method Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\Subscriber\\\\ArticleSubscriber\\:\\:loadPageDataForShadow\\(\\) expects array, mixed given\\.$#" - count: 1 - path: Document/Subscriber/ArticleSubscriber.php - - - - message: "#^Property Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\Subscriber\\\\ArticleSubscriber\\:\\:\\$children is never read, only written\\.$#" - count: 1 - path: Document/Subscriber/ArticleSubscriber.php - - - - message: "#^Property Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\Subscriber\\\\ArticleSubscriber\\:\\:\\$children type has no value type specified in iterable type array\\.$#" - count: 1 - path: Document/Subscriber/ArticleSubscriber.php - - - - message: "#^Property Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\Subscriber\\\\ArticleSubscriber\\:\\:\\$documents type has no value type specified in iterable type array\\.$#" - count: 1 - path: Document/Subscriber/ArticleSubscriber.php - - - - message: "#^Property Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\Subscriber\\\\ArticleSubscriber\\:\\:\\$liveDocuments type has no value type specified in iterable type array\\.$#" - count: 1 - path: Document/Subscriber/ArticleSubscriber.php - - - - message: "#^Strict comparison using \\=\\=\\= between null and DateTime will always evaluate to false\\.$#" - count: 1 - path: Document/Subscriber/DateShardingSubscriber.php - - - - message: "#^Call to an undefined method object\\:\\:getChildren\\(\\)\\.$#" - count: 2 - path: Document/Subscriber/PageSubscriber.php - - - - message: "#^Parameter \\#1 \\$pageNumber of method Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\Behavior\\\\PageBehavior\\:\\:setPageNumber\\(\\) expects int, mixed given\\.$#" - count: 1 - path: Document/Subscriber/PageSubscriber.php - - - - message: "#^Cannot call method getPropertyByTagName\\(\\) on Sulu\\\\Component\\\\Content\\\\Metadata\\\\StructureMetadata\\|null\\.$#" - count: 1 - path: Document/Subscriber/RoutableSubscriber.php - - - - message: "#^Cannot call method hasTag\\(\\) on Sulu\\\\Component\\\\Content\\\\Metadata\\\\StructureMetadata\\|null\\.$#" - count: 1 - path: Document/Subscriber/RoutableSubscriber.php - - - - message: "#^Left side of && is always true\\.$#" - count: 1 - path: Document/Subscriber/RoutableSubscriber.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\Subscriber\\\\RoutableSubscriber\\:\\:createOrUpdatePageRoute\\(\\) should return Sulu\\\\Bundle\\\\RouteBundle\\\\Model\\\\RouteInterface but returns Sulu\\\\Bundle\\\\RouteBundle\\\\Model\\\\RouteInterface\\|null\\.$#" - count: 1 - path: Document/Subscriber/RoutableSubscriber.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\Subscriber\\\\RoutableSubscriber\\:\\:removeOldChildRoutes\\(\\) has parameter \\$oldRoutes with no value type specified in iterable type array\\.$#" - count: 1 - path: Document/Subscriber/RoutableSubscriber.php - - - - message: "#^Negated boolean expression is always false\\.$#" - count: 1 - path: Document/Subscriber/RoutableSubscriber.php - - - - message: "#^Parameter \\#1 \\$identifier of method Sulu\\\\Component\\\\DocumentManager\\\\DocumentManagerInterface\\:\\:find\\(\\) expects string, string\\|null given\\.$#" - count: 1 - path: Document/Subscriber/RoutableSubscriber.php - - - - message: "#^Parameter \\#2 \\$field of method Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\Subscriber\\\\RoutableSubscriber\\:\\:getPropertyName\\(\\) expects string, float\\|int\\|string given\\.$#" - count: 1 - path: Document/Subscriber/RoutableSubscriber.php - - - - message: "#^Parameter \\#2 \\$locale of method Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\Subscriber\\\\RoutableSubscriber\\:\\:getRoutePathPropertyName\\(\\) expects string, string\\|null given\\.$#" - count: 1 - path: Document/Subscriber/RoutableSubscriber.php - - - - message: "#^Parameter \\#2 \\$oldRoutes of method Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\Subscriber\\\\RoutableSubscriber\\:\\:removeOldChildRoutes\\(\\) expects array, mixed given\\.$#" - count: 1 - path: Document/Subscriber/RoutableSubscriber.php - - - - message: "#^Property Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\Subscriber\\\\RoutableSubscriber\\:\\:\\$conflictResolver is never read, only written\\.$#" - count: 1 - path: Document/Subscriber/RoutableSubscriber.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\Subscriber\\\\WebspaceSubscriber\\:\\:getDocumentInspector\\(\\) has no return type specified\\.$#" - count: 1 - path: Document/Subscriber/WebspaceSubscriber.php - - - - message: "#^Parameter \\#1 \\$additionalWebspaces of method Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\Behavior\\\\WebspaceBehavior\\:\\:setAdditionalWebspaces\\(\\) expects array\\\\|null, mixed given\\.$#" - count: 1 - path: Document/Subscriber/WebspaceSubscriber.php - - - - message: "#^Parameter \\#1 \\$document of method Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\Subscriber\\\\WebspaceSubscriber\\:\\:getParentPageUuidFromPageTree\\(\\) expects Sulu\\\\Component\\\\Route\\\\Document\\\\Behavior\\\\RoutableBehavior, Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\ArticleInterface&Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\Behavior\\\\WebspaceBehavior given\\.$#" - count: 1 - path: Document/Subscriber/WebspaceSubscriber.php - - - - message: "#^Parameter \\#1 \\$webspace of method Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\Behavior\\\\WebspaceBehavior\\:\\:setMainWebspace\\(\\) expects string\\|null, mixed given\\.$#" - count: 1 - path: Document/Subscriber/WebspaceSubscriber.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Elasticsearch\\\\AnnotationReader\\:\\:__construct\\(\\) has parameter \\$articleViewDocumentClass with no type specified\\.$#" - count: 1 - path: Elasticsearch/AnnotationReader.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Elasticsearch\\\\AnnotationReader\\:\\:getClassAnnotation\\(\\) has parameter \\$class with generic class ReflectionClass but does not specify its types\\: T$#" - count: 1 - path: Elasticsearch/AnnotationReader.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Elasticsearch\\\\AnnotationReader\\:\\:getClassAnnotation\\(\\) should return T\\|null but returns ONGR\\\\ElasticsearchBundle\\\\Annotation\\\\Document\\.$#" - count: 1 - path: Elasticsearch/AnnotationReader.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Elasticsearch\\\\AnnotationReader\\:\\:getClassAnnotations\\(\\) has parameter \\$class with generic class ReflectionClass but does not specify its types\\: T$#" - count: 1 - path: Elasticsearch/AnnotationReader.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Elasticsearch\\\\EventAwareConverter\\:\\:convertToDocument\\(\\) has parameter \\$rawData with no value type specified in iterable type array\\.$#" - count: 1 - path: Elasticsearch/EventAwareConverter.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Elasticsearch\\\\PostConvertToDocumentEvent\\:\\:__construct\\(\\) has parameter \\$document with no type specified\\.$#" - count: 1 - path: Elasticsearch/PostConvertToDocumentEvent.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Elasticsearch\\\\PostConvertToDocumentEvent\\:\\:__construct\\(\\) has parameter \\$rawData with no value type specified in iterable type array\\.$#" - count: 1 - path: Elasticsearch/PostConvertToDocumentEvent.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Elasticsearch\\\\PostConvertToDocumentEvent\\:\\:getRawData\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: Elasticsearch/PostConvertToDocumentEvent.php - - - - message: "#^Property Sulu\\\\Bundle\\\\ArticleBundle\\\\Elasticsearch\\\\PostConvertToDocumentEvent\\:\\:\\$rawData type has no value type specified in iterable type array\\.$#" - count: 1 - path: Elasticsearch/PostConvertToDocumentEvent.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\EventListener\\\\ContentProxyListener\\:\\:getProxies\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: EventListener/ContentProxyListener.php - - - - message: "#^Negated boolean expression is always false\\.$#" - count: 1 - path: EventListener/ContentProxyListener.php - - - - message: "#^Parameter \\#2 \\$data of method Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\Structure\\\\ContentProxyFactory\\:\\:createContentProxy\\(\\) expects array, mixed given\\.$#" - count: 1 - path: EventListener/ContentProxyListener.php - - - - message: "#^Parameter \\#2 \\$data of method Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\Structure\\\\ContentProxyFactory\\:\\:createViewProxy\\(\\) expects array, mixed given\\.$#" - count: 1 - path: EventListener/ContentProxyListener.php - - - - message: "#^Cannot access offset 'articlePath' on mixed\\.$#" - count: 1 - path: EventListener/DomainEventSubscriber.php - - - - message: "#^Cannot access offset 'locale' on mixed\\.$#" - count: 1 - path: EventListener/DomainEventSubscriber.php - - - - message: "#^Cannot access offset 'sourceArticleId' on mixed\\.$#" - count: 1 - path: EventListener/DomainEventSubscriber.php - - - - message: "#^Cannot access offset 'sourceArticleTitle' on mixed\\.$#" - count: 1 - path: EventListener/DomainEventSubscriber.php - - - - message: "#^Parameter \\#1 \\$identifier of method Sulu\\\\Component\\\\DocumentManager\\\\DocumentManagerInterface\\:\\:find\\(\\) expects string, mixed given\\.$#" - count: 1 - path: EventListener/DomainEventSubscriber.php - - - - message: "#^Parameter \\#2 \\$locale of method Sulu\\\\Component\\\\DocumentManager\\\\DocumentManagerInterface\\:\\:find\\(\\) expects string\\|null, mixed given\\.$#" - count: 1 - path: EventListener/DomainEventSubscriber.php - - - - message: "#^Parameter \\#2 \\$sourceArticleId of class Sulu\\\\Bundle\\\\ArticleBundle\\\\Domain\\\\Event\\\\ArticleCopiedEvent constructor expects string, mixed given\\.$#" - count: 1 - path: EventListener/DomainEventSubscriber.php - - - - message: "#^Parameter \\#3 \\$sourceArticleTitle of class Sulu\\\\Bundle\\\\ArticleBundle\\\\Domain\\\\Event\\\\ArticleCopiedEvent constructor expects string\\|null, mixed given\\.$#" - count: 1 - path: EventListener/DomainEventSubscriber.php - - - - message: "#^Parameter \\#4 \\$sourceArticleTitleLocale of class Sulu\\\\Bundle\\\\ArticleBundle\\\\Domain\\\\Event\\\\ArticleCopiedEvent constructor expects string\\|null, mixed given\\.$#" - count: 1 - path: EventListener/DomainEventSubscriber.php - - - - message: "#^Negated boolean expression is always false\\.$#" - count: 1 - path: EventListener/TargetWebspaceListener.php - - - - message: "#^Parameter \\#1 \\$targetWebspace of method Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\ArticleViewDocumentInterface\\:\\:setTargetWebspace\\(\\) expects string, string\\|null given\\.$#" - count: 1 - path: EventListener/TargetWebspaceListener.php - - - - message: "#^If condition is always true\\.$#" - count: 2 - path: Export/ArticleExport.php - - - - message: "#^Left side of && is always true\\.$#" - count: 1 - path: Export/ArticleExport.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Export\\\\ArticleExport\\:\\:__construct\\(\\) has parameter \\$formatFilePaths with no value type specified in iterable type array\\.$#" - count: 1 - path: Export/ArticleExport.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Export\\\\ArticleExport\\:\\:getDocuments\\(\\) should return Sulu\\\\Component\\\\DocumentManager\\\\Collection\\\\QueryResultCollection but returns mixed\\.$#" - count: 1 - path: Export/ArticleExport.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Export\\\\ArticleExport\\:\\:getExportData\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: Export/ArticleExport.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Export\\\\ArticleExport\\:\\:getExtensionData\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: Export/ArticleExport.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Export\\\\ArticleExport\\:\\:getSettingData\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: Export/ArticleExport.php - - - - message: "#^Parameter \\#1 \\$key of method Sulu\\\\Component\\\\Content\\\\Extension\\\\ExtensionManagerInterface\\:\\:getExtension\\(\\) expects string, string\\|null given\\.$#" - count: 1 - path: Export/ArticleExport.php - - - - message: "#^Property Sulu\\\\Bundle\\\\ArticleBundle\\\\Export\\\\ArticleExport\\:\\:\\$output \\(Symfony\\\\Component\\\\Console\\\\Output\\\\OutputInterface\\) does not accept Symfony\\\\Component\\\\Console\\\\Output\\\\OutputInterface\\|null\\.$#" - count: 1 - path: Export/ArticleExport.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Import\\\\ArticleImport\\:\\:importDocument\\(\\) has parameter \\$parsedData with no value type specified in iterable type array\\.$#" - count: 1 - path: Import/ArticleImport.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Import\\\\ArticleImport\\:\\:importExtension\\(\\) has parameter \\$data with no value type specified in iterable type array\\.$#" - count: 1 - path: Import/ArticleImport.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Import\\\\ArticleImport\\:\\:importExtension\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: Import/ArticleImport.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Import\\\\ArticleImport\\:\\:importExtension\\(\\) should return array but returns mixed\\.$#" - count: 1 - path: Import/ArticleImport.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Import\\\\ArticleImport\\:\\:setDocumentData\\(\\) has parameter \\$data with no value type specified in iterable type array\\.$#" - count: 1 - path: Import/ArticleImport.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Import\\\\ArticleImport\\:\\:setDocumentSettings\\(\\) has parameter \\$data with no value type specified in iterable type array\\.$#" - count: 1 - path: Import/ArticleImport.php - - - - message: "#^Parameter \\#1 \\$datetime of class DateTime constructor expects string, mixed given\\.$#" - count: 1 - path: Import/ArticleImport.php - - - - message: "#^Parameter \\#1 \\$json of function json_decode expects string, mixed given\\.$#" - count: 1 - path: Import/ArticleImport.php - - - - message: "#^Parameter \\#1 \\$key of method Sulu\\\\Component\\\\Content\\\\Compat\\\\StructureManagerInterface\\:\\:getStructure\\(\\) expects string, string\\|null given\\.$#" - count: 1 - path: Import/ArticleImport.php - - - - message: "#^Parameter \\#1 \\$key of method Sulu\\\\Component\\\\Content\\\\Extension\\\\ExtensionManagerInterface\\:\\:getExtensions\\(\\) expects string, string\\|null given\\.$#" - count: 1 - path: Import/ArticleImport.php - - - - message: "#^Parameter \\#2 \\$webspaceKey of method Sulu\\\\Component\\\\Content\\\\Extension\\\\ExtensionInterface\\:\\:load\\(\\) expects string, null given\\.$#" - count: 1 - path: Import/ArticleImport.php - - - - message: "#^Parameter \\#3 \\$webspaceKey of method Sulu\\\\Component\\\\Content\\\\Extension\\\\ExportExtensionInterface\\:\\:import\\(\\) expects string, null given\\.$#" - count: 1 - path: Import/ArticleImport.php - - - - message: "#^Parameter \\#5 \\$webspaceKey of method Sulu\\\\Component\\\\Import\\\\Import\\:\\:importProperty\\(\\) expects string, null given\\.$#" - count: 1 - path: Import/ArticleImport.php - - - - message: "#^Property Sulu\\\\Bundle\\\\ArticleBundle\\\\Import\\\\ArticleImport\\:\\:\\$excludedSettings type has no value type specified in iterable type array\\.$#" - count: 1 - path: Import/ArticleImport.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Import\\\\ImportResult\\:\\:__construct\\(\\) has parameter \\$exceptionStore with no value type specified in iterable type array\\.$#" - count: 1 - path: Import/ImportResult.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Import\\\\ImportResult\\:\\:__construct\\(\\) has parameter \\$failed with no value type specified in iterable type array\\.$#" - count: 1 - path: Import/ImportResult.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Import\\\\ImportResult\\:\\:getExceptionStore\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: Import/ImportResult.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Import\\\\ImportResult\\:\\:getFailed\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: Import/ImportResult.php - - - - message: "#^Property Sulu\\\\Bundle\\\\ArticleBundle\\\\Import\\\\ImportResult\\:\\:\\$failed type has no value type specified in iterable type array\\.$#" - count: 1 - path: Import/ImportResult.php - - - - message: "#^Parameter \\#1 \\$filters of method Sulu\\\\Component\\\\SmartContent\\\\DataProviderInterface\\:\\:resolveResourceItems\\(\\) expects array\\{dataSource\\?\\: int\\|string\\|null, sortMethod\\?\\: 'asc'\\|'desc', sortBy\\?\\: string, tags\\?\\: array\\, tagOperator\\?\\: 'and'\\|'or', types\\?\\: array\\, categories\\?\\: array\\, categoryOperator\\?\\: 'and'\\|'or', \\.\\.\\.\\}, array given\\.$#" - count: 1 - path: Infrastructure/Sulu/Headless/DataProviderResolver/AbstractArticleDataProviderResolver.php - - - - message: "#^Parameter \\#1 \\$filters of method Sulu\\\\Component\\\\SmartContent\\\\DataProviderInterface\\:\\:resolveResourceItems\\(\\) expects array\\{dataSource\\?\\: int\\|string\\|null, sortMethod\\?\\: 'asc'\\|'desc', sortBy\\?\\: string, tags\\?\\: array\\, tagOperator\\?\\: 'and'\\|'or', types\\?\\: array\\, categories\\?\\: array\\, categoryOperator\\?\\: 'and'\\|'or', \\.\\.\\.\\}, array given\\.$#" - count: 1 - path: Infrastructure/SuluHeadlessBundle/DataProviderResolver/AbstractArticleDataProviderResolver.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\ListBuilder\\\\ElasticSearchFieldDescriptorBuilder\\:\\:setSearchability\\(\\) has no return type specified\\.$#" - count: 1 - path: ListBuilder/ElasticSearchFieldDescriptorBuilder.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\ListBuilder\\\\ElasticSearchFieldDescriptorBuilder\\:\\:setSortField\\(\\) has no return type specified\\.$#" - count: 1 - path: ListBuilder/ElasticSearchFieldDescriptorBuilder.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\ListBuilder\\\\ElasticSearchFieldDescriptorBuilder\\:\\:setType\\(\\) has no return type specified\\.$#" - count: 1 - path: ListBuilder/ElasticSearchFieldDescriptorBuilder.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\ListBuilder\\\\ElasticSearchFieldDescriptorBuilder\\:\\:setVisibility\\(\\) has no return type specified\\.$#" - count: 1 - path: ListBuilder/ElasticSearchFieldDescriptorBuilder.php - - - - message: "#^Property Sulu\\\\Bundle\\\\ArticleBundle\\\\ListBuilder\\\\ElasticSearchFieldDescriptorBuilder\\:\\:\\$translation \\(string\\) does not accept string\\|null\\.$#" - count: 1 - path: ListBuilder/ElasticSearchFieldDescriptorBuilder.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Markup\\\\ArticleLinkProvider\\:\\:__construct\\(\\) has parameter \\$articleViewClass with no type specified\\.$#" - count: 1 - path: Markup/ArticleLinkProvider.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Markup\\\\ArticleLinkProvider\\:\\:__construct\\(\\) has parameter \\$environment with no type specified\\.$#" - count: 1 - path: Markup/ArticleLinkProvider.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Markup\\\\ArticleLinkProvider\\:\\:__construct\\(\\) has parameter \\$types with no value type specified in iterable type array\\.$#" - count: 1 - path: Markup/ArticleLinkProvider.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Markup\\\\ArticleLinkProvider\\:\\:getViewDocumentIds\\(\\) has parameter \\$uuids with no value type specified in iterable type array\\.$#" - count: 1 - path: Markup/ArticleLinkProvider.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Markup\\\\ArticleLinkProvider\\:\\:getViewDocumentIds\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: Markup/ArticleLinkProvider.php - - - - message: "#^Parameter \\#3 \\$url of class Sulu\\\\Bundle\\\\MarkupBundle\\\\Markup\\\\Link\\\\LinkItem constructor expects string, string\\|null given\\.$#" - count: 1 - path: Markup/ArticleLinkProvider.php - - - - message: "#^Property Sulu\\\\Bundle\\\\ArticleBundle\\\\Markup\\\\ArticleLinkProvider\\:\\:\\$types is never read, only written\\.$#" - count: 1 - path: Markup/ArticleLinkProvider.php - - - - message: "#^Property Sulu\\\\Bundle\\\\ArticleBundle\\\\Markup\\\\ArticleLinkProvider\\:\\:\\$types type has no value type specified in iterable type array\\.$#" - count: 1 - path: Markup/ArticleLinkProvider.php - - - - message: "#^Cannot access offset 'object' on mixed\\.$#" - count: 1 - path: Preview/ArticleObjectProvider.php - - - - message: "#^Cannot access offset 'pageNumber' on mixed\\.$#" - count: 1 - path: Preview/ArticleObjectProvider.php - - - - message: "#^Cannot call method getChildren\\(\\) on mixed\\.$#" - count: 2 - path: Preview/ArticleObjectProvider.php - - - - message: "#^Instanceof between Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\ArticleDocument and Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\ArticlePageDocument will always evaluate to false\\.$#" - count: 1 - path: Preview/ArticleObjectProvider.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Preview\\\\ArticleObjectProvider\\:\\:deserialize\\(\\) has no return type specified\\.$#" - count: 1 - path: Preview/ArticleObjectProvider.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Preview\\\\ArticleObjectProvider\\:\\:getArticleType\\(\\) should return string\\|null but returns mixed\\.$#" - count: 1 - path: Preview/ArticleObjectProvider.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Preview\\\\ArticleObjectProvider\\:\\:getObject\\(\\) has no return type specified\\.$#" - count: 1 - path: Preview/ArticleObjectProvider.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Preview\\\\ArticleObjectProvider\\:\\:serialize\\(\\) should return string but returns string\\|false\\.$#" - count: 1 - path: Preview/ArticleObjectProvider.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Preview\\\\ArticleObjectProvider\\:\\:setContext\\(\\) has parameter \\$context with no value type specified in iterable type array\\.$#" - count: 1 - path: Preview/ArticleObjectProvider.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Preview\\\\ArticleObjectProvider\\:\\:setValues\\(\\) has no return type specified\\.$#" - count: 1 - path: Preview/ArticleObjectProvider.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Preview\\\\ArticleObjectProvider\\:\\:setValues\\(\\) has parameter \\$data with no value type specified in iterable type array\\.$#" - count: 1 - path: Preview/ArticleObjectProvider.php - - - - message: "#^Parameter \\#1 \\$data of method JMS\\\\Serializer\\\\SerializerInterface\\:\\:deserialize\\(\\) expects string, mixed given\\.$#" - count: 1 - path: Preview/ArticleObjectProvider.php - - - - message: "#^Parameter \\#1 \\$json of function json_decode expects string, Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\ArticleDocument given\\.$#" - count: 1 - path: Preview/ArticleObjectProvider.php - - - - message: "#^Parameter \\#1 \\$serializedObject \\(Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\ArticleDocument\\) of method Sulu\\\\Bundle\\\\ArticleBundle\\\\Preview\\\\ArticleObjectProvider\\:\\:deserialize\\(\\) should be compatible with parameter \\$serializedObject \\(string\\) of method Sulu\\\\Bundle\\\\PreviewBundle\\\\Preview\\\\Object\\\\PreviewObjectProviderInterface\\:\\:deserialize\\(\\)$#" - count: 1 - path: Preview/ArticleObjectProvider.php - - - - message: "#^Call to an undefined method object\\:\\:getPages\\(\\)\\.$#" - count: 1 - path: Resolver/ArticleContentResolver.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Resolver\\\\ArticleContentResolver\\:\\:getArticleForPage\\(\\) should return Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\ArticleDocument but returns Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\ArticlePageDocument\\.$#" - count: 1 - path: Resolver/ArticleContentResolver.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Resolver\\\\ArticleContentResolver\\:\\:resolveContent\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: Resolver/ArticleContentResolver.php - - - - message: "#^Parameter \\#1 \\$article of method Sulu\\\\Bundle\\\\ArticleBundle\\\\Resolver\\\\ArticleContentResolver\\:\\:getArticleForPage\\(\\) expects Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\ArticleDocument, object given\\.$#" - count: 1 - path: Resolver/ArticleContentResolver.php - - - - message: "#^Parameter \\#1 \\$key of method Sulu\\\\Component\\\\Content\\\\Compat\\\\StructureManagerInterface\\:\\:getStructure\\(\\) expects string, string\\|null given\\.$#" - count: 1 - path: Resolver/ArticleContentResolver.php - - - - message: "#^Strict comparison using \\=\\=\\= between null and Sulu\\\\Component\\\\DocumentManager\\\\Collection\\\\ChildrenCollection will always evaluate to false\\.$#" - count: 1 - path: Resolver/ArticleContentResolver.php - - - - message: "#^Parameter \\#1 \\$str of function strtr expects string, mixed given\\.$#" - count: 1 - path: Routing/ArticlePageRouteGenerator.php - - - - message: "#^Parameter \\#2 \\$subject of function preg_match_all expects string, mixed given\\.$#" - count: 1 - path: Routing/ArticlePageRouteGenerator.php - - - - message: "#^Call to an undefined method object\\:\\:getPageNumber\\(\\)\\.$#" - count: 1 - path: Routing/ArticleRouteDefaultProvider.php - - - - message: "#^Call to an undefined method object\\:\\:getStructureType\\(\\)\\.$#" - count: 1 - path: Routing/ArticleRouteDefaultProvider.php - - - - message: "#^Cannot call method getController\\(\\) on Sulu\\\\Component\\\\Content\\\\Metadata\\\\StructureMetadata\\|null\\.$#" - count: 1 - path: Routing/ArticleRouteDefaultProvider.php - - - - message: "#^Cannot call method getView\\(\\) on Sulu\\\\Component\\\\Content\\\\Metadata\\\\StructureMetadata\\|null\\.$#" - count: 1 - path: Routing/ArticleRouteDefaultProvider.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Routing\\\\ArticleRouteDefaultProvider\\:\\:getByEntity\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: Routing/ArticleRouteDefaultProvider.php - - - - message: "#^Negated boolean expression is always false\\.$#" - count: 1 - path: Routing/ArticleRouteDefaultProvider.php - - - - message: "#^Parameter \\#1 \\$document of method Sulu\\\\Component\\\\Content\\\\Compat\\\\Structure\\\\StructureBridge\\:\\:setDocument\\(\\) expects Sulu\\\\Component\\\\Content\\\\Document\\\\Behavior\\\\StructureBehavior, object given\\.$#" - count: 1 - path: Routing/ArticleRouteDefaultProvider.php - - - - message: "#^Parameter \\#1 \\$metadata of method Sulu\\\\Bundle\\\\ArticleBundle\\\\Routing\\\\ArticleRouteDefaultProvider\\:\\:getCacheLifetime\\(\\) expects Sulu\\\\Component\\\\Content\\\\Metadata\\\\StructureMetadata, Sulu\\\\Component\\\\Content\\\\Metadata\\\\StructureMetadata\\|null given\\.$#" - count: 1 - path: Routing/ArticleRouteDefaultProvider.php - - - - message: "#^Parameter \\#2 \\$haystack of function in_array expects array, array\\\\|null given\\.$#" - count: 1 - path: Routing/ArticleRouteDefaultProvider.php - - - - message: "#^Parameter \\#2 \\$structure of method Sulu\\\\Component\\\\Content\\\\Compat\\\\StructureManagerInterface\\:\\:wrapStructure\\(\\) expects Sulu\\\\Component\\\\Content\\\\Metadata\\\\StructureMetadata, Sulu\\\\Component\\\\Content\\\\Metadata\\\\StructureMetadata\\|null given\\.$#" - count: 1 - path: Routing/ArticleRouteDefaultProvider.php - - - - message: "#^Cannot call method getAttribute\\(\\) on mixed\\.$#" - count: 1 - path: Routing/ArticleRouteEnhancer.php - - - - message: "#^Cannot call method getLocale\\(\\) on mixed\\.$#" - count: 1 - path: Routing/ArticleRouteEnhancer.php - - - - message: "#^Cannot call method getRoutePath\\(\\) on mixed\\.$#" - count: 1 - path: Routing/ArticleRouteEnhancer.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Routing\\\\ArticleRouteEnhancer\\:\\:shouldAddCanonicalTag\\(\\) has parameter \\$defaults with no value type specified in iterable type array\\.$#" - count: 1 - path: Routing/ArticleRouteEnhancer.php - - - - message: "#^Negated boolean expression is always false\\.$#" - count: 1 - path: Routing/ArticleRouteEnhancer.php - - - - message: "#^Parameter \\#1 \\$document of method Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\Resolver\\\\WebspaceResolver\\:\\:resolveMainWebspace\\(\\) expects Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\Behavior\\\\WebspaceBehavior, mixed given\\.$#" - count: 1 - path: Routing/ArticleRouteEnhancer.php - - - - message: "#^Parameter \\#1 \\$key of function array_key_exists expects int\\|string, string\\|null given\\.$#" - count: 1 - path: Routing/ArticleRouteGeneratorByTemplate.php - - - - message: "#^Parameter \\#1 \\$requested of class Sulu\\\\Bundle\\\\ArticleBundle\\\\Exception\\\\RouteSchemaNotFoundException constructor expects string, string\\|null given\\.$#" - count: 1 - path: Routing/ArticleRouteGeneratorByTemplate.php - - - - message: "#^Parameter \\#1 \\$key of function array_key_exists expects int\\|string, mixed given\\.$#" - count: 1 - path: Routing/ArticleRouteGeneratorByType.php - - - - message: "#^Parameter \\#1 \\$metadata of method Sulu\\\\Bundle\\\\ArticleBundle\\\\Routing\\\\ArticleRouteGeneratorByType\\:\\:getType\\(\\) expects Sulu\\\\Component\\\\Content\\\\Metadata\\\\StructureMetadata, Sulu\\\\Component\\\\Content\\\\Metadata\\\\StructureMetadata\\|null given\\.$#" - count: 1 - path: Routing/ArticleRouteGeneratorByType.php - - - - message: "#^Parameter \\#1 \\$requested of class Sulu\\\\Bundle\\\\ArticleBundle\\\\Exception\\\\RouteSchemaNotFoundException constructor expects string, mixed given\\.$#" - count: 1 - path: Routing/ArticleRouteGeneratorByType.php - - - - message: "#^Parameter \\#1 \\$url of method Massive\\\\Bundle\\\\SearchBundle\\\\Search\\\\Document\\:\\:setUrl\\(\\) expects string, string\\|null given\\.$#" - count: 1 - path: Search/ArticleSearchSubscriber.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Sitemap\\\\ArticleSitemapProvider\\:\\:findUrl\\(\\) should return string but returns string\\|null\\.$#" - count: 1 - path: Sitemap/ArticleSitemapProvider.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Sitemap\\\\ArticleSitemapProvider\\:\\:getBulk\\(\\) has parameter \\$webspaceKeys with no value type specified in iterable type array\\.$#" - count: 1 - path: Sitemap/ArticleSitemapProvider.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Sitemap\\\\ArticleSitemapProvider\\:\\:getMaxPage\\(\\) should return int but returns float\\.$#" - count: 1 - path: Sitemap/ArticleSitemapProvider.php - - - - message: "#^Parameter \\#1 \\$sitemapUrlList of method Sulu\\\\Bundle\\\\ArticleBundle\\\\Sitemap\\\\ArticleSitemapProvider\\:\\:setAlternatives\\(\\) expects array\\, array\\\\|Sulu\\\\Bundle\\\\WebsiteBundle\\\\Sitemap\\\\SitemapUrl given\\.$#" - count: 1 - path: Sitemap/ArticleSitemapProvider.php - - - - message: "#^Parameter \\#2 \\.\\.\\.\\$arrays of function array_merge expects array, array\\\\|null given\\.$#" - count: 1 - path: Sitemap/ArticleSitemapProvider.php - - - - message: "#^Cannot call method getExcerpt\\(\\) on mixed\\.$#" - count: 1 - path: Teaser/ArticleTeaserProvider.php - - - - message: "#^Cannot call method getLocale\\(\\) on mixed\\.$#" - count: 1 - path: Teaser/ArticleTeaserProvider.php - - - - message: "#^Cannot call method getRoutePath\\(\\) on mixed\\.$#" - count: 1 - path: Teaser/ArticleTeaserProvider.php - - - - message: "#^Cannot call method getTeaserDescription\\(\\) on mixed\\.$#" - count: 1 - path: Teaser/ArticleTeaserProvider.php - - - - message: "#^Cannot call method getTeaserMediaId\\(\\) on mixed\\.$#" - count: 1 - path: Teaser/ArticleTeaserProvider.php - - - - message: "#^Cannot call method getTitle\\(\\) on mixed\\.$#" - count: 1 - path: Teaser/ArticleTeaserProvider.php - - - - message: "#^Cannot call method getUuid\\(\\) on mixed\\.$#" - count: 1 - path: Teaser/ArticleTeaserProvider.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Teaser\\\\ArticleTeaserProvider\\:\\:find\\(\\) has parameter \\$ids with no value type specified in iterable type array\\.$#" - count: 1 - path: Teaser/ArticleTeaserProvider.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Teaser\\\\ArticleTeaserProvider\\:\\:getAttributes\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: Teaser/ArticleTeaserProvider.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Teaser\\\\ArticleTeaserProvider\\:\\:getViewDocumentIds\\(\\) has parameter \\$uuids with no value type specified in iterable type array\\.$#" - count: 1 - path: Teaser/ArticleTeaserProvider.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Teaser\\\\ArticleTeaserProvider\\:\\:getViewDocumentIds\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: Teaser/ArticleTeaserProvider.php - - - - message: "#^Parameter \\#1 \\$viewDocument of method Sulu\\\\Bundle\\\\ArticleBundle\\\\Teaser\\\\ArticleTeaserProvider\\:\\:getAttributes\\(\\) expects Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\ArticleViewDocument, mixed given\\.$#" - count: 1 - path: Teaser/ArticleTeaserProvider.php - - - - message: "#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\\.$#" - count: 1 - path: Trash/ArticleTrashItemHandler.php - - - - message: "#^Call to an undefined method object\\:\\:getUuid\\(\\)\\.$#" - count: 1 - path: Trash/ArticleTrashItemHandler.php - - - - message: "#^Cannot access offset 'shadowLocaleEnabled' on mixed\\.$#" - count: 1 - path: Trash/ArticleTrashItemHandler.php - - - - message: "#^Parameter \\#1 \\$data of method Sulu\\\\Component\\\\Content\\\\Document\\\\Structure\\\\StructureInterface\\:\\:bind\\(\\) expects array, mixed given\\.$#" - count: 1 - path: Trash/ArticleTrashItemHandler.php - - - - message: "#^Parameter \\#1 \\$extensions of method Sulu\\\\Bundle\\\\ArticleBundle\\\\Document\\\\ArticleDocument\\:\\:setExtensionsData\\(\\) expects array\\\\|Sulu\\\\Component\\\\Content\\\\Document\\\\Extension\\\\ExtensionContainer, mixed given\\.$#" - count: 1 - path: Trash/ArticleTrashItemHandler.php - - - - message: "#^Parameter \\#2 \\$locale of class Sulu\\\\Bundle\\\\ArticleBundle\\\\Domain\\\\Event\\\\ArticleTranslationRestoredEvent constructor expects string, mixed given\\.$#" - count: 1 - path: Trash/ArticleTrashItemHandler.php - - - - message: "#^Cannot call method get\\(\\) on Symfony\\\\Component\\\\HttpFoundation\\\\Request\\|null\\.$#" - count: 1 - path: Twig/ArticleViewDocumentTwigExtension.php - - - - message: "#^Cannot call method getAttribute\\(\\) on mixed\\.$#" - count: 1 - path: Twig/ArticleViewDocumentTwigExtension.php - - - - message: "#^Cannot call method getLocale\\(\\) on Symfony\\\\Component\\\\HttpFoundation\\\\Request\\|null\\.$#" - count: 1 - path: Twig/ArticleViewDocumentTwigExtension.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Twig\\\\ArticleViewDocumentTwigExtension\\:\\:getArticleType\\(\\) should return string but returns mixed\\.$#" - count: 1 - path: Twig/ArticleViewDocumentTwigExtension.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Twig\\\\ArticleViewDocumentTwigExtension\\:\\:loadRecent\\(\\) has parameter \\$types with no value type specified in iterable type array\\.$#" - count: 1 - path: Twig/ArticleViewDocumentTwigExtension.php - - - - message: "#^Method Sulu\\\\Bundle\\\\ArticleBundle\\\\Twig\\\\ArticleViewDocumentTwigExtension\\:\\:loadSimilar\\(\\) has parameter \\$types with no value type specified in iterable type array\\.$#" - count: 1 - path: Twig/ArticleViewDocumentTwigExtension.php - - - - message: "#^Negated boolean expression is always false\\.$#" - count: 1 - path: Twig/ArticleViewDocumentTwigExtension.php - - - - message: "#^Parameter \\#1 \\$metadata of method Sulu\\\\Bundle\\\\ArticleBundle\\\\Twig\\\\ArticleViewDocumentTwigExtension\\:\\:getType\\(\\) expects Sulu\\\\Component\\\\Content\\\\Metadata\\\\StructureMetadata, Sulu\\\\Component\\\\Content\\\\Metadata\\\\StructureMetadata\\|null given\\.$#" - count: 1 - path: Twig/ArticleViewDocumentTwigExtension.php - - - - message: "#^Parameter \\#1 \\$request of method Sulu\\\\Bundle\\\\ArticleBundle\\\\Twig\\\\ArticleViewDocumentTwigExtension\\:\\:getWebspaceKey\\(\\) expects Symfony\\\\Component\\\\HttpFoundation\\\\Request, Symfony\\\\Component\\\\HttpFoundation\\\\Request\\|null given\\.$#" - count: 1 - path: Twig/ArticleViewDocumentTwigExtension.php