diff --git a/.env b/.env index 05b1d228fb6..812aa4ce5ab 100644 --- a/.env +++ b/.env @@ -21,7 +21,7 @@ MAILER_URL=null://localhost # For an SQLite database, use: "sqlite:///%kernel.project_dir%/var/data.db" # For a PostgreSQL database, use: "postgresql://db_user:db_password@127.0.0.1:5432/db_name?serverVersion=11&charset=utf8" # IMPORTANT: You MUST configure your server version, either here or in config/packages/doctrine.yaml -DATABASE_URL=mysql://db_user:db_password@127.0.0.1:3306/su_develop_sulu?serverVersion=5.7 +DATABASE_URL=mysql://root:ChangeMe@127.0.0.1:3306/su_develop_sulu?serverVersion=5.7 ###< doctrine/doctrine-bundle ### ###> sulu/sulu-bundle ### diff --git a/.eslintrc.json b/.eslintrc.json index 4d94f99c97b..bfc3f8bdfdd 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -143,7 +143,11 @@ "react/no-deprecated": "error", "react/jsx-curly-brace-presence": [ "error", - "never" + { + "props": "never", + "children": "never", + "propElementValues": "always" + } ], "react/jsx-curly-spacing": [ "error", diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon index 020e09d5707..69ecb0755e4 100644 --- a/phpstan-baseline.neon +++ b/phpstan-baseline.neon @@ -31,7 +31,7 @@ parameters: path: src/Sulu/Bundle/ActivityBundle/Infrastructure/Symfony/DependencyInjection/SuluActivityExtension.php - - message: "#^Parameter \\#2 \\$value of method Symfony\\\\Component\\\\DependencyInjection\\\\Container\\:\\:setParameter\\(\\) expects array\\|bool\\|float\\|int\\|string\\|null, mixed given\\.$#" + message: "#^Parameter \\#2 \\$value of method Symfony\\\\Component\\\\DependencyInjection\\\\Container\\:\\:setParameter\\(\\) expects array\\|bool\\|float\\|int\\|string\\|UnitEnum\\|null, mixed given\\.$#" count: 2 path: src/Sulu/Bundle/ActivityBundle/Infrastructure/Symfony/DependencyInjection/SuluActivityExtension.php @@ -4045,6 +4045,16 @@ parameters: count: 1 path: src/Sulu/Bundle/AudienceTargetingBundle/Entity/TargetGroup.php + - + message: "#^Property Sulu\\\\Bundle\\\\AudienceTargetingBundle\\\\Entity\\\\TargetGroup\\:\\:\\$rules \\(Doctrine\\\\Common\\\\Collections\\\\Collection\\\\) does not accept Doctrine\\\\Common\\\\Collections\\\\ArrayCollection\\<\\(int\\|string\\), mixed\\>\\.$#" + count: 1 + path: src/Sulu/Bundle/AudienceTargetingBundle/Entity/TargetGroup.php + + - + message: "#^Property Sulu\\\\Bundle\\\\AudienceTargetingBundle\\\\Entity\\\\TargetGroup\\:\\:\\$webspaces \\(Doctrine\\\\Common\\\\Collections\\\\Collection\\\\) does not accept Doctrine\\\\Common\\\\Collections\\\\ArrayCollection\\<\\(int\\|string\\), mixed\\>\\.$#" + count: 1 + path: src/Sulu/Bundle/AudienceTargetingBundle/Entity/TargetGroup.php + - message: "#^Property Sulu\\\\Bundle\\\\AudienceTargetingBundle\\\\Entity\\\\TargetGroupCondition\\:\\:\\$rule type mapping mismatch\\: database can contain Sulu\\\\Bundle\\\\AudienceTargetingBundle\\\\Entity\\\\TargetGroupRule\\|null but property expects Sulu\\\\Bundle\\\\AudienceTargetingBundle\\\\Entity\\\\TargetGroupRuleInterface\\.$#" count: 1 @@ -4075,6 +4085,11 @@ parameters: count: 1 path: src/Sulu/Bundle/AudienceTargetingBundle/Entity/TargetGroupRule.php + - + message: "#^Property Sulu\\\\Bundle\\\\AudienceTargetingBundle\\\\Entity\\\\TargetGroupRule\\:\\:\\$conditions \\(Doctrine\\\\Common\\\\Collections\\\\Collection\\\\) does not accept Doctrine\\\\Common\\\\Collections\\\\ArrayCollection\\<\\(int\\|string\\), mixed\\>\\.$#" + count: 1 + path: src/Sulu/Bundle/AudienceTargetingBundle/Entity/TargetGroupRule.php + - message: "#^Property Sulu\\\\Bundle\\\\AudienceTargetingBundle\\\\Entity\\\\TargetGroupRule\\:\\:\\$targetGroup type mapping mismatch\\: database can contain Sulu\\\\Bundle\\\\AudienceTargetingBundle\\\\Entity\\\\TargetGroupInterface\\|null but property expects Sulu\\\\Bundle\\\\AudienceTargetingBundle\\\\Entity\\\\TargetGroupInterface\\.$#" count: 1 @@ -6710,6 +6725,21 @@ parameters: count: 1 path: src/Sulu/Bundle/CategoryBundle/DependencyInjection/SuluCategoryExtension.php + - + message: "#^Property Sulu\\\\Bundle\\\\CategoryBundle\\\\Entity\\\\Category\\:\\:\\$children \\(Doctrine\\\\Common\\\\Collections\\\\Collection\\\\) does not accept Doctrine\\\\Common\\\\Collections\\\\ArrayCollection\\<\\(int\\|string\\), mixed\\>\\.$#" + count: 1 + path: src/Sulu/Bundle/CategoryBundle/Entity/Category.php + + - + message: "#^Property Sulu\\\\Bundle\\\\CategoryBundle\\\\Entity\\\\Category\\:\\:\\$meta \\(Doctrine\\\\Common\\\\Collections\\\\Collection\\\\) does not accept Doctrine\\\\Common\\\\Collections\\\\ArrayCollection\\<\\(int\\|string\\), mixed\\>\\.$#" + count: 1 + path: src/Sulu/Bundle/CategoryBundle/Entity/Category.php + + - + message: "#^Property Sulu\\\\Bundle\\\\CategoryBundle\\\\Entity\\\\Category\\:\\:\\$translations \\(Doctrine\\\\Common\\\\Collections\\\\Collection\\\\) does not accept Doctrine\\\\Common\\\\Collections\\\\ArrayCollection\\<\\(int\\|string\\), mixed\\>\\.$#" + count: 1 + path: src/Sulu/Bundle/CategoryBundle/Entity/Category.php + - message: "#^Property Sulu\\\\Bundle\\\\CategoryBundle\\\\Entity\\\\CategoryMeta\\:\\:\\$locale type mapping mismatch\\: database can contain string\\|null but property expects string\\.$#" count: 1 @@ -6865,11 +6895,21 @@ parameters: count: 1 path: src/Sulu/Bundle/CategoryBundle/Entity/CategoryTranslation.php + - + message: "#^Parameter \\#1 \\$p of method Doctrine\\\\Common\\\\Collections\\\\Collection\\\\:\\:exists\\(\\) expects Closure\\(mixed, mixed\\)\\: bool, Closure\\(mixed, Sulu\\\\Bundle\\\\CategoryBundle\\\\Entity\\\\KeywordInterface\\)\\: bool given\\.$#" + count: 1 + path: src/Sulu/Bundle/CategoryBundle/Entity/CategoryTranslation.php + - message: "#^Property Sulu\\\\Bundle\\\\CategoryBundle\\\\Entity\\\\CategoryTranslation\\:\\:\\$description type mapping mismatch\\: database can contain string\\|null but property expects string\\.$#" count: 1 path: src/Sulu/Bundle/CategoryBundle/Entity/CategoryTranslation.php + - + message: "#^Property Sulu\\\\Bundle\\\\CategoryBundle\\\\Entity\\\\CategoryTranslation\\:\\:\\$keywords \\(Doctrine\\\\Common\\\\Collections\\\\Collection&iterable\\\\) does not accept Doctrine\\\\Common\\\\Collections\\\\ArrayCollection\\<\\(int\\|string\\), mixed\\>\\.$#" + count: 1 + path: src/Sulu/Bundle/CategoryBundle/Entity/CategoryTranslation.php + - message: "#^Property Sulu\\\\Bundle\\\\CategoryBundle\\\\Entity\\\\CategoryTranslation\\:\\:\\$keywords with generic interface Doctrine\\\\Common\\\\Collections\\\\Collection does not specify its types\\: TKey, T$#" count: 1 @@ -6935,6 +6975,11 @@ parameters: count: 1 path: src/Sulu/Bundle/CategoryBundle/Entity/CategoryTranslationMedia.php + - + message: "#^Property Sulu\\\\Bundle\\\\CategoryBundle\\\\Entity\\\\Keyword\\:\\:\\$categoryTranslations \\(Doctrine\\\\Common\\\\Collections\\\\Collection\\\\) does not accept Doctrine\\\\Common\\\\Collections\\\\ArrayCollection\\<\\(int\\|string\\), mixed\\>\\.$#" + count: 1 + path: src/Sulu/Bundle/CategoryBundle/Entity/Keyword.php + - message: "#^Method Sulu\\\\Bundle\\\\CategoryBundle\\\\Exception\\\\CategoryIdNotFoundException\\:\\:__construct\\(\\) has parameter \\$categoryId with no type specified\\.$#" count: 1 @@ -10165,6 +10210,11 @@ parameters: count: 1 path: src/Sulu/Bundle/ContactBundle/Contact/AbstractContactManager.php + - + message: "#^Parameter \\#1 \\$object of method Doctrine\\\\Persistence\\\\ObjectManager\\:\\:remove\\(\\) expects object, mixed given\\.$#" + count: 1 + path: src/Sulu/Bundle/ContactBundle/Contact/AbstractContactManager.php + - message: "#^Parameter \\#1 \\$phoneType of method Sulu\\\\Bundle\\\\ContactBundle\\\\Entity\\\\Phone\\:\\:setPhoneType\\(\\) expects Sulu\\\\Bundle\\\\ContactBundle\\\\Entity\\\\PhoneType, object given\\.$#" count: 2 @@ -10770,6 +10820,11 @@ parameters: count: 1 path: src/Sulu/Bundle/ContactBundle/Content/Types/AccountSelection.php + - + message: "#^Cannot call method getId\\(\\) on mixed\\.$#" + count: 2 + path: src/Sulu/Bundle/ContactBundle/Content/Types/ContactAccountSelection.php + - message: "#^Method Sulu\\\\Bundle\\\\ContactBundle\\\\Content\\\\Types\\\\ContactAccountSelection\\:\\:__construct\\(\\) has parameter \\$accountManager with generic interface Sulu\\\\Bundle\\\\ContactBundle\\\\Contact\\\\ContactManagerInterface but does not specify its types\\: DoctrineEntity, ApiEntity, AddressRelationEntity$#" count: 1 @@ -10920,6 +10975,11 @@ parameters: count: 1 path: src/Sulu/Bundle/ContactBundle/Controller/AbstractMediaController.php + - + message: "#^Cannot call method getMedias\\(\\) on mixed\\.$#" + count: 1 + path: src/Sulu/Bundle/ContactBundle/Controller/AbstractMediaController.php + - message: "#^In method \"Sulu\\\\Bundle\\\\ContactBundle\\\\Controller\\\\AbstractMediaController\\:\\:addMediaToEntity\", caught \"Exception\" must be rethrown\\. Either catch a more specific exception or add a \"throw\" clause in the \"catch\" block to propagate the exception\\. More info\\: http\\://bit\\.ly/failloud$#" count: 1 @@ -11900,6 +11960,71 @@ parameters: count: 1 path: src/Sulu/Bundle/ContactBundle/DependencyInjection/SuluContactExtension.php + - + message: "#^Property Sulu\\\\Bundle\\\\ContactBundle\\\\Entity\\\\Account\\:\\:\\$accountAddresses \\(Doctrine\\\\Common\\\\Collections\\\\Collection\\\\) does not accept Doctrine\\\\Common\\\\Collections\\\\ArrayCollection\\<\\(int\\|string\\), mixed\\>\\.$#" + count: 1 + path: src/Sulu/Bundle/ContactBundle/Entity/Account.php + + - + message: "#^Property Sulu\\\\Bundle\\\\ContactBundle\\\\Entity\\\\Account\\:\\:\\$accountContacts \\(Doctrine\\\\Common\\\\Collections\\\\Collection\\\\) does not accept Doctrine\\\\Common\\\\Collections\\\\ArrayCollection\\<\\(int\\|string\\), mixed\\>\\.$#" + count: 1 + path: src/Sulu/Bundle/ContactBundle/Entity/Account.php + + - + message: "#^Property Sulu\\\\Bundle\\\\ContactBundle\\\\Entity\\\\Account\\:\\:\\$bankAccounts \\(Doctrine\\\\Common\\\\Collections\\\\Collection\\\\) does not accept Doctrine\\\\Common\\\\Collections\\\\ArrayCollection\\<\\(int\\|string\\), mixed\\>\\.$#" + count: 1 + path: src/Sulu/Bundle/ContactBundle/Entity/Account.php + + - + message: "#^Property Sulu\\\\Bundle\\\\ContactBundle\\\\Entity\\\\Account\\:\\:\\$categories \\(Doctrine\\\\Common\\\\Collections\\\\Collection\\\\) does not accept Doctrine\\\\Common\\\\Collections\\\\ArrayCollection\\<\\(int\\|string\\), mixed\\>\\.$#" + count: 1 + path: src/Sulu/Bundle/ContactBundle/Entity/Account.php + + - + message: "#^Property Sulu\\\\Bundle\\\\ContactBundle\\\\Entity\\\\Account\\:\\:\\$children \\(Doctrine\\\\Common\\\\Collections\\\\Collection\\\\) does not accept Doctrine\\\\Common\\\\Collections\\\\ArrayCollection\\<\\(int\\|string\\), mixed\\>\\.$#" + count: 1 + path: src/Sulu/Bundle/ContactBundle/Entity/Account.php + + - + message: "#^Property Sulu\\\\Bundle\\\\ContactBundle\\\\Entity\\\\Account\\:\\:\\$emails \\(Doctrine\\\\Common\\\\Collections\\\\Collection\\\\) does not accept Doctrine\\\\Common\\\\Collections\\\\ArrayCollection\\<\\(int\\|string\\), mixed\\>\\.$#" + count: 1 + path: src/Sulu/Bundle/ContactBundle/Entity/Account.php + + - + message: "#^Property Sulu\\\\Bundle\\\\ContactBundle\\\\Entity\\\\Account\\:\\:\\$faxes \\(Doctrine\\\\Common\\\\Collections\\\\Collection\\\\) does not accept Doctrine\\\\Common\\\\Collections\\\\ArrayCollection\\<\\(int\\|string\\), mixed\\>\\.$#" + count: 1 + path: src/Sulu/Bundle/ContactBundle/Entity/Account.php + + - + message: "#^Property Sulu\\\\Bundle\\\\ContactBundle\\\\Entity\\\\Account\\:\\:\\$medias \\(Doctrine\\\\Common\\\\Collections\\\\Collection\\\\) does not accept Doctrine\\\\Common\\\\Collections\\\\ArrayCollection\\<\\(int\\|string\\), mixed\\>\\.$#" + count: 1 + path: src/Sulu/Bundle/ContactBundle/Entity/Account.php + + - + message: "#^Property Sulu\\\\Bundle\\\\ContactBundle\\\\Entity\\\\Account\\:\\:\\$notes \\(Doctrine\\\\Common\\\\Collections\\\\Collection\\\\) does not accept Doctrine\\\\Common\\\\Collections\\\\ArrayCollection\\<\\(int\\|string\\), mixed\\>\\.$#" + count: 1 + path: src/Sulu/Bundle/ContactBundle/Entity/Account.php + + - + message: "#^Property Sulu\\\\Bundle\\\\ContactBundle\\\\Entity\\\\Account\\:\\:\\$phones \\(Doctrine\\\\Common\\\\Collections\\\\Collection\\\\) does not accept Doctrine\\\\Common\\\\Collections\\\\ArrayCollection\\<\\(int\\|string\\), mixed\\>\\.$#" + count: 1 + path: src/Sulu/Bundle/ContactBundle/Entity/Account.php + + - + message: "#^Property Sulu\\\\Bundle\\\\ContactBundle\\\\Entity\\\\Account\\:\\:\\$socialMediaProfiles \\(Doctrine\\\\Common\\\\Collections\\\\Collection\\\\) does not accept Doctrine\\\\Common\\\\Collections\\\\ArrayCollection\\<\\(int\\|string\\), mixed\\>\\.$#" + count: 1 + path: src/Sulu/Bundle/ContactBundle/Entity/Account.php + + - + message: "#^Property Sulu\\\\Bundle\\\\ContactBundle\\\\Entity\\\\Account\\:\\:\\$tags \\(Doctrine\\\\Common\\\\Collections\\\\Collection\\\\) does not accept Doctrine\\\\Common\\\\Collections\\\\ArrayCollection\\<\\(int\\|string\\), mixed\\>\\.$#" + count: 2 + path: src/Sulu/Bundle/ContactBundle/Entity/Account.php + + - + message: "#^Property Sulu\\\\Bundle\\\\ContactBundle\\\\Entity\\\\Account\\:\\:\\$urls \\(Doctrine\\\\Common\\\\Collections\\\\Collection\\\\) does not accept Doctrine\\\\Common\\\\Collections\\\\ArrayCollection\\<\\(int\\|string\\), mixed\\>\\.$#" + count: 1 + path: src/Sulu/Bundle/ContactBundle/Entity/Account.php + - message: "#^Method Sulu\\\\Bundle\\\\ContactBundle\\\\Entity\\\\AccountContactRepository\\:\\:findByForeignIds\\(\\) has no return type specified\\.$#" count: 1 @@ -12155,11 +12280,21 @@ parameters: count: 1 path: src/Sulu/Bundle/ContactBundle/Entity/Address.php + - + message: "#^Property Sulu\\\\Bundle\\\\ContactBundle\\\\Entity\\\\Address\\:\\:\\$accountAddresses \\(Doctrine\\\\Common\\\\Collections\\\\Collection\\\\) does not accept Doctrine\\\\Common\\\\Collections\\\\ArrayCollection\\<\\(int\\|string\\), mixed\\>\\.$#" + count: 1 + path: src/Sulu/Bundle/ContactBundle/Entity/Address.php + - message: "#^Property Sulu\\\\Bundle\\\\ContactBundle\\\\Entity\\\\Address\\:\\:\\$billingAddress type mapping mismatch\\: database can contain bool\\|null but property expects bool\\.$#" count: 1 path: src/Sulu/Bundle/ContactBundle/Entity/Address.php + - + message: "#^Property Sulu\\\\Bundle\\\\ContactBundle\\\\Entity\\\\Address\\:\\:\\$contactAddresses \\(Doctrine\\\\Common\\\\Collections\\\\Collection\\\\) does not accept Doctrine\\\\Common\\\\Collections\\\\ArrayCollection\\<\\(int\\|string\\), mixed\\>\\.$#" + count: 1 + path: src/Sulu/Bundle/ContactBundle/Entity/Address.php + - message: "#^Property Sulu\\\\Bundle\\\\ContactBundle\\\\Entity\\\\Address\\:\\:\\$deliveryAddress type mapping mismatch\\: database can contain bool\\|null but property expects bool\\.$#" count: 1 @@ -12205,6 +12340,11 @@ parameters: count: 1 path: src/Sulu/Bundle/ContactBundle/Entity/AddressType.php + - + message: "#^Property Sulu\\\\Bundle\\\\ContactBundle\\\\Entity\\\\AddressType\\:\\:\\$addresses \\(Doctrine\\\\Common\\\\Collections\\\\Collection\\\\) does not accept Doctrine\\\\Common\\\\Collections\\\\ArrayCollection\\<\\(int\\|string\\), mixed\\>\\.$#" + count: 1 + path: src/Sulu/Bundle/ContactBundle/Entity/AddressType.php + - message: "#^Method Sulu\\\\Bundle\\\\ContactBundle\\\\Entity\\\\BankAccount\\:\\:removeAccount\\(\\) has no return type specified\\.$#" count: 1 @@ -12215,16 +12355,61 @@ parameters: count: 1 path: src/Sulu/Bundle/ContactBundle/Entity/BankAccount.php + - + message: "#^Property Sulu\\\\Bundle\\\\ContactBundle\\\\Entity\\\\BankAccount\\:\\:\\$accounts \\(Doctrine\\\\Common\\\\Collections\\\\Collection\\\\) does not accept Doctrine\\\\Common\\\\Collections\\\\ArrayCollection\\<\\(int\\|string\\), mixed\\>\\.$#" + count: 1 + path: src/Sulu/Bundle/ContactBundle/Entity/BankAccount.php + + - + message: "#^Property Sulu\\\\Bundle\\\\ContactBundle\\\\Entity\\\\BankAccount\\:\\:\\$contacts \\(Doctrine\\\\Common\\\\Collections\\\\Collection\\\\) does not accept Doctrine\\\\Common\\\\Collections\\\\ArrayCollection\\<\\(int\\|string\\), mixed\\>\\.$#" + count: 1 + path: src/Sulu/Bundle/ContactBundle/Entity/BankAccount.php + - message: "#^Method Sulu\\\\Bundle\\\\ContactBundle\\\\Entity\\\\Contact\\:\\:getMainAccountContact\\(\\) has no return type specified\\.$#" count: 1 path: src/Sulu/Bundle/ContactBundle/Entity/Contact.php + - + message: "#^Property Sulu\\\\Bundle\\\\ContactBundle\\\\Entity\\\\Contact\\:\\:\\$accountContacts \\(Doctrine\\\\Common\\\\Collections\\\\Collection\\\\) does not accept Doctrine\\\\Common\\\\Collections\\\\ArrayCollection\\<\\(int\\|string\\), mixed\\>\\.$#" + count: 1 + path: src/Sulu/Bundle/ContactBundle/Entity/Contact.php + + - + message: "#^Property Sulu\\\\Bundle\\\\ContactBundle\\\\Entity\\\\Contact\\:\\:\\$categories \\(Doctrine\\\\Common\\\\Collections\\\\Collection\\\\) does not accept Doctrine\\\\Common\\\\Collections\\\\ArrayCollection\\<\\(int\\|string\\), mixed\\>\\.$#" + count: 1 + path: src/Sulu/Bundle/ContactBundle/Entity/Contact.php + + - + message: "#^Property Sulu\\\\Bundle\\\\ContactBundle\\\\Entity\\\\Contact\\:\\:\\$contactAddresses \\(Doctrine\\\\Common\\\\Collections\\\\Collection\\\\) does not accept Doctrine\\\\Common\\\\Collections\\\\ArrayCollection\\<\\(int\\|string\\), mixed\\>\\.$#" + count: 1 + path: src/Sulu/Bundle/ContactBundle/Entity/Contact.php + + - + message: "#^Property Sulu\\\\Bundle\\\\ContactBundle\\\\Entity\\\\Contact\\:\\:\\$emails \\(Doctrine\\\\Common\\\\Collections\\\\Collection\\\\) does not accept Doctrine\\\\Common\\\\Collections\\\\ArrayCollection\\<\\(int\\|string\\), mixed\\>\\.$#" + count: 1 + path: src/Sulu/Bundle/ContactBundle/Entity/Contact.php + + - + message: "#^Property Sulu\\\\Bundle\\\\ContactBundle\\\\Entity\\\\Contact\\:\\:\\$faxes \\(Doctrine\\\\Common\\\\Collections\\\\Collection\\\\) does not accept Doctrine\\\\Common\\\\Collections\\\\ArrayCollection\\<\\(int\\|string\\), mixed\\>\\.$#" + count: 1 + path: src/Sulu/Bundle/ContactBundle/Entity/Contact.php + - message: "#^Property Sulu\\\\Bundle\\\\ContactBundle\\\\Entity\\\\Contact\\:\\:\\$formOfAddress type mapping mismatch\\: database can contain int\\|null but property expects int\\.$#" count: 1 path: src/Sulu/Bundle/ContactBundle/Entity/Contact.php + - + message: "#^Property Sulu\\\\Bundle\\\\ContactBundle\\\\Entity\\\\Contact\\:\\:\\$locales \\(Doctrine\\\\Common\\\\Collections\\\\Collection\\\\) does not accept Doctrine\\\\Common\\\\Collections\\\\ArrayCollection\\<\\(int\\|string\\), mixed\\>\\.$#" + count: 1 + path: src/Sulu/Bundle/ContactBundle/Entity/Contact.php + + - + message: "#^Property Sulu\\\\Bundle\\\\ContactBundle\\\\Entity\\\\Contact\\:\\:\\$medias \\(Doctrine\\\\Common\\\\Collections\\\\Collection\\\\) does not accept Doctrine\\\\Common\\\\Collections\\\\ArrayCollection\\<\\(int\\|string\\), mixed\\>\\.$#" + count: 1 + path: src/Sulu/Bundle/ContactBundle/Entity/Contact.php + - message: "#^Property Sulu\\\\Bundle\\\\ContactBundle\\\\Entity\\\\Contact\\:\\:\\$middleName type mapping mismatch\\: database can contain string\\|null but property expects string\\.$#" count: 1 @@ -12235,6 +12420,26 @@ parameters: count: 1 path: src/Sulu/Bundle/ContactBundle/Entity/Contact.php + - + message: "#^Property Sulu\\\\Bundle\\\\ContactBundle\\\\Entity\\\\Contact\\:\\:\\$notes \\(Doctrine\\\\Common\\\\Collections\\\\Collection\\\\) does not accept Doctrine\\\\Common\\\\Collections\\\\ArrayCollection\\<\\(int\\|string\\), mixed\\>\\.$#" + count: 1 + path: src/Sulu/Bundle/ContactBundle/Entity/Contact.php + + - + message: "#^Property Sulu\\\\Bundle\\\\ContactBundle\\\\Entity\\\\Contact\\:\\:\\$phones \\(Doctrine\\\\Common\\\\Collections\\\\Collection\\\\) does not accept Doctrine\\\\Common\\\\Collections\\\\ArrayCollection\\<\\(int\\|string\\), mixed\\>\\.$#" + count: 1 + path: src/Sulu/Bundle/ContactBundle/Entity/Contact.php + + - + message: "#^Property Sulu\\\\Bundle\\\\ContactBundle\\\\Entity\\\\Contact\\:\\:\\$socialMediaProfiles \\(Doctrine\\\\Common\\\\Collections\\\\Collection\\\\) does not accept Doctrine\\\\Common\\\\Collections\\\\ArrayCollection\\<\\(int\\|string\\), mixed\\>\\.$#" + count: 1 + path: src/Sulu/Bundle/ContactBundle/Entity/Contact.php + + - + message: "#^Property Sulu\\\\Bundle\\\\ContactBundle\\\\Entity\\\\Contact\\:\\:\\$tags \\(Doctrine\\\\Common\\\\Collections\\\\Collection\\\\) does not accept Doctrine\\\\Common\\\\Collections\\\\ArrayCollection\\<\\(int\\|string\\), mixed\\>\\.$#" + count: 1 + path: src/Sulu/Bundle/ContactBundle/Entity/Contact.php + - message: "#^Property Sulu\\\\Bundle\\\\ContactBundle\\\\Entity\\\\Contact\\:\\:\\$title \\(Sulu\\\\Bundle\\\\ContactBundle\\\\Entity\\\\ContactTitle\\) does not accept object\\.$#" count: 1 @@ -12245,6 +12450,11 @@ parameters: count: 1 path: src/Sulu/Bundle/ContactBundle/Entity/Contact.php + - + message: "#^Property Sulu\\\\Bundle\\\\ContactBundle\\\\Entity\\\\Contact\\:\\:\\$urls \\(Doctrine\\\\Common\\\\Collections\\\\Collection\\\\) does not accept Doctrine\\\\Common\\\\Collections\\\\ArrayCollection\\<\\(int\\|string\\), mixed\\>\\.$#" + count: 1 + path: src/Sulu/Bundle/ContactBundle/Entity/Contact.php + - message: "#^Cannot access offset 'id' on mixed\\.$#" count: 1 @@ -12480,6 +12690,16 @@ parameters: count: 1 path: src/Sulu/Bundle/ContactBundle/Entity/Email.php + - + message: "#^Property Sulu\\\\Bundle\\\\ContactBundle\\\\Entity\\\\Email\\:\\:\\$accounts \\(Doctrine\\\\Common\\\\Collections\\\\Collection\\\\) does not accept Doctrine\\\\Common\\\\Collections\\\\ArrayCollection\\<\\(int\\|string\\), mixed\\>\\.$#" + count: 1 + path: src/Sulu/Bundle/ContactBundle/Entity/Email.php + + - + message: "#^Property Sulu\\\\Bundle\\\\ContactBundle\\\\Entity\\\\Email\\:\\:\\$contacts \\(Doctrine\\\\Common\\\\Collections\\\\Collection\\\\) does not accept Doctrine\\\\Common\\\\Collections\\\\ArrayCollection\\<\\(int\\|string\\), mixed\\>\\.$#" + count: 1 + path: src/Sulu/Bundle/ContactBundle/Entity/Email.php + - message: "#^Method Sulu\\\\Bundle\\\\ContactBundle\\\\Entity\\\\EmailType\\:\\:getEmails\\(\\) return type with generic interface Doctrine\\\\Common\\\\Collections\\\\Collection does not specify its types\\: TKey, T$#" count: 1 @@ -12515,6 +12735,16 @@ parameters: count: 1 path: src/Sulu/Bundle/ContactBundle/Entity/Fax.php + - + message: "#^Property Sulu\\\\Bundle\\\\ContactBundle\\\\Entity\\\\Fax\\:\\:\\$accounts \\(Doctrine\\\\Common\\\\Collections\\\\Collection\\\\) does not accept Doctrine\\\\Common\\\\Collections\\\\ArrayCollection\\<\\(int\\|string\\), mixed\\>\\.$#" + count: 1 + path: src/Sulu/Bundle/ContactBundle/Entity/Fax.php + + - + message: "#^Property Sulu\\\\Bundle\\\\ContactBundle\\\\Entity\\\\Fax\\:\\:\\$contacts \\(Doctrine\\\\Common\\\\Collections\\\\Collection\\\\) does not accept Doctrine\\\\Common\\\\Collections\\\\ArrayCollection\\<\\(int\\|string\\), mixed\\>\\.$#" + count: 1 + path: src/Sulu/Bundle/ContactBundle/Entity/Fax.php + - message: "#^Method Sulu\\\\Bundle\\\\ContactBundle\\\\Entity\\\\FaxType\\:\\:getFaxes\\(\\) return type with generic interface Doctrine\\\\Common\\\\Collections\\\\Collection does not specify its types\\: TKey, T$#" count: 1 @@ -12555,6 +12785,16 @@ parameters: count: 1 path: src/Sulu/Bundle/ContactBundle/Entity/Note.php + - + message: "#^Property Sulu\\\\Bundle\\\\ContactBundle\\\\Entity\\\\Note\\:\\:\\$accounts \\(Doctrine\\\\Common\\\\Collections\\\\Collection\\\\) does not accept Doctrine\\\\Common\\\\Collections\\\\ArrayCollection\\<\\(int\\|string\\), mixed\\>\\.$#" + count: 1 + path: src/Sulu/Bundle/ContactBundle/Entity/Note.php + + - + message: "#^Property Sulu\\\\Bundle\\\\ContactBundle\\\\Entity\\\\Note\\:\\:\\$contacts \\(Doctrine\\\\Common\\\\Collections\\\\Collection\\\\) does not accept Doctrine\\\\Common\\\\Collections\\\\ArrayCollection\\<\\(int\\|string\\), mixed\\>\\.$#" + count: 1 + path: src/Sulu/Bundle/ContactBundle/Entity/Note.php + - message: "#^Method Sulu\\\\Bundle\\\\ContactBundle\\\\Entity\\\\Phone\\:\\:removeAccount\\(\\) has no return type specified\\.$#" count: 1 @@ -12565,6 +12805,16 @@ parameters: count: 1 path: src/Sulu/Bundle/ContactBundle/Entity/Phone.php + - + message: "#^Property Sulu\\\\Bundle\\\\ContactBundle\\\\Entity\\\\Phone\\:\\:\\$accounts \\(Doctrine\\\\Common\\\\Collections\\\\Collection\\\\) does not accept Doctrine\\\\Common\\\\Collections\\\\ArrayCollection\\<\\(int\\|string\\), mixed\\>\\.$#" + count: 1 + path: src/Sulu/Bundle/ContactBundle/Entity/Phone.php + + - + message: "#^Property Sulu\\\\Bundle\\\\ContactBundle\\\\Entity\\\\Phone\\:\\:\\$contacts \\(Doctrine\\\\Common\\\\Collections\\\\Collection\\\\) does not accept Doctrine\\\\Common\\\\Collections\\\\ArrayCollection\\<\\(int\\|string\\), mixed\\>\\.$#" + count: 1 + path: src/Sulu/Bundle/ContactBundle/Entity/Phone.php + - message: "#^Method Sulu\\\\Bundle\\\\ContactBundle\\\\Entity\\\\PhoneType\\:\\:getPhones\\(\\) return type with generic interface Doctrine\\\\Common\\\\Collections\\\\Collection does not specify its types\\: TKey, T$#" count: 1 @@ -12600,6 +12850,16 @@ parameters: count: 1 path: src/Sulu/Bundle/ContactBundle/Entity/SocialMediaProfile.php + - + message: "#^Property Sulu\\\\Bundle\\\\ContactBundle\\\\Entity\\\\SocialMediaProfile\\:\\:\\$accounts \\(Doctrine\\\\Common\\\\Collections\\\\Collection\\\\) does not accept Doctrine\\\\Common\\\\Collections\\\\ArrayCollection\\<\\(int\\|string\\), mixed\\>\\.$#" + count: 1 + path: src/Sulu/Bundle/ContactBundle/Entity/SocialMediaProfile.php + + - + message: "#^Property Sulu\\\\Bundle\\\\ContactBundle\\\\Entity\\\\SocialMediaProfile\\:\\:\\$contacts \\(Doctrine\\\\Common\\\\Collections\\\\Collection\\\\) does not accept Doctrine\\\\Common\\\\Collections\\\\ArrayCollection\\<\\(int\\|string\\), mixed\\>\\.$#" + count: 1 + path: src/Sulu/Bundle/ContactBundle/Entity/SocialMediaProfile.php + - message: "#^Method Sulu\\\\Bundle\\\\ContactBundle\\\\Entity\\\\SocialMediaProfileType\\:\\:getSocialMediaProfiles\\(\\) return type with generic interface Doctrine\\\\Common\\\\Collections\\\\Collection does not specify its types\\: TKey, T$#" count: 1 @@ -12615,6 +12875,11 @@ parameters: count: 1 path: src/Sulu/Bundle/ContactBundle/Entity/SocialMediaProfileType.php + - + message: "#^Property Sulu\\\\Bundle\\\\ContactBundle\\\\Entity\\\\SocialMediaProfileType\\:\\:\\$socialMediaProfiles \\(Doctrine\\\\Common\\\\Collections\\\\Collection&iterable\\\\) does not accept Doctrine\\\\Common\\\\Collections\\\\ArrayCollection\\<\\(int\\|string\\), mixed\\>\\.$#" + count: 1 + path: src/Sulu/Bundle/ContactBundle/Entity/SocialMediaProfileType.php + - message: "#^Property Sulu\\\\Bundle\\\\ContactBundle\\\\Entity\\\\SocialMediaProfileType\\:\\:\\$socialMediaProfiles with generic interface Doctrine\\\\Common\\\\Collections\\\\Collection does not specify its types\\: TKey, T$#" count: 1 @@ -12630,6 +12895,16 @@ parameters: count: 1 path: src/Sulu/Bundle/ContactBundle/Entity/Url.php + - + message: "#^Property Sulu\\\\Bundle\\\\ContactBundle\\\\Entity\\\\Url\\:\\:\\$accounts \\(Doctrine\\\\Common\\\\Collections\\\\Collection\\\\) does not accept Doctrine\\\\Common\\\\Collections\\\\ArrayCollection\\<\\(int\\|string\\), mixed\\>\\.$#" + count: 1 + path: src/Sulu/Bundle/ContactBundle/Entity/Url.php + + - + message: "#^Property Sulu\\\\Bundle\\\\ContactBundle\\\\Entity\\\\Url\\:\\:\\$contacts \\(Doctrine\\\\Common\\\\Collections\\\\Collection\\\\) does not accept Doctrine\\\\Common\\\\Collections\\\\ArrayCollection\\<\\(int\\|string\\), mixed\\>\\.$#" + count: 1 + path: src/Sulu/Bundle/ContactBundle/Entity/Url.php + - message: "#^Method Sulu\\\\Bundle\\\\ContactBundle\\\\Entity\\\\UrlType\\:\\:getUrls\\(\\) return type with generic interface Doctrine\\\\Common\\\\Collections\\\\Collection does not specify its types\\: TKey, T$#" count: 1 @@ -14752,7 +15027,7 @@ parameters: - message: "#^Cannot call method shouldNotBeCalled\\(\\) on mixed\\.$#" - count: 1 + count: 7 path: src/Sulu/Bundle/ContactBundle/Tests/Unit/ContactAccountSelectionTest.php - @@ -16685,6 +16960,11 @@ parameters: count: 1 path: src/Sulu/Bundle/DocumentManagerBundle/Bridge/DocumentInspector.php + - + message: "#^Cannot call method getName\\(\\) on mixed\\.$#" + count: 1 + path: src/Sulu/Bundle/DocumentManagerBundle/Bridge/DocumentInspector.php + - message: "#^Cannot call method getPropertyByTagName\\(\\) on Sulu\\\\Component\\\\Content\\\\Metadata\\\\StructureMetadata\\|null\\.$#" count: 1 @@ -16780,11 +17060,6 @@ parameters: count: 1 path: src/Sulu/Bundle/DocumentManagerBundle/Bridge/Serializer/Handler/ChildrenCollectionHandler.php - - - message: "#^Method Sulu\\\\Bundle\\\\DocumentManagerBundle\\\\Bridge\\\\Serializer\\\\Handler\\\\ChildrenCollectionHandler\\:\\:doSerialize\\(\\) has parameter \\$childrenCollection with no value type specified in iterable type Sulu\\\\Component\\\\DocumentManager\\\\Collection\\\\ChildrenCollection\\.$#" - count: 1 - path: src/Sulu/Bundle/DocumentManagerBundle/Bridge/Serializer/Handler/ChildrenCollectionHandler.php - - message: "#^Method Sulu\\\\Bundle\\\\DocumentManagerBundle\\\\Bridge\\\\Serializer\\\\Handler\\\\ChildrenCollectionHandler\\:\\:doSerialize\\(\\) has parameter \\$type with no value type specified in iterable type array\\.$#" count: 1 @@ -17185,11 +17460,6 @@ parameters: count: 1 path: src/Sulu/Bundle/DocumentManagerBundle/Session/Session.php - - - message: "#^Method Sulu\\\\Bundle\\\\DocumentManagerBundle\\\\Session\\\\Session\\:\\:getNodes\\(\\) return type has no value type specified in iterable type Iterator\\.$#" - count: 1 - path: src/Sulu/Bundle/DocumentManagerBundle/Session/Session.php - - message: "#^Method Sulu\\\\Bundle\\\\DocumentManagerBundle\\\\Session\\\\Session\\:\\:getNodesByIdentifier\\(\\) has parameter \\$ids with no value type specified in iterable type Traversable\\.$#" count: 1 @@ -17205,11 +17475,6 @@ parameters: count: 1 path: src/Sulu/Bundle/DocumentManagerBundle/Session/Session.php - - - message: "#^Method Sulu\\\\Bundle\\\\DocumentManagerBundle\\\\Session\\\\Session\\:\\:getNodesByIdentifier\\(\\) return type has no value type specified in iterable type Iterator\\.$#" - count: 1 - path: src/Sulu/Bundle/DocumentManagerBundle/Session/Session.php - - message: "#^Method Sulu\\\\Bundle\\\\DocumentManagerBundle\\\\Session\\\\Session\\:\\:getProperties\\(\\) has parameter \\$absPaths with no value type specified in iterable type Traversable\\.$#" count: 1 @@ -17225,11 +17490,6 @@ parameters: count: 1 path: src/Sulu/Bundle/DocumentManagerBundle/Session/Session.php - - - message: "#^Method Sulu\\\\Bundle\\\\DocumentManagerBundle\\\\Session\\\\Session\\:\\:getProperties\\(\\) return type has no value type specified in iterable type Iterator\\.$#" - count: 1 - path: src/Sulu/Bundle/DocumentManagerBundle/Session/Session.php - - message: "#^Method Sulu\\\\Bundle\\\\DocumentManagerBundle\\\\Session\\\\Session\\:\\:getProperty\\(\\) return type has no value type specified in iterable type PHPCR\\\\PropertyInterface\\.$#" count: 1 @@ -17415,11 +17675,6 @@ parameters: count: 1 path: src/Sulu/Bundle/DocumentManagerBundle/Tests/Functional/Model/FullDocument.php - - - message: "#^Method Sulu\\\\Bundle\\\\DocumentManagerBundle\\\\Tests\\\\Functional\\\\Model\\\\FullDocument\\:\\:getChildren\\(\\) return type has no value type specified in iterable type Sulu\\\\Component\\\\DocumentManager\\\\Collection\\\\ChildrenCollection\\.$#" - count: 1 - path: src/Sulu/Bundle/DocumentManagerBundle/Tests/Functional/Model/FullDocument.php - - message: "#^Method Sulu\\\\Bundle\\\\DocumentManagerBundle\\\\Tests\\\\Functional\\\\Model\\\\FullDocument\\:\\:getCreator\\(\\) has no return type specified\\.$#" count: 1 @@ -19536,7 +19791,7 @@ parameters: path: src/Sulu/Bundle/MarkupBundle/Markup/HtmlMarkupParser.php - - message: "#^Method Sulu\\\\Bundle\\\\MarkupBundle\\\\Markup\\\\HtmlTagExtractor\\:\\:count\\(\\) should return int but returns int\\|false\\.$#" + message: "#^Method Sulu\\\\Bundle\\\\MarkupBundle\\\\Markup\\\\HtmlTagExtractor\\:\\:count\\(\\) should return int but returns int\\<0, max\\>\\|false\\.$#" count: 1 path: src/Sulu/Bundle/MarkupBundle/Markup/HtmlTagExtractor.php @@ -20265,6 +20520,11 @@ parameters: count: 1 path: src/Sulu/Bundle/MediaBundle/Api/Collection.php + - + message: "#^Method Sulu\\\\Bundle\\\\MediaBundle\\\\Api\\\\Collection\\:\\:getMeta\\(\\) should return Sulu\\\\Bundle\\\\MediaBundle\\\\Entity\\\\CollectionMeta but returns mixed\\.$#" + count: 1 + path: src/Sulu/Bundle/MediaBundle/Api/Collection.php + - message: "#^Method Sulu\\\\Bundle\\\\MediaBundle\\\\Api\\\\Collection\\:\\:getPreview\\(\\) return type has no value type specified in iterable type array\\.$#" count: 1 @@ -20995,6 +21255,11 @@ parameters: count: 1 path: src/Sulu/Bundle/MediaBundle/Content/Types/ImageMapContentType.php + - + message: "#^Cannot call method getName\\(\\) on mixed\\.$#" + count: 1 + path: src/Sulu/Bundle/MediaBundle/Content/Types/ImageMapContentType.php + - message: "#^Method Sulu\\\\Bundle\\\\MediaBundle\\\\Content\\\\Types\\\\ImageMapContentType\\:\\:doWrite\\(\\) has no return type specified\\.$#" count: 1 @@ -21861,7 +22126,7 @@ parameters: path: src/Sulu/Bundle/MediaBundle/DependencyInjection/SuluMediaExtension.php - - message: "#^Parameter \\#2 \\$value of method Symfony\\\\Component\\\\DependencyInjection\\\\Container\\:\\:setParameter\\(\\) expects array\\|bool\\|float\\|int\\|string\\|null, mixed given\\.$#" + message: "#^Parameter \\#2 \\$value of method Symfony\\\\Component\\\\DependencyInjection\\\\Container\\:\\:setParameter\\(\\) expects array\\|bool\\|float\\|int\\|string\\|UnitEnum\\|null, mixed given\\.$#" count: 2 path: src/Sulu/Bundle/MediaBundle/DependencyInjection/SuluMediaExtension.php @@ -21870,6 +22135,11 @@ parameters: count: 1 path: src/Sulu/Bundle/MediaBundle/Entity/Collection.php + - + message: "#^Property Sulu\\\\Bundle\\\\MediaBundle\\\\Entity\\\\Collection\\:\\:\\$children \\(Doctrine\\\\Common\\\\Collections\\\\Collection\\\\) does not accept Doctrine\\\\Common\\\\Collections\\\\ArrayCollection\\<\\(int\\|string\\), mixed\\>\\.$#" + count: 1 + path: src/Sulu/Bundle/MediaBundle/Entity/Collection.php + - message: "#^Property Sulu\\\\Bundle\\\\MediaBundle\\\\Entity\\\\Collection\\:\\:\\$defaultMeta \\(Sulu\\\\Bundle\\\\MediaBundle\\\\Entity\\\\CollectionMeta\\) does not accept Sulu\\\\Bundle\\\\MediaBundle\\\\Entity\\\\CollectionMeta\\|null\\.$#" count: 1 @@ -21880,6 +22150,16 @@ parameters: count: 1 path: src/Sulu/Bundle/MediaBundle/Entity/Collection.php + - + message: "#^Property Sulu\\\\Bundle\\\\MediaBundle\\\\Entity\\\\Collection\\:\\:\\$media \\(Doctrine\\\\Common\\\\Collections\\\\Collection\\\\) does not accept Doctrine\\\\Common\\\\Collections\\\\ArrayCollection\\<\\(int\\|string\\), mixed\\>\\.$#" + count: 1 + path: src/Sulu/Bundle/MediaBundle/Entity/Collection.php + + - + message: "#^Property Sulu\\\\Bundle\\\\MediaBundle\\\\Entity\\\\Collection\\:\\:\\$meta \\(Doctrine\\\\Common\\\\Collections\\\\Collection\\\\) does not accept Doctrine\\\\Common\\\\Collections\\\\ArrayCollection\\<\\(int\\|string\\), mixed\\>\\.$#" + count: 1 + path: src/Sulu/Bundle/MediaBundle/Entity/Collection.php + - message: "#^Property Sulu\\\\Bundle\\\\MediaBundle\\\\Entity\\\\Collection\\:\\:\\$parent type mapping mismatch\\: property can contain Sulu\\\\Bundle\\\\MediaBundle\\\\Entity\\\\CollectionInterface\\|null but database expects Sulu\\\\Bundle\\\\MediaBundle\\\\Entity\\\\Collection\\|null\\.$#" count: 1 @@ -22050,6 +22330,11 @@ parameters: count: 1 path: src/Sulu/Bundle/MediaBundle/Entity/CollectionRepositoryInterface.php + - + message: "#^Property Sulu\\\\Bundle\\\\MediaBundle\\\\Entity\\\\CollectionType\\:\\:\\$collections \\(Doctrine\\\\Common\\\\Collections\\\\Collection\\\\) does not accept Doctrine\\\\Common\\\\Collections\\\\ArrayCollection\\<\\(int\\|string\\), mixed\\>\\.$#" + count: 1 + path: src/Sulu/Bundle/MediaBundle/Entity/CollectionType.php + - message: "#^Property Sulu\\\\Bundle\\\\MediaBundle\\\\Entity\\\\CollectionType\\:\\:\\$key type mapping mismatch\\: database can contain string\\|null but property expects string\\.$#" count: 1 @@ -22060,6 +22345,11 @@ parameters: count: 1 path: src/Sulu/Bundle/MediaBundle/Entity/File.php + - + message: "#^Property Sulu\\\\Bundle\\\\MediaBundle\\\\Entity\\\\File\\:\\:\\$fileVersions \\(Doctrine\\\\Common\\\\Collections\\\\Collection\\\\) does not accept Doctrine\\\\Common\\\\Collections\\\\ArrayCollection\\<\\(int\\|string\\), mixed\\>\\.$#" + count: 1 + path: src/Sulu/Bundle/MediaBundle/Entity/File.php + - message: "#^If condition is always true\\.$#" count: 1 @@ -22140,6 +22430,16 @@ parameters: count: 1 path: src/Sulu/Bundle/MediaBundle/Entity/FileVersion.php + - + message: "#^Property Sulu\\\\Bundle\\\\MediaBundle\\\\Entity\\\\FileVersion\\:\\:\\$categories \\(Doctrine\\\\Common\\\\Collections\\\\Collection\\\\) does not accept Doctrine\\\\Common\\\\Collections\\\\ArrayCollection\\<\\(int\\|string\\), mixed\\>\\.$#" + count: 1 + path: src/Sulu/Bundle/MediaBundle/Entity/FileVersion.php + + - + message: "#^Property Sulu\\\\Bundle\\\\MediaBundle\\\\Entity\\\\FileVersion\\:\\:\\$contentLanguages \\(Doctrine\\\\Common\\\\Collections\\\\Collection\\\\) does not accept Doctrine\\\\Common\\\\Collections\\\\ArrayCollection\\<\\(int\\|string\\), mixed\\>\\.$#" + count: 1 + path: src/Sulu/Bundle/MediaBundle/Entity/FileVersion.php + - message: "#^Property Sulu\\\\Bundle\\\\MediaBundle\\\\Entity\\\\FileVersion\\:\\:\\$defaultMeta \\(Sulu\\\\Bundle\\\\MediaBundle\\\\Entity\\\\FileVersionMeta\\) does not accept Sulu\\\\Bundle\\\\MediaBundle\\\\Entity\\\\FileVersionMeta\\|null\\.$#" count: 1 @@ -22170,11 +22470,21 @@ parameters: count: 1 path: src/Sulu/Bundle/MediaBundle/Entity/FileVersion.php + - + message: "#^Property Sulu\\\\Bundle\\\\MediaBundle\\\\Entity\\\\FileVersion\\:\\:\\$formatOptions \\(Doctrine\\\\Common\\\\Collections\\\\Collection\\\\) does not accept Doctrine\\\\Common\\\\Collections\\\\ArrayCollection\\<\\(int\\|string\\), mixed\\>\\.$#" + count: 1 + path: src/Sulu/Bundle/MediaBundle/Entity/FileVersion.php + - message: "#^Property Sulu\\\\Bundle\\\\MediaBundle\\\\Entity\\\\FileVersion\\:\\:\\$id \\(int\\) does not accept null\\.$#" count: 1 path: src/Sulu/Bundle/MediaBundle/Entity/FileVersion.php + - + message: "#^Property Sulu\\\\Bundle\\\\MediaBundle\\\\Entity\\\\FileVersion\\:\\:\\$meta \\(Doctrine\\\\Common\\\\Collections\\\\Collection\\\\) does not accept Doctrine\\\\Common\\\\Collections\\\\ArrayCollection\\<\\(int\\|string\\), mixed\\>\\.$#" + count: 1 + path: src/Sulu/Bundle/MediaBundle/Entity/FileVersion.php + - message: "#^Property Sulu\\\\Bundle\\\\MediaBundle\\\\Entity\\\\FileVersion\\:\\:\\$mimeType type mapping mismatch\\: database can contain string\\|null but property expects string\\.$#" count: 1 @@ -22190,6 +22500,11 @@ parameters: count: 1 path: src/Sulu/Bundle/MediaBundle/Entity/FileVersion.php + - + message: "#^Property Sulu\\\\Bundle\\\\MediaBundle\\\\Entity\\\\FileVersion\\:\\:\\$publishLanguages \\(Doctrine\\\\Common\\\\Collections\\\\Collection\\\\) does not accept Doctrine\\\\Common\\\\Collections\\\\ArrayCollection\\<\\(int\\|string\\), mixed\\>\\.$#" + count: 1 + path: src/Sulu/Bundle/MediaBundle/Entity/FileVersion.php + - message: "#^Property Sulu\\\\Bundle\\\\MediaBundle\\\\Entity\\\\FileVersion\\:\\:\\$storageOptions \\(string\\) does not accept string\\|false\\.$#" count: 1 @@ -22200,6 +22515,16 @@ parameters: count: 1 path: src/Sulu/Bundle/MediaBundle/Entity/FileVersion.php + - + message: "#^Property Sulu\\\\Bundle\\\\MediaBundle\\\\Entity\\\\FileVersion\\:\\:\\$tags \\(Doctrine\\\\Common\\\\Collections\\\\Collection\\\\) does not accept Doctrine\\\\Common\\\\Collections\\\\ArrayCollection\\<\\(int\\|string\\), mixed\\>\\.$#" + count: 1 + path: src/Sulu/Bundle/MediaBundle/Entity/FileVersion.php + + - + message: "#^Property Sulu\\\\Bundle\\\\MediaBundle\\\\Entity\\\\FileVersion\\:\\:\\$targetGroups \\(Doctrine\\\\Common\\\\Collections\\\\Collection\\\\) does not accept Doctrine\\\\Common\\\\Collections\\\\ArrayCollection\\<\\(int\\|string\\), mixed\\>\\.$#" + count: 1 + path: src/Sulu/Bundle/MediaBundle/Entity/FileVersion.php + - message: "#^Method Sulu\\\\Bundle\\\\MediaBundle\\\\Entity\\\\FileVersionContentLanguage\\:\\:setId\\(\\) should return int but returns \\$this\\(Sulu\\\\Bundle\\\\MediaBundle\\\\Entity\\\\FileVersionContentLanguage\\)\\.$#" count: 1 @@ -22245,6 +22570,11 @@ parameters: count: 1 path: src/Sulu/Bundle/MediaBundle/Entity/FileVersionPublishLanguage.php + - + message: "#^Property Sulu\\\\Bundle\\\\MediaBundle\\\\Entity\\\\Media\\:\\:\\$files \\(Doctrine\\\\Common\\\\Collections\\\\Collection\\\\) does not accept Doctrine\\\\Common\\\\Collections\\\\ArrayCollection\\<\\(int\\|string\\), mixed\\>\\.$#" + count: 1 + path: src/Sulu/Bundle/MediaBundle/Entity/Media.php + - message: "#^Method Sulu\\\\Bundle\\\\MediaBundle\\\\Entity\\\\MediaDataProviderRepository\\:\\:__construct\\(\\) has parameter \\$collectionEntityName with no type specified\\.$#" count: 1 @@ -22570,6 +22900,11 @@ parameters: count: 1 path: src/Sulu/Bundle/MediaBundle/Entity/MediaRepositoryInterface.php + - + message: "#^Property Sulu\\\\Bundle\\\\MediaBundle\\\\Entity\\\\MediaType\\:\\:\\$media \\(Doctrine\\\\Common\\\\Collections\\\\Collection\\\\) does not accept Doctrine\\\\Common\\\\Collections\\\\ArrayCollection\\<\\(int\\|string\\), mixed\\>\\.$#" + count: 1 + path: src/Sulu/Bundle/MediaBundle/Entity/MediaType.php + - message: "#^Call to an undefined method Doctrine\\\\Persistence\\\\Mapping\\\\ClassMetadata\\\\:\\:mapManyToMany\\(\\)\\.$#" count: 1 @@ -23345,6 +23680,11 @@ parameters: count: 1 path: src/Sulu/Bundle/MediaBundle/Media/ImageConverter/ImagineImageConverter.php + - + message: "#^Cannot call method get\\(\\) on mixed\\.$#" + count: 1 + path: src/Sulu/Bundle/MediaBundle/Media/ImageConverter/MediaImageExtractor.php + - message: "#^Method Sulu\\\\Bundle\\\\MediaBundle\\\\Media\\\\ImageConverter\\\\MediaImageExtractor\\:\\:__construct\\(\\) has parameter \\$ghostScriptPath with no type specified\\.$#" count: 1 @@ -24406,7 +24746,7 @@ parameters: path: src/Sulu/Bundle/MediaBundle/Tests/Functional/Controller/CollectionControllerTest.php - - message: "#^Parameter \\#2 \\$depth of method Sulu\\\\Bundle\\\\MediaBundle\\\\Tests\\\\Functional\\\\Controller\\\\CollectionControllerTest\\:\\:iterateOverSystemCollections\\(\\) expects null, int\\|null given\\.$#" + message: "#^Parameter \\#2 \\$depth of method Sulu\\\\Bundle\\\\MediaBundle\\\\Tests\\\\Functional\\\\Controller\\\\CollectionControllerTest\\:\\:iterateOverSystemCollections\\(\\) expects null, int\\<1, max\\>\\|null given\\.$#" count: 1 path: src/Sulu/Bundle/MediaBundle/Tests/Functional/Controller/CollectionControllerTest.php @@ -26020,11 +26360,6 @@ parameters: count: 2 path: src/Sulu/Bundle/MediaBundle/Tests/Functional/Media/Storage/S3StorageTest.php - - - message: "#^Property Sulu\\\\Bundle\\\\MediaBundle\\\\Tests\\\\Functional\\\\Media\\\\Storage\\\\S3StorageTest\\:\\:\\$class has no type specified\\.$#" - count: 1 - path: src/Sulu/Bundle/MediaBundle/Tests/Functional/Media/Storage/S3StorageTest.php - - message: "#^Method Sulu\\\\Bundle\\\\MediaBundle\\\\Tests\\\\Functional\\\\Mock\\\\S3AdapterMock\\:\\:createDir\\(\\) return type has no value type specified in iterable type array\\.$#" count: 1 @@ -27865,6 +28200,16 @@ parameters: count: 1 path: src/Sulu/Bundle/PageBundle/Admin/PageAdmin.php + - + message: "#^Cannot call method getPath\\(\\) on mixed\\.$#" + count: 1 + path: src/Sulu/Bundle/PageBundle/Build/NodeOrderBuilder.php + + - + message: "#^Cannot call method setProperty\\(\\) on mixed\\.$#" + count: 1 + path: src/Sulu/Bundle/PageBundle/Build/NodeOrderBuilder.php + - message: "#^Method Sulu\\\\Bundle\\\\PageBundle\\\\Build\\\\NodeOrderBuilder\\:\\:getDependencies\\(\\) return type has no value type specified in iterable type array\\.$#" count: 1 @@ -27885,6 +28230,11 @@ parameters: count: 1 path: src/Sulu/Bundle/PageBundle/Build/NodeOrderBuilder.php + - + message: "#^Parameter \\#1 \\$node of method Sulu\\\\Bundle\\\\PageBundle\\\\Build\\\\NodeOrderBuilder\\:\\:traverse\\(\\) expects PHPCR\\\\NodeInterface, mixed given\\.$#" + count: 1 + path: src/Sulu/Bundle/PageBundle/Build/NodeOrderBuilder.php + - message: "#^Method Sulu\\\\Bundle\\\\PageBundle\\\\Command\\\\CleanupHistoryCommand\\:\\:cleanSession\\(\\) has no return type specified\\.$#" count: 1 @@ -27915,6 +28265,11 @@ parameters: count: 1 path: src/Sulu/Bundle/PageBundle/Command/CleanupHistoryCommand.php + - + message: "#^Parameter \\#2 \\$node of method Sulu\\\\Bundle\\\\PageBundle\\\\Command\\\\CleanupHistoryCommand\\:\\:cleanup\\(\\) expects PHPCR\\\\NodeInterface, mixed given\\.$#" + count: 1 + path: src/Sulu/Bundle/PageBundle/Command/CleanupHistoryCommand.php + - message: "#^Call to an undefined method Sulu\\\\Component\\\\Content\\\\Compat\\\\StructureInterface\\:\\:getResourceLocator\\(\\)\\.$#" count: 1 @@ -28035,6 +28390,16 @@ parameters: count: 1 path: src/Sulu/Bundle/PageBundle/Command/ContentTypesDumpCommand.php + - + message: "#^Cannot call method getParent\\(\\) on mixed\\.$#" + count: 1 + path: src/Sulu/Bundle/PageBundle/Command/MaintainResourceLocatorCommand.php + + - + message: "#^Cannot call method getPath\\(\\) on mixed\\.$#" + count: 2 + path: src/Sulu/Bundle/PageBundle/Command/MaintainResourceLocatorCommand.php + - message: "#^Cannot call method getPropertyByTagName\\(\\) on Sulu\\\\Component\\\\Content\\\\Metadata\\\\StructureMetadata\\|null\\.$#" count: 1 @@ -28091,12 +28456,17 @@ parameters: path: src/Sulu/Bundle/PageBundle/Command/MaintainResourceLocatorCommand.php - - message: "#^Method Sulu\\\\Bundle\\\\PageBundle\\\\Command\\\\ValidatePagesCommand\\:\\:configure\\(\\) has no return type specified\\.$#" + message: "#^Parameter \\#1 \\$node of method Sulu\\\\Bundle\\\\PageBundle\\\\Command\\\\MaintainResourceLocatorCommand\\:\\:upgradeNode\\(\\) expects PHPCR\\\\NodeInterface, mixed given\\.$#" count: 1 - path: src/Sulu/Bundle/PageBundle/Command/ValidatePagesCommand.php + path: src/Sulu/Bundle/PageBundle/Command/MaintainResourceLocatorCommand.php - - message: "#^PHPDoc tag @var for variable \\$row has no value type specified in iterable type Jackalope\\\\Query\\\\Row\\.$#" + message: "#^Parameter \\#1 \\$parentNode of method Sulu\\\\Bundle\\\\PageBundle\\\\Command\\\\MaintainResourceLocatorCommand\\:\\:upgradeByParent\\(\\) expects PHPCR\\\\NodeInterface, mixed given\\.$#" + count: 1 + path: src/Sulu/Bundle/PageBundle/Command/MaintainResourceLocatorCommand.php + + - + message: "#^Method Sulu\\\\Bundle\\\\PageBundle\\\\Command\\\\ValidatePagesCommand\\:\\:configure\\(\\) has no return type specified\\.$#" count: 1 path: src/Sulu/Bundle/PageBundle/Command/ValidatePagesCommand.php @@ -28420,6 +28790,16 @@ parameters: count: 1 path: src/Sulu/Bundle/PageBundle/Command/WebspaceCopyCommand.php + - + message: "#^Parameter \\#1 \\$documentSource of method Sulu\\\\Bundle\\\\PageBundle\\\\Command\\\\WebspaceCopyCommand\\:\\:recursiveCopy\\(\\) expects Sulu\\\\Bundle\\\\PageBundle\\\\Document\\\\BasePageDocument, mixed given\\.$#" + count: 1 + path: src/Sulu/Bundle/PageBundle/Command/WebspaceCopyCommand.php + + - + message: "#^Parameter \\#1 \\$documentSource of method Sulu\\\\Bundle\\\\PageBundle\\\\Command\\\\WebspaceCopyCommand\\:\\:recursiveCopyRedirectsAndStructure\\(\\) expects Sulu\\\\Bundle\\\\PageBundle\\\\Document\\\\BasePageDocument, mixed given\\.$#" + count: 1 + path: src/Sulu/Bundle/PageBundle/Command/WebspaceCopyCommand.php + - message: "#^Parameter \\#1 \\$key of function array_key_exists expects int\\|string, float\\|int\\|string given\\.$#" count: 5 @@ -28910,6 +29290,11 @@ parameters: count: 1 path: src/Sulu/Bundle/PageBundle/Content/Types/Email.php + - + message: "#^Cannot call method getIdentifier\\(\\) on mixed\\.$#" + count: 2 + path: src/Sulu/Bundle/PageBundle/Content/Types/PageSelection.php + - message: "#^Method Sulu\\\\Bundle\\\\PageBundle\\\\Content\\\\Types\\\\PageSelection\\:\\:__construct\\(\\) has parameter \\$enabledTwigAttributes with no value type specified in iterable type array\\.$#" count: 1 @@ -29000,6 +29385,16 @@ parameters: count: 1 path: src/Sulu/Bundle/PageBundle/Content/Types/PageSelection.php + - + message: "#^Cannot call method getName\\(\\) on mixed\\.$#" + count: 1 + path: src/Sulu/Bundle/PageBundle/Content/Types/SegmentSelect.php + + - + message: "#^Cannot call method remove\\(\\) on mixed\\.$#" + count: 1 + path: src/Sulu/Bundle/PageBundle/Content/Types/SegmentSelect.php + - message: "#^Method Sulu\\\\Bundle\\\\PageBundle\\\\Content\\\\Types\\\\SegmentSelect\\:\\:findProperties\\(\\) has no return type specified\\.$#" count: 1 @@ -29645,11 +30040,6 @@ parameters: count: 1 path: src/Sulu/Bundle/PageBundle/Document/BasePageDocument.php - - - message: "#^Method Sulu\\\\Bundle\\\\PageBundle\\\\Document\\\\BasePageDocument\\:\\:getChildren\\(\\) return type has no value type specified in iterable type Sulu\\\\Component\\\\DocumentManager\\\\Collection\\\\ChildrenCollection\\.$#" - count: 1 - path: src/Sulu/Bundle/PageBundle/Document/BasePageDocument.php - - message: "#^Method Sulu\\\\Bundle\\\\PageBundle\\\\Document\\\\BasePageDocument\\:\\:getExtensionsData\\(\\) return type has no value type specified in iterable type array\\.$#" count: 1 @@ -29805,21 +30195,11 @@ parameters: count: 1 path: src/Sulu/Bundle/PageBundle/Document/BasePageDocument.php - - - message: "#^Property Sulu\\\\Bundle\\\\PageBundle\\\\Document\\\\BasePageDocument\\:\\:\\$children type has no value type specified in iterable type Sulu\\\\Component\\\\DocumentManager\\\\Collection\\\\ChildrenCollection\\.$#" - count: 1 - path: src/Sulu/Bundle/PageBundle/Document/BasePageDocument.php - - message: "#^Property Sulu\\\\Bundle\\\\PageBundle\\\\Document\\\\BasePageDocument\\:\\:\\$extensions \\(Sulu\\\\Component\\\\Content\\\\Document\\\\Extension\\\\ExtensionContainer\\) does not accept array\\.$#" count: 1 path: src/Sulu/Bundle/PageBundle/Document/BasePageDocument.php - - - message: "#^Property Sulu\\\\Bundle\\\\PageBundle\\\\Document\\\\BasePageDocument\\:\\:\\$extensions type has no value type specified in iterable type Sulu\\\\Component\\\\Content\\\\Document\\\\Extension\\\\ExtensionContainer\\.$#" - count: 1 - path: src/Sulu/Bundle/PageBundle/Document/BasePageDocument.php - - message: "#^Property Sulu\\\\Bundle\\\\PageBundle\\\\Document\\\\BasePageDocument\\:\\:\\$permissions type has no value type specified in iterable type array\\.$#" count: 1 @@ -29855,6 +30235,26 @@ parameters: count: 1 path: src/Sulu/Bundle/PageBundle/Document/RouteDocument.php + - + message: "#^Cannot call method getName\\(\\) on mixed\\.$#" + count: 1 + path: src/Sulu/Bundle/PageBundle/Document/Subscriber/PublishSubscriber.php + + - + message: "#^Cannot call method getValue\\(\\) on mixed\\.$#" + count: 1 + path: src/Sulu/Bundle/PageBundle/Document/Subscriber/PublishSubscriber.php + + - + message: "#^Cannot call method remove\\(\\) on mixed\\.$#" + count: 2 + path: src/Sulu/Bundle/PageBundle/Document/Subscriber/PublishSubscriber.php + + - + message: "#^Cannot call method setProperty\\(\\) on mixed\\.$#" + count: 1 + path: src/Sulu/Bundle/PageBundle/Document/Subscriber/PublishSubscriber.php + - message: "#^Method Sulu\\\\Bundle\\\\PageBundle\\\\Document\\\\Subscriber\\\\PublishSubscriber\\:\\:copyNodeInPublicWorkspace\\(\\) has no return type specified\\.$#" count: 1 @@ -29960,6 +30360,11 @@ parameters: count: 7 path: src/Sulu/Bundle/PageBundle/Document/Subscriber/PublishSubscriber.php + - + message: "#^Parameter \\#1 \\$node of method Sulu\\\\Bundle\\\\PageBundle\\\\Document\\\\Subscriber\\\\PublishSubscriber\\:\\:copyNodeWithChildrenInPublicWorkspace\\(\\) expects PHPCR\\\\NodeInterface, mixed given\\.$#" + count: 1 + path: src/Sulu/Bundle/PageBundle/Document/Subscriber/PublishSubscriber.php + - message: "#^Parameter \\#3 \\$destinationName of method Sulu\\\\Component\\\\DocumentManager\\\\NodeHelperInterface\\:\\:move\\(\\) expects null, string given\\.$#" count: 1 @@ -30490,6 +30895,11 @@ parameters: count: 1 path: src/Sulu/Bundle/PageBundle/Repository/NodeRepository.php + - + message: "#^Method Sulu\\\\Bundle\\\\PageBundle\\\\Repository\\\\NodeRepository\\:\\:getReferences\\(\\) should return array\\ but returns array\\.$#" + count: 1 + path: src/Sulu/Bundle/PageBundle/Repository/NodeRepository.php + - message: "#^Method Sulu\\\\Bundle\\\\PageBundle\\\\Repository\\\\NodeRepository\\:\\:getWebspaceNode\\(\\) has no return type specified\\.$#" count: 1 @@ -30725,6 +31135,21 @@ parameters: count: 1 path: src/Sulu/Bundle/PageBundle/Repository/ResourceLocatorRepositoryInterface.php + - + message: "#^Cannot call method getPath\\(\\) on mixed\\.$#" + count: 2 + path: src/Sulu/Bundle/PageBundle/Resources/phpcr-migrations/Version201504271608.php + + - + message: "#^Cannot call method getValue\\(\\) on mixed\\.$#" + count: 1 + path: src/Sulu/Bundle/PageBundle/Resources/phpcr-migrations/Version201504271608.php + + - + message: "#^Cannot call method setValue\\(\\) on mixed\\.$#" + count: 2 + path: src/Sulu/Bundle/PageBundle/Resources/phpcr-migrations/Version201504271608.php + - message: "#^Method Sulu\\\\Bundle\\\\PageBundle\\\\Version201504271608\\:\\:down\\(\\) has no return type specified\\.$#" count: 1 @@ -30875,6 +31300,11 @@ parameters: count: 1 path: src/Sulu/Bundle/PageBundle/Resources/phpcr-migrations/Version201507231648.php + - + message: "#^Parameter \\#1 \\$node of method Sulu\\\\Bundle\\\\PageBundle\\\\Version201507231648\\:\\:upgradeNode\\(\\) expects PHPCR\\\\NodeInterface, mixed given\\.$#" + count: 1 + path: src/Sulu/Bundle/PageBundle/Resources/phpcr-migrations/Version201507231648.php + - message: "#^Parameter \\#2 \\$locale of method Sulu\\\\Bundle\\\\PageBundle\\\\Version201507231648\\:\\:getCategories\\(\\) expects string, mixed given\\.$#" count: 1 @@ -31035,6 +31465,11 @@ parameters: count: 1 path: src/Sulu/Bundle/PageBundle/Resources/phpcr-migrations/Version201510210733.php + - + message: "#^Parameter \\#1 \\$node of method Sulu\\\\Bundle\\\\PageBundle\\\\Version201510210733\\:\\:upgradeNode\\(\\) expects PHPCR\\\\NodeInterface, mixed given\\.$#" + count: 1 + path: src/Sulu/Bundle/PageBundle/Resources/phpcr-migrations/Version201510210733.php + - message: "#^Parameter \\#2 \\$structureName of method Sulu\\\\Bundle\\\\PageBundle\\\\Version201510210733\\:\\:findUrlBlockProperties\\(\\) expects string, float\\|int\\|string given\\.$#" count: 1 @@ -31160,6 +31595,11 @@ parameters: count: 1 path: src/Sulu/Bundle/PageBundle/Resources/phpcr-migrations/Version201511171538.php + - + message: "#^Parameter \\#1 \\$node of method Sulu\\\\Bundle\\\\PageBundle\\\\Version201511171538\\:\\:upgradeNode\\(\\) expects PHPCR\\\\NodeInterface, mixed given\\.$#" + count: 1 + path: src/Sulu/Bundle/PageBundle/Resources/phpcr-migrations/Version201511171538.php + - message: "#^Parameter \\#2 \\$structureName of method Sulu\\\\Bundle\\\\PageBundle\\\\Version201511171538\\:\\:findDateBlockProperties\\(\\) expects string, float\\|int\\|string given\\.$#" count: 1 @@ -31305,6 +31745,11 @@ parameters: count: 1 path: src/Sulu/Bundle/PageBundle/Resources/phpcr-migrations/Version201511240843.php + - + message: "#^Parameter \\#1 \\$node of method Sulu\\\\Bundle\\\\PageBundle\\\\Version201511240843\\:\\:upgradeNode\\(\\) expects PHPCR\\\\NodeInterface, mixed given\\.$#" + count: 1 + path: src/Sulu/Bundle/PageBundle/Resources/phpcr-migrations/Version201511240843.php + - message: "#^Parameter \\#2 \\$structureName of method Sulu\\\\Bundle\\\\PageBundle\\\\Version201511240843\\:\\:findDateBlockProperties\\(\\) expects string, float\\|int\\|string given\\.$#" count: 1 @@ -31415,6 +31860,11 @@ parameters: count: 1 path: src/Sulu/Bundle/PageBundle/Resources/phpcr-migrations/Version201511240844.php + - + message: "#^Parameter \\#1 \\$node of method Sulu\\\\Bundle\\\\PageBundle\\\\Version201511240844\\:\\:upgradeNode\\(\\) expects PHPCR\\\\NodeInterface, mixed given\\.$#" + count: 1 + path: src/Sulu/Bundle/PageBundle/Resources/phpcr-migrations/Version201511240844.php + - message: "#^Parameter \\#2 \\$structureName of method Sulu\\\\Bundle\\\\PageBundle\\\\Version201511240844\\:\\:findUrlBlockProperties\\(\\) expects string, float\\|int\\|string given\\.$#" count: 1 @@ -31425,6 +31875,11 @@ parameters: count: 1 path: src/Sulu/Bundle/PageBundle/Resources/phpcr-migrations/Version201511240844.php + - + message: "#^Cannot call method remove\\(\\) on mixed\\.$#" + count: 1 + path: src/Sulu/Bundle/PageBundle/Resources/phpcr-migrations/Version201512090753.php + - message: "#^Method Sulu\\\\Bundle\\\\PageBundle\\\\Version201512090753\\:\\:down\\(\\) has no return type specified\\.$#" count: 1 @@ -31445,6 +31900,16 @@ parameters: count: 1 path: src/Sulu/Bundle/PageBundle/Resources/phpcr-migrations/Version201512090753.php + - + message: "#^Parameter \\#1 \\$node of method Sulu\\\\Bundle\\\\PageBundle\\\\Version201512090753\\:\\:upgradeNode\\(\\) expects PHPCR\\\\NodeInterface, mixed given\\.$#" + count: 1 + path: src/Sulu/Bundle/PageBundle/Resources/phpcr-migrations/Version201512090753.php + + - + message: "#^Cannot call method getProperties\\(\\) on mixed\\.$#" + count: 1 + path: src/Sulu/Bundle/PageBundle/Resources/phpcr-migrations/Version201607181533.php + - message: "#^Method Sulu\\\\Bundle\\\\PageBundle\\\\Version201607181533\\:\\:down\\(\\) has no return type specified\\.$#" count: 1 @@ -31535,11 +32000,6 @@ parameters: count: 1 path: src/Sulu/Bundle/PageBundle/Resources/phpcr-migrations/Version201702021447.php - - - message: "#^PHPDoc tag @var for variable \\$row has no value type specified in iterable type Jackalope\\\\Query\\\\Row\\.$#" - count: 2 - path: src/Sulu/Bundle/PageBundle/Resources/phpcr-migrations/Version201702021447.php - - message: "#^Parameter \\#1 \\$id of method Sulu\\\\Component\\\\Security\\\\Authentication\\\\UserRepositoryInterface\\:\\:findUserById\\(\\) expects int, mixed given\\.$#" count: 1 @@ -31635,6 +32095,16 @@ parameters: count: 1 path: src/Sulu/Bundle/PageBundle/Resources/phpcr-migrations/Version202005250917.php + - + message: "#^Cannot call method getName\\(\\) on mixed\\.$#" + count: 1 + path: src/Sulu/Bundle/PageBundle/Resources/phpcr-migrations/Version202105311447.php + + - + message: "#^Cannot call method getValue\\(\\) on mixed\\.$#" + count: 1 + path: src/Sulu/Bundle/PageBundle/Resources/phpcr-migrations/Version202105311447.php + - message: "#^Cannot access property \\$headers on Symfony\\\\Component\\\\HttpFoundation\\\\Request\\|null\\.$#" count: 1 @@ -31870,11 +32340,6 @@ parameters: count: 1 path: src/Sulu/Bundle/PageBundle/Serializer/Handler/ExtensionContainerHandler.php - - - message: "#^Method Sulu\\\\Bundle\\\\PageBundle\\\\Serializer\\\\Handler\\\\ExtensionContainerHandler\\:\\:doSerialize\\(\\) has parameter \\$container with no value type specified in iterable type Sulu\\\\Component\\\\Content\\\\Document\\\\Extension\\\\ExtensionContainer\\.$#" - count: 1 - path: src/Sulu/Bundle/PageBundle/Serializer/Handler/ExtensionContainerHandler.php - - message: "#^Method Sulu\\\\Bundle\\\\PageBundle\\\\Serializer\\\\Handler\\\\ExtensionContainerHandler\\:\\:doSerialize\\(\\) has parameter \\$type with no value type specified in iterable type array\\.$#" count: 1 @@ -32030,11 +32495,6 @@ parameters: count: 1 path: src/Sulu/Bundle/PageBundle/Serializer/Subscriber/StructureSubscriber.php - - - message: "#^Parameter \\#2 \\$fieldName of class JMS\\\\Serializer\\\\Metadata\\\\StaticPropertyMetadata constructor expects string, int\\|string given\\.$#" - count: 1 - path: src/Sulu/Bundle/PageBundle/Serializer/Subscriber/StructureSubscriber.php - - message: "#^Parameter \\#2 \\$haystack of function in_array expects array, mixed given\\.$#" count: 1 @@ -32060,6 +32520,11 @@ parameters: count: 1 path: src/Sulu/Bundle/PageBundle/Sitemap/PagesSitemapProvider.php + - + message: "#^Parameter \\#4 \\$lastmod of class Sulu\\\\Bundle\\\\WebsiteBundle\\\\Sitemap\\\\SitemapUrl constructor expects DateTime\\|null, mixed given\\.$#" + count: 1 + path: src/Sulu/Bundle/PageBundle/Sitemap/PagesSitemapProvider.php + - message: "#^Method Sulu\\\\Bundle\\\\PageBundle\\\\SuluPageBundle\\:\\:build\\(\\) has no return type specified\\.$#" count: 1 @@ -35420,6 +35885,11 @@ parameters: count: 5 path: src/Sulu/Bundle/PageBundle/Tests/Functional/Repository/ContentRepositoryTest.php + - + message: "#^Cannot call method format\\(\\) on mixed\\.$#" + count: 2 + path: src/Sulu/Bundle/PageBundle/Tests/Functional/Repository/ContentRepositoryTest.php + - message: "#^Method Sulu\\\\Bundle\\\\PageBundle\\\\Tests\\\\Functional\\\\Repository\\\\ContentRepositoryTest\\:\\:createInternalLinkPage\\(\\) has no return type specified\\.$#" count: 1 @@ -35690,6 +36160,11 @@ parameters: count: 1 path: src/Sulu/Bundle/PageBundle/Tests/Functional/Repository/ContentRepositoryTest.php + - + message: "#^Parameter \\#1 \\$datetime of class DateTime constructor expects string, mixed given\\.$#" + count: 2 + path: src/Sulu/Bundle/PageBundle/Tests/Functional/Repository/ContentRepositoryTest.php + - message: "#^Parameter \\#2 \\$propertyEncoder of class Sulu\\\\Component\\\\Content\\\\Repository\\\\ContentRepository constructor expects Sulu\\\\Component\\\\DocumentManager\\\\PropertyEncoder, object\\|null given\\.$#" count: 1 @@ -40345,6 +40820,11 @@ parameters: count: 1 path: src/Sulu/Bundle/RouteBundle/Entity/Route.php + - + message: "#^Property Sulu\\\\Bundle\\\\RouteBundle\\\\Entity\\\\Route\\:\\:\\$histories \\(Doctrine\\\\Common\\\\Collections\\\\Collection\\\\) does not accept Doctrine\\\\Common\\\\Collections\\\\ArrayCollection\\<\\(int\\|string\\), mixed\\>\\.$#" + count: 1 + path: src/Sulu/Bundle/RouteBundle/Entity/Route.php + - message: "#^Property Sulu\\\\Bundle\\\\RouteBundle\\\\Entity\\\\Route\\:\\:\\$locale \\(string\\) does not accept string\\|null\\.$#" count: 1 @@ -42250,11 +42730,6 @@ parameters: count: 1 path: src/Sulu/Bundle/SecurityBundle/Command/InitCommand.php - - - message: "#^Parameter \\#1 \\$system of method Sulu\\\\Component\\\\Security\\\\Authentication\\\\RoleInterface\\:\\:setSystem\\(\\) expects string, int\\|string given\\.$#" - count: 1 - path: src/Sulu/Bundle/SecurityBundle/Command/InitCommand.php - - message: "#^Method Sulu\\\\Bundle\\\\SecurityBundle\\\\Command\\\\SyncPhpcrPermissionsCommand\\:\\:findDocuments\\(\\) should return iterable\\&Sulu\\\\Component\\\\DocumentManager\\\\Collection\\\\QueryResultCollection but returns mixed\\.$#" count: 1 @@ -43075,6 +43550,21 @@ parameters: count: 1 path: src/Sulu/Bundle/SecurityBundle/Entity/AccessControlRepository.php + - + message: "#^Property Sulu\\\\Bundle\\\\SecurityBundle\\\\Entity\\\\Group\\:\\:\\$children \\(Doctrine\\\\Common\\\\Collections\\\\Collection\\\\) does not accept Doctrine\\\\Common\\\\Collections\\\\ArrayCollection\\<\\(int\\|string\\), mixed\\>\\.$#" + count: 1 + path: src/Sulu/Bundle/SecurityBundle/Entity/Group.php + + - + message: "#^Property Sulu\\\\Bundle\\\\SecurityBundle\\\\Entity\\\\Group\\:\\:\\$roles \\(Doctrine\\\\Common\\\\Collections\\\\Collection\\\\) does not accept Doctrine\\\\Common\\\\Collections\\\\ArrayCollection\\<\\(int\\|string\\), mixed\\>\\.$#" + count: 1 + path: src/Sulu/Bundle/SecurityBundle/Entity/Group.php + + - + message: "#^Property Sulu\\\\Bundle\\\\SecurityBundle\\\\Entity\\\\Group\\:\\:\\$userGroups \\(Doctrine\\\\Common\\\\Collections\\\\Collection\\\\) does not accept Doctrine\\\\Common\\\\Collections\\\\ArrayCollection\\<\\(int\\|string\\), mixed\\>\\.$#" + count: 1 + path: src/Sulu/Bundle/SecurityBundle/Entity/Group.php + - message: "#^Method Sulu\\\\Bundle\\\\SecurityBundle\\\\Entity\\\\GroupRepository\\:\\:findAllGroups\\(\\) return type has no value type specified in iterable type array\\.$#" count: 1 @@ -43120,11 +43610,31 @@ parameters: count: 1 path: src/Sulu/Bundle/SecurityBundle/Entity/Permission.php + - + message: "#^Property Sulu\\\\Bundle\\\\SecurityBundle\\\\Entity\\\\Role\\:\\:\\$groups \\(Doctrine\\\\Common\\\\Collections\\\\Collection\\\\) does not accept Doctrine\\\\Common\\\\Collections\\\\ArrayCollection\\<\\(int\\|string\\), mixed\\>\\.$#" + count: 1 + path: src/Sulu/Bundle/SecurityBundle/Entity/Role.php + + - + message: "#^Property Sulu\\\\Bundle\\\\SecurityBundle\\\\Entity\\\\Role\\:\\:\\$permissions \\(Doctrine\\\\Common\\\\Collections\\\\Collection\\\\) does not accept Doctrine\\\\Common\\\\Collections\\\\ArrayCollection\\<\\(int\\|string\\), mixed\\>\\.$#" + count: 1 + path: src/Sulu/Bundle/SecurityBundle/Entity/Role.php + + - + message: "#^Property Sulu\\\\Bundle\\\\SecurityBundle\\\\Entity\\\\Role\\:\\:\\$settings \\(Doctrine\\\\Common\\\\Collections\\\\Collection\\\\) does not accept Doctrine\\\\Common\\\\Collections\\\\ArrayCollection\\<\\(int\\|string\\), mixed\\>\\.$#" + count: 1 + path: src/Sulu/Bundle/SecurityBundle/Entity/Role.php + - message: "#^Property Sulu\\\\Bundle\\\\SecurityBundle\\\\Entity\\\\Role\\:\\:\\$settings type mapping mismatch\\: property can contain Doctrine\\\\Common\\\\Collections\\\\Collection\\ but database expects Doctrine\\\\Common\\\\Collections\\\\Collection&iterable\\\\.$#" count: 1 path: src/Sulu/Bundle/SecurityBundle/Entity/Role.php + - + message: "#^Property Sulu\\\\Bundle\\\\SecurityBundle\\\\Entity\\\\Role\\:\\:\\$userRoles \\(Doctrine\\\\Common\\\\Collections\\\\Collection\\\\) does not accept Doctrine\\\\Common\\\\Collections\\\\ArrayCollection\\<\\(int\\|string\\), mixed\\>\\.$#" + count: 1 + path: src/Sulu/Bundle/SecurityBundle/Entity/Role.php + - message: "#^Cannot access offset 'name' on mixed\\.$#" count: 1 @@ -43225,6 +43735,11 @@ parameters: count: 1 path: src/Sulu/Bundle/SecurityBundle/Entity/RoleSettingRepository.php + - + message: "#^Property Sulu\\\\Bundle\\\\SecurityBundle\\\\Entity\\\\SecurityType\\:\\:\\$roles \\(Doctrine\\\\Common\\\\Collections\\\\Collection\\\\) does not accept Doctrine\\\\Common\\\\Collections\\\\ArrayCollection\\<\\(int\\|string\\), mixed\\>\\.$#" + count: 1 + path: src/Sulu/Bundle/SecurityBundle/Entity/SecurityType.php + - message: "#^Method Sulu\\\\Bundle\\\\SecurityBundle\\\\Entity\\\\SecurityTypeRepository\\:\\:findSecurityTypeById\\(\\) has parameter \\$id with no type specified\\.$#" count: 1 @@ -43250,6 +43765,11 @@ parameters: count: 1 path: src/Sulu/Bundle/SecurityBundle/Entity/User.php + - + message: "#^Cannot call method getRole\\(\\) on mixed\\.$#" + count: 2 + path: src/Sulu/Bundle/SecurityBundle/Entity/User.php + - message: "#^Else branch is unreachable because ternary operator condition is always true\\.$#" count: 1 @@ -43330,16 +43850,31 @@ parameters: count: 1 path: src/Sulu/Bundle/SecurityBundle/Entity/User.php + - + message: "#^Property Sulu\\\\Bundle\\\\SecurityBundle\\\\Entity\\\\User\\:\\:\\$userGroups \\(Doctrine\\\\Common\\\\Collections\\\\Collection&iterable\\\\) does not accept Doctrine\\\\Common\\\\Collections\\\\ArrayCollection\\<\\(int\\|string\\), mixed\\>\\.$#" + count: 1 + path: src/Sulu/Bundle/SecurityBundle/Entity/User.php + - message: "#^Property Sulu\\\\Bundle\\\\SecurityBundle\\\\Entity\\\\User\\:\\:\\$userGroups with generic interface Doctrine\\\\Common\\\\Collections\\\\Collection does not specify its types\\: TKey, T$#" count: 1 path: src/Sulu/Bundle/SecurityBundle/Entity/User.php + - + message: "#^Property Sulu\\\\Bundle\\\\SecurityBundle\\\\Entity\\\\User\\:\\:\\$userRoles \\(Doctrine\\\\Common\\\\Collections\\\\Collection&iterable\\\\) does not accept Doctrine\\\\Common\\\\Collections\\\\ArrayCollection\\<\\(int\\|string\\), mixed\\>\\.$#" + count: 1 + path: src/Sulu/Bundle/SecurityBundle/Entity/User.php + - message: "#^Property Sulu\\\\Bundle\\\\SecurityBundle\\\\Entity\\\\User\\:\\:\\$userRoles with generic interface Doctrine\\\\Common\\\\Collections\\\\Collection does not specify its types\\: TKey, T$#" count: 1 path: src/Sulu/Bundle/SecurityBundle/Entity/User.php + - + message: "#^Property Sulu\\\\Bundle\\\\SecurityBundle\\\\Entity\\\\User\\:\\:\\$userSettings \\(Doctrine\\\\Common\\\\Collections\\\\Collection&iterable\\\\) does not accept Doctrine\\\\Common\\\\Collections\\\\ArrayCollection\\<\\(int\\|string\\), mixed\\>\\.$#" + count: 1 + path: src/Sulu/Bundle/SecurityBundle/Entity/User.php + - message: "#^Property Sulu\\\\Bundle\\\\SecurityBundle\\\\Entity\\\\User\\:\\:\\$userSettings with generic interface Doctrine\\\\Common\\\\Collections\\\\Collection does not specify its types\\: TKey, T$#" count: 1 @@ -46605,11 +47140,6 @@ parameters: count: 1 path: src/Sulu/Bundle/SnippetBundle/Document/SnippetDocument.php - - - message: "#^Property Sulu\\\\Bundle\\\\SnippetBundle\\\\Document\\\\SnippetDocument\\:\\:\\$extensions type has no value type specified in iterable type Sulu\\\\Component\\\\Content\\\\Document\\\\Extension\\\\ExtensionContainer\\.$#" - count: 1 - path: src/Sulu/Bundle/SnippetBundle/Document/SnippetDocument.php - - message: "#^Property Sulu\\\\Bundle\\\\SnippetBundle\\\\Document\\\\SnippetDocument\\:\\:\\$nodeName is never written, only read\\.$#" count: 1 @@ -46765,6 +47295,11 @@ parameters: count: 1 path: src/Sulu/Bundle/SnippetBundle/Snippet/SnippetRepository.php + - + message: "#^Method Sulu\\\\Bundle\\\\SnippetBundle\\\\Snippet\\\\SnippetRepository\\:\\:getReferences\\(\\) should return array\\ but returns array\\.$#" + count: 1 + path: src/Sulu/Bundle/SnippetBundle/Snippet/SnippetRepository.php + - message: "#^Method Sulu\\\\Bundle\\\\SnippetBundle\\\\Snippet\\\\SnippetRepository\\:\\:getSnippets\\(\\) should return array\\ but returns mixed\\.$#" count: 1 @@ -49451,7 +49986,7 @@ parameters: path: src/Sulu/Bundle/TestBundle/Kernel/SuluTestKernel.php - - message: "#^Parameter \\#2 \\$value of method Symfony\\\\Component\\\\DependencyInjection\\\\Container\\:\\:setParameter\\(\\) expects array\\|bool\\|float\\|int\\|string\\|null, mixed given\\.$#" + message: "#^Parameter \\#2 \\$value of method Symfony\\\\Component\\\\DependencyInjection\\\\Container\\:\\:setParameter\\(\\) expects array\\|bool\\|float\\|int\\|string\\|UnitEnum\\|null, mixed given\\.$#" count: 1 path: src/Sulu/Bundle/TestBundle/Kernel/SuluTestKernel.php @@ -50250,6 +50785,21 @@ parameters: count: 1 path: src/Sulu/Bundle/WebsiteBundle/DependencyInjection/SuluWebsiteExtension.php + - + message: "#^Method Sulu\\\\Bundle\\\\WebsiteBundle\\\\Entity\\\\Analytics\\:\\:getDomains\\(\\) should return Doctrine\\\\Common\\\\Collections\\\\Collection\\\\|null but returns Doctrine\\\\Common\\\\Collections\\\\Collection\\\\.$#" + count: 1 + path: src/Sulu/Bundle/WebsiteBundle/Entity/Analytics.php + + - + message: "#^Parameter \\#1 \\$func of method Doctrine\\\\Common\\\\Collections\\\\Collection\\\\:\\:map\\(\\) expects Closure\\(mixed\\)\\: string, Closure\\(Sulu\\\\Bundle\\\\WebsiteBundle\\\\Entity\\\\Domain\\)\\: string given\\.$#" + count: 1 + path: src/Sulu/Bundle/WebsiteBundle/Entity/Analytics.php + + - + message: "#^Property Sulu\\\\Bundle\\\\WebsiteBundle\\\\Entity\\\\Analytics\\:\\:\\$domains \\(Doctrine\\\\Common\\\\Collections\\\\Collection&iterable\\\\) does not accept Doctrine\\\\Common\\\\Collections\\\\ArrayCollection\\<\\(int\\|string\\), mixed\\>\\.$#" + count: 1 + path: src/Sulu/Bundle/WebsiteBundle/Entity/Analytics.php + - message: "#^Property Sulu\\\\Bundle\\\\WebsiteBundle\\\\Entity\\\\Analytics\\:\\:\\$domains with generic interface Doctrine\\\\Common\\\\Collections\\\\Collection does not specify its types\\: TKey, T$#" count: 1 @@ -51380,11 +51930,6 @@ parameters: count: 1 path: src/Sulu/Bundle/WebsiteBundle/Tests/Functional/Analytics/AnalyticsManagerTest.php - - - message: "#^Parameter \\#2 \\$propertyPath of method Symfony\\\\Component\\\\PropertyAccess\\\\PropertyAccessor\\:\\:getValue\\(\\) expects string\\|Symfony\\\\Component\\\\PropertyAccess\\\\PropertyPathInterface, int\\|string given\\.$#" - count: 2 - path: src/Sulu/Bundle/WebsiteBundle/Tests/Functional/Analytics/AnalyticsManagerTest.php - - message: "#^Method Sulu\\\\Bundle\\\\WebsiteBundle\\\\Tests\\\\Functional\\\\BaseFunctional\\:\\:create\\(\\) has parameter \\$data with no value type specified in iterable type array\\.$#" count: 1 @@ -57010,51 +57555,11 @@ parameters: count: 1 path: src/Sulu/Component/Content/Document/Extension/ExtensionContainer.php - - - message: "#^Method Sulu\\\\Component\\\\Content\\\\Document\\\\Extension\\\\ExtensionContainer\\:\\:current\\(\\) has no return type specified\\.$#" - count: 1 - path: src/Sulu/Component/Content/Document/Extension/ExtensionContainer.php - - - - message: "#^Method Sulu\\\\Component\\\\Content\\\\Document\\\\Extension\\\\ExtensionContainer\\:\\:key\\(\\) has no return type specified\\.$#" - count: 1 - path: src/Sulu/Component/Content/Document/Extension/ExtensionContainer.php - - message: "#^Method Sulu\\\\Component\\\\Content\\\\Document\\\\Extension\\\\ExtensionContainer\\:\\:next\\(\\) with return type void returns mixed but should not return anything\\.$#" count: 1 path: src/Sulu/Component/Content/Document/Extension/ExtensionContainer.php - - - message: "#^Method Sulu\\\\Component\\\\Content\\\\Document\\\\Extension\\\\ExtensionContainer\\:\\:offsetExists\\(\\) has parameter \\$offset with no type specified\\.$#" - count: 1 - path: src/Sulu/Component/Content/Document/Extension/ExtensionContainer.php - - - - message: "#^Method Sulu\\\\Component\\\\Content\\\\Document\\\\Extension\\\\ExtensionContainer\\:\\:offsetGet\\(\\) has no return type specified\\.$#" - count: 1 - path: src/Sulu/Component/Content/Document/Extension/ExtensionContainer.php - - - - message: "#^Method Sulu\\\\Component\\\\Content\\\\Document\\\\Extension\\\\ExtensionContainer\\:\\:offsetGet\\(\\) has parameter \\$extensionName with no type specified\\.$#" - count: 1 - path: src/Sulu/Component/Content/Document/Extension/ExtensionContainer.php - - - - message: "#^Method Sulu\\\\Component\\\\Content\\\\Document\\\\Extension\\\\ExtensionContainer\\:\\:offsetSet\\(\\) has parameter \\$data with no type specified\\.$#" - count: 1 - path: src/Sulu/Component/Content/Document/Extension/ExtensionContainer.php - - - - message: "#^Method Sulu\\\\Component\\\\Content\\\\Document\\\\Extension\\\\ExtensionContainer\\:\\:offsetSet\\(\\) has parameter \\$extensionName with no type specified\\.$#" - count: 1 - path: src/Sulu/Component/Content/Document/Extension/ExtensionContainer.php - - - - message: "#^Method Sulu\\\\Component\\\\Content\\\\Document\\\\Extension\\\\ExtensionContainer\\:\\:offsetUnset\\(\\) has parameter \\$extensionName with no type specified\\.$#" - count: 1 - path: src/Sulu/Component/Content/Document/Extension/ExtensionContainer.php - - message: "#^Method Sulu\\\\Component\\\\Content\\\\Document\\\\Extension\\\\ExtensionContainer\\:\\:rewind\\(\\) with return type void returns mixed but should not return anything\\.$#" count: 1 @@ -57081,17 +57586,12 @@ parameters: path: src/Sulu/Component/Content/Document/Extension/ManagedExtensionContainer.php - - message: "#^Method Sulu\\\\Component\\\\Content\\\\Document\\\\Extension\\\\ManagedExtensionContainer\\:\\:offsetExists\\(\\) has parameter \\$extensionName with no type specified\\.$#" - count: 1 - path: src/Sulu/Component/Content/Document/Extension/ManagedExtensionContainer.php - - - - message: "#^Method Sulu\\\\Component\\\\Content\\\\Document\\\\Extension\\\\ManagedExtensionContainer\\:\\:offsetGet\\(\\) has no return type specified\\.$#" + message: "#^Method Sulu\\\\Component\\\\Content\\\\Document\\\\Extension\\\\ManagedExtensionContainer\\:\\:toArray\\(\\) return type has no value type specified in iterable type array\\.$#" count: 1 path: src/Sulu/Component/Content/Document/Extension/ManagedExtensionContainer.php - - message: "#^Method Sulu\\\\Component\\\\Content\\\\Document\\\\Extension\\\\ManagedExtensionContainer\\:\\:toArray\\(\\) return type has no value type specified in iterable type array\\.$#" + message: "#^Parameter \\#2 \\$name of method Sulu\\\\Component\\\\Content\\\\Extension\\\\ExtensionManagerInterface\\:\\:hasExtension\\(\\) expects string, mixed given\\.$#" count: 1 path: src/Sulu/Component/Content/Document/Extension/ManagedExtensionContainer.php @@ -57115,11 +57615,6 @@ parameters: count: 1 path: src/Sulu/Component/Content/Document/Structure/ManagedStructure.php - - - message: "#^Method Sulu\\\\Component\\\\Content\\\\Document\\\\Structure\\\\ManagedStructure\\:\\:offsetExists\\(\\) has parameter \\$offset with no type specified\\.$#" - count: 1 - path: src/Sulu/Component/Content/Document/Structure/ManagedStructure.php - - message: "#^Method Sulu\\\\Component\\\\Content\\\\Document\\\\Structure\\\\ManagedStructure\\:\\:setStructureMetadata\\(\\) has no return type specified\\.$#" count: 1 @@ -57185,36 +57680,6 @@ parameters: count: 1 path: src/Sulu/Component/Content/Document/Structure/PropertyValue.php - - - message: "#^Method Sulu\\\\Component\\\\Content\\\\Document\\\\Structure\\\\PropertyValue\\:\\:offsetExists\\(\\) has parameter \\$offset with no type specified\\.$#" - count: 1 - path: src/Sulu/Component/Content/Document/Structure/PropertyValue.php - - - - message: "#^Method Sulu\\\\Component\\\\Content\\\\Document\\\\Structure\\\\PropertyValue\\:\\:offsetGet\\(\\) has no return type specified\\.$#" - count: 1 - path: src/Sulu/Component/Content/Document/Structure/PropertyValue.php - - - - message: "#^Method Sulu\\\\Component\\\\Content\\\\Document\\\\Structure\\\\PropertyValue\\:\\:offsetGet\\(\\) has parameter \\$offset with no type specified\\.$#" - count: 1 - path: src/Sulu/Component/Content/Document/Structure/PropertyValue.php - - - - message: "#^Method Sulu\\\\Component\\\\Content\\\\Document\\\\Structure\\\\PropertyValue\\:\\:offsetSet\\(\\) has parameter \\$offset with no type specified\\.$#" - count: 1 - path: src/Sulu/Component/Content/Document/Structure/PropertyValue.php - - - - message: "#^Method Sulu\\\\Component\\\\Content\\\\Document\\\\Structure\\\\PropertyValue\\:\\:offsetSet\\(\\) has parameter \\$value with no type specified\\.$#" - count: 1 - path: src/Sulu/Component/Content/Document/Structure/PropertyValue.php - - - - message: "#^Method Sulu\\\\Component\\\\Content\\\\Document\\\\Structure\\\\PropertyValue\\:\\:offsetUnset\\(\\) has parameter \\$offset with no type specified\\.$#" - count: 1 - path: src/Sulu/Component/Content/Document/Structure/PropertyValue.php - - message: "#^Method Sulu\\\\Component\\\\Content\\\\Document\\\\Structure\\\\PropertyValue\\:\\:setName\\(\\) has no return type specified\\.$#" count: 1 @@ -57310,36 +57775,6 @@ parameters: count: 1 path: src/Sulu/Component/Content/Document/Structure/Structure.php - - - message: "#^Method Sulu\\\\Component\\\\Content\\\\Document\\\\Structure\\\\Structure\\:\\:offsetExists\\(\\) has parameter \\$offset with no type specified\\.$#" - count: 1 - path: src/Sulu/Component/Content/Document/Structure/Structure.php - - - - message: "#^Method Sulu\\\\Component\\\\Content\\\\Document\\\\Structure\\\\Structure\\:\\:offsetGet\\(\\) has no return type specified\\.$#" - count: 1 - path: src/Sulu/Component/Content/Document/Structure/Structure.php - - - - message: "#^Method Sulu\\\\Component\\\\Content\\\\Document\\\\Structure\\\\Structure\\:\\:offsetGet\\(\\) has parameter \\$offset with no type specified\\.$#" - count: 1 - path: src/Sulu/Component/Content/Document/Structure/Structure.php - - - - message: "#^Method Sulu\\\\Component\\\\Content\\\\Document\\\\Structure\\\\Structure\\:\\:offsetSet\\(\\) has parameter \\$offset with no type specified\\.$#" - count: 1 - path: src/Sulu/Component/Content/Document/Structure/Structure.php - - - - message: "#^Method Sulu\\\\Component\\\\Content\\\\Document\\\\Structure\\\\Structure\\:\\:offsetSet\\(\\) has parameter \\$value with no type specified\\.$#" - count: 1 - path: src/Sulu/Component/Content/Document/Structure/Structure.php - - - - message: "#^Method Sulu\\\\Component\\\\Content\\\\Document\\\\Structure\\\\Structure\\:\\:offsetUnset\\(\\) has parameter \\$offset with no type specified\\.$#" - count: 1 - path: src/Sulu/Component/Content/Document/Structure/Structure.php - - message: "#^Method Sulu\\\\Component\\\\Content\\\\Document\\\\Structure\\\\Structure\\:\\:setStagedData\\(\\) has no return type specified\\.$#" count: 1 @@ -57355,6 +57790,11 @@ parameters: count: 1 path: src/Sulu/Component/Content/Document/Structure/Structure.php + - + message: "#^Parameter \\#1 \\$name of method Sulu\\\\Component\\\\Content\\\\Document\\\\Structure\\\\Structure\\:\\:getProperty\\(\\) expects string, mixed given\\.$#" + count: 2 + path: src/Sulu/Component/Content/Document/Structure/Structure.php + - message: "#^Property Sulu\\\\Component\\\\Content\\\\Document\\\\Structure\\\\Structure\\:\\:\\$properties type has no value type specified in iterable type array\\.$#" count: 1 @@ -57685,11 +58125,6 @@ parameters: count: 1 path: src/Sulu/Component/Content/Document/Subscriber/PHPCR/SuluNode.php - - - message: "#^Method Sulu\\\\Component\\\\Content\\\\Document\\\\Subscriber\\\\PHPCR\\\\SuluNode\\:\\:getIterator\\(\\) return type has no value type specified in iterable type Traversable\\\\.$#" - count: 1 - path: src/Sulu/Component/Content/Document/Subscriber/PHPCR/SuluNode.php - - message: "#^Method Sulu\\\\Component\\\\Content\\\\Document\\\\Subscriber\\\\PHPCR\\\\SuluNode\\:\\:getIterator\\(\\) should return Traversable\\ but empty return statement found\\.$#" count: 1 @@ -57710,11 +58145,6 @@ parameters: count: 1 path: src/Sulu/Component/Content/Document/Subscriber/PHPCR/SuluNode.php - - - message: "#^Method Sulu\\\\Component\\\\Content\\\\Document\\\\Subscriber\\\\PHPCR\\\\SuluNode\\:\\:getNodeNames\\(\\) return type has no value type specified in iterable type Iterator\\.$#" - count: 1 - path: src/Sulu/Component/Content/Document/Subscriber/PHPCR/SuluNode.php - - message: "#^Method Sulu\\\\Component\\\\Content\\\\Document\\\\Subscriber\\\\PHPCR\\\\SuluNode\\:\\:getNodes\\(\\) has parameter \\$nameFilter with no value type specified in iterable type array\\.$#" count: 1 @@ -57725,11 +58155,6 @@ parameters: count: 1 path: src/Sulu/Component/Content/Document/Subscriber/PHPCR/SuluNode.php - - - message: "#^Method Sulu\\\\Component\\\\Content\\\\Document\\\\Subscriber\\\\PHPCR\\\\SuluNode\\:\\:getNodes\\(\\) return type has no value type specified in iterable type Iterator\\.$#" - count: 1 - path: src/Sulu/Component/Content/Document/Subscriber/PHPCR/SuluNode.php - - message: "#^Method Sulu\\\\Component\\\\Content\\\\Document\\\\Subscriber\\\\PHPCR\\\\SuluNode\\:\\:getParent\\(\\) return type has no value type specified in iterable type PHPCR\\\\NodeInterface\\.$#" count: 1 @@ -57740,11 +58165,6 @@ parameters: count: 1 path: src/Sulu/Component/Content/Document/Subscriber/PHPCR/SuluNode.php - - - message: "#^Method Sulu\\\\Component\\\\Content\\\\Document\\\\Subscriber\\\\PHPCR\\\\SuluNode\\:\\:getProperties\\(\\) return type has no value type specified in iterable type Iterator\\.$#" - count: 1 - path: src/Sulu/Component/Content/Document/Subscriber/PHPCR/SuluNode.php - - message: "#^Method Sulu\\\\Component\\\\Content\\\\Document\\\\Subscriber\\\\PHPCR\\\\SuluNode\\:\\:getPropertiesValues\\(\\) has parameter \\$nameFilter with no value type specified in iterable type array\\.$#" count: 1 @@ -57760,21 +58180,6 @@ parameters: count: 1 path: src/Sulu/Component/Content/Document/Subscriber/PHPCR/SuluNode.php - - - message: "#^Method Sulu\\\\Component\\\\Content\\\\Document\\\\Subscriber\\\\PHPCR\\\\SuluNode\\:\\:getReferences\\(\\) return type has no value type specified in iterable type Iterator\\.$#" - count: 1 - path: src/Sulu/Component/Content/Document/Subscriber/PHPCR/SuluNode.php - - - - message: "#^Method Sulu\\\\Component\\\\Content\\\\Document\\\\Subscriber\\\\PHPCR\\\\SuluNode\\:\\:getSharedSet\\(\\) return type has no value type specified in iterable type Iterator\\.$#" - count: 1 - path: src/Sulu/Component/Content/Document/Subscriber/PHPCR/SuluNode.php - - - - message: "#^Method Sulu\\\\Component\\\\Content\\\\Document\\\\Subscriber\\\\PHPCR\\\\SuluNode\\:\\:getWeakReferences\\(\\) return type has no value type specified in iterable type Iterator\\.$#" - count: 1 - path: src/Sulu/Component/Content/Document/Subscriber/PHPCR/SuluNode.php - - message: "#^Method Sulu\\\\Component\\\\Content\\\\Document\\\\Subscriber\\\\PHPCR\\\\SuluNode\\:\\:orderBefore\\(\\) has no return type specified\\.$#" count: 1 @@ -58050,6 +58455,16 @@ parameters: count: 1 path: src/Sulu/Component/Content/Document/Subscriber/SecuritySubscriber.php + - + message: "#^Cannot call method getName\\(\\) on mixed\\.$#" + count: 1 + path: src/Sulu/Component/Content/Document/Subscriber/SecuritySubscriber.php + + - + message: "#^Cannot call method remove\\(\\) on mixed\\.$#" + count: 1 + path: src/Sulu/Component/Content/Document/Subscriber/SecuritySubscriber.php + - message: "#^Method Sulu\\\\Component\\\\Content\\\\Document\\\\Subscriber\\\\SecuritySubscriber\\:\\:__construct\\(\\) has parameter \\$permissions with no value type specified in iterable type array\\.$#" count: 1 @@ -58125,6 +58540,16 @@ parameters: count: 1 path: src/Sulu/Component/Content/Document/Subscriber/ShadowCopyPropertiesSubscriber.php + - + message: "#^Cannot call method getName\\(\\) on mixed\\.$#" + count: 1 + path: src/Sulu/Component/Content/Document/Subscriber/ShadowCopyPropertiesSubscriber.php + + - + message: "#^Cannot call method getValue\\(\\) on mixed\\.$#" + count: 1 + path: src/Sulu/Component/Content/Document/Subscriber/ShadowCopyPropertiesSubscriber.php + - message: "#^Method Sulu\\\\Component\\\\Content\\\\Document\\\\Subscriber\\\\ShadowCopyPropertiesSubscriber\\:\\:copyFromShadow\\(\\) has no return type specified\\.$#" count: 1 @@ -58330,6 +58755,11 @@ parameters: count: 1 path: src/Sulu/Component/Content/Document/Subscriber/StructureRemoveSubscriber.php + - + message: "#^Cannot call method getParent\\(\\) on mixed\\.$#" + count: 1 + path: src/Sulu/Component/Content/Document/Subscriber/StructureRemoveSubscriber.php + - message: "#^Method Sulu\\\\Component\\\\Content\\\\Document\\\\Subscriber\\\\StructureRemoveSubscriber\\:\\:dereferenceProperty\\(\\) has no return type specified\\.$#" count: 1 @@ -58385,6 +58815,11 @@ parameters: count: 1 path: src/Sulu/Component/Content/Document/Subscriber/StructureRemoveSubscriber.php + - + message: "#^Parameter \\#2 \\$property of method Sulu\\\\Component\\\\Content\\\\Document\\\\Subscriber\\\\StructureRemoveSubscriber\\:\\:dereferenceProperty\\(\\) expects PHPCR\\\\PropertyInterface, mixed given\\.$#" + count: 1 + path: src/Sulu/Component/Content/Document/Subscriber/StructureRemoveSubscriber.php + - message: "#^Call to an undefined method object\\:\\:getStructure\\(\\)\\.$#" count: 4 @@ -58585,6 +59020,11 @@ parameters: count: 1 path: src/Sulu/Component/Content/Document/Subscriber/WebspaceSubscriber.php + - + message: "#^Cannot call method remove\\(\\) on mixed\\.$#" + count: 1 + path: src/Sulu/Component/Content/Document/Subscriber/WebspaceSubscriber.php + - message: "#^Method Sulu\\\\Component\\\\Content\\\\Document\\\\Subscriber\\\\WebspaceSubscriber\\:\\:deleteUnavailableLocales\\(\\) has no return type specified\\.$#" count: 1 @@ -58605,6 +59045,11 @@ parameters: count: 1 path: src/Sulu/Component/Content/Document/Subscriber/WorkflowStageSubscriber.php + - + message: "#^Cannot call method setValue\\(\\) on mixed\\.$#" + count: 2 + path: src/Sulu/Component/Content/Document/Subscriber/WorkflowStageSubscriber.php + - message: "#^Method Sulu\\\\Component\\\\Content\\\\Document\\\\Subscriber\\\\WorkflowStageSubscriber\\:\\:setNodeWorkflowStageToTestForCopy\\(\\) has no return type specified\\.$#" count: 1 @@ -59126,29 +59571,39 @@ parameters: path: src/Sulu/Component/Content/Form/DataTransformer/DocumentToUuidTransformer.php - - message: "#^Method Sulu\\\\Component\\\\Content\\\\Form\\\\DataTransformer\\\\DocumentToUuidTransformer\\:\\:reverseTransform\\(\\) has no return type specified\\.$#" + message: "#^Parameter \\#1 \\$id of static method PHPCR\\\\Util\\\\UUIDHelper\\:\\:isUUID\\(\\) expects string, mixed given\\.$#" count: 1 path: src/Sulu/Component/Content/Form/DataTransformer/DocumentToUuidTransformer.php - - message: "#^Method Sulu\\\\Component\\\\Content\\\\Form\\\\DataTransformer\\\\DocumentToUuidTransformer\\:\\:reverseTransform\\(\\) has parameter \\$uuid with no type specified\\.$#" + message: "#^Parameter \\#1 \\$identifier of method Sulu\\\\Component\\\\DocumentManager\\\\DocumentManagerInterface\\:\\:find\\(\\) expects string, mixed given\\.$#" count: 1 path: src/Sulu/Component/Content/Form/DataTransformer/DocumentToUuidTransformer.php - - message: "#^Method Sulu\\\\Component\\\\Content\\\\Form\\\\DataTransformer\\\\DocumentToUuidTransformer\\:\\:transform\\(\\) has no return type specified\\.$#" - count: 1 + message: "#^Parameter \\#2 \\.\\.\\.\\$values of function sprintf expects bool\\|float\\|int\\|string\\|null, mixed given\\.$#" + count: 2 path: src/Sulu/Component/Content/Form/DataTransformer/DocumentToUuidTransformer.php - - message: "#^Method Sulu\\\\Component\\\\Content\\\\Form\\\\DataTransformer\\\\DocumentToUuidTransformer\\:\\:transform\\(\\) has parameter \\$document with no type specified\\.$#" + message: "#^Strict comparison using \\=\\=\\= between null and object will always evaluate to false\\.$#" count: 1 path: src/Sulu/Component/Content/Form/DataTransformer/DocumentToUuidTransformer.php - - message: "#^Strict comparison using \\=\\=\\= between null and object will always evaluate to false\\.$#" + message: "#^Call to an undefined method Symfony\\\\Component\\\\Form\\\\FormError\\|Symfony\\\\Component\\\\Form\\\\FormErrorIterator\\:\\:getMessage\\(\\)\\.$#" count: 1 - path: src/Sulu/Component/Content/Form/DataTransformer/DocumentToUuidTransformer.php + path: src/Sulu/Component/Content/Form/Exception/InvalidFormException.php + + - + message: "#^Call to an undefined method Symfony\\\\Component\\\\Form\\\\FormError\\|Symfony\\\\Component\\\\Form\\\\FormErrorIterator\\:\\:getMessageParameters\\(\\)\\.$#" + count: 1 + path: src/Sulu/Component/Content/Form/Exception/InvalidFormException.php + + - + message: "#^Call to an undefined method Symfony\\\\Component\\\\Form\\\\FormError\\|Symfony\\\\Component\\\\Form\\\\FormErrorIterator\\:\\:getOrigin\\(\\)\\.$#" + count: 2 + path: src/Sulu/Component/Content/Form/Exception/InvalidFormException.php - message: "#^Method Sulu\\\\Component\\\\Content\\\\Form\\\\Type\\\\DocumentObjectType\\:\\:buildForm\\(\\) has no return type specified\\.$#" @@ -59380,6 +59835,11 @@ parameters: count: 1 path: src/Sulu/Component/Content/Mapper/ContentMapper.php + - + message: "#^Cannot call method getPath\\(\\) on mixed\\.$#" + count: 1 + path: src/Sulu/Component/Content/Mapper/ContentMapper.php + - message: "#^Cannot call method getSystem\\(\\) on Sulu\\\\Component\\\\Webspace\\\\Security\\|null\\.$#" count: 1 @@ -59525,11 +59985,6 @@ parameters: count: 1 path: src/Sulu/Component/Content/Mapper/ContentMapper.php - - - message: "#^Method Sulu\\\\Component\\\\Content\\\\Mapper\\\\ContentMapper\\:\\:getFieldData\\(\\) has parameter \\$row with no value type specified in iterable type Jackalope\\\\Query\\\\Row\\.$#" - count: 1 - path: src/Sulu/Component/Content/Mapper/ContentMapper.php - - message: "#^Method Sulu\\\\Component\\\\Content\\\\Mapper\\\\ContentMapper\\:\\:getFieldData\\(\\) has parameter \\$templateKey with no type specified\\.$#" count: 1 @@ -59565,11 +60020,6 @@ parameters: count: 1 path: src/Sulu/Component/Content/Mapper/ContentMapper.php - - - message: "#^Method Sulu\\\\Component\\\\Content\\\\Mapper\\\\ContentMapper\\:\\:getFieldsData\\(\\) has parameter \\$row with no value type specified in iterable type Jackalope\\\\Query\\\\Row\\.$#" - count: 1 - path: src/Sulu/Component/Content/Mapper/ContentMapper.php - - message: "#^Method Sulu\\\\Component\\\\Content\\\\Mapper\\\\ContentMapper\\:\\:getFieldsData\\(\\) has parameter \\$templateKey with no type specified\\.$#" count: 1 @@ -59740,11 +60190,6 @@ parameters: count: 1 path: src/Sulu/Component/Content/Mapper/ContentMapper.php - - - message: "#^Method Sulu\\\\Component\\\\Content\\\\Mapper\\\\ContentMapper\\:\\:rowToArray\\(\\) has parameter \\$row with no value type specified in iterable type Jackalope\\\\Query\\\\Row\\.$#" - count: 1 - path: src/Sulu/Component/Content/Mapper/ContentMapper.php - - message: "#^Method Sulu\\\\Component\\\\Content\\\\Mapper\\\\ContentMapper\\:\\:rowToArray\\(\\) has parameter \\$webspaceKey with no type specified\\.$#" count: 1 @@ -59790,6 +60235,11 @@ parameters: count: 1 path: src/Sulu/Component/Content/Mapper/ContentMapper.php + - + message: "#^Parameter \\#1 \\$row of method Sulu\\\\Component\\\\Content\\\\Mapper\\\\ContentMapper\\:\\:rowToArray\\(\\) expects Jackalope\\\\Query\\\\Row, mixed given\\.$#" + count: 1 + path: src/Sulu/Component/Content/Mapper/ContentMapper.php + - message: "#^Parameter \\#2 \\$data of method Sulu\\\\Component\\\\Content\\\\Document\\\\Behavior\\\\ExtensionBehavior\\:\\:setExtension\\(\\) expects array, mixed given\\.$#" count: 1 @@ -61295,11 +61745,6 @@ parameters: count: 1 path: src/Sulu/Component/Content/Query/ContentQueryExecutor.php - - - message: "#^PHPDoc tag @var for variable \\$row has no value type specified in iterable type Jackalope\\\\Query\\\\Row\\.$#" - count: 1 - path: src/Sulu/Component/Content/Query/ContentQueryExecutor.php - - message: "#^Parameter \\#1 \\$haystack of function substr_count expects string, string\\|null given\\.$#" count: 1 @@ -61460,46 +61905,11 @@ parameters: count: 1 path: src/Sulu/Component/Content/Repository/Content.php - - - message: "#^Method Sulu\\\\Component\\\\Content\\\\Repository\\\\Content\\:\\:getRow\\(\\) return type has no value type specified in iterable type Jackalope\\\\Query\\\\Row\\.$#" - count: 1 - path: src/Sulu/Component/Content/Repository/Content.php - - message: "#^Method Sulu\\\\Component\\\\Content\\\\Repository\\\\Content\\:\\:getTemplate\\(\\) should return string but empty return statement found\\.$#" count: 1 path: src/Sulu/Component/Content/Repository/Content.php - - - message: "#^Method Sulu\\\\Component\\\\Content\\\\Repository\\\\Content\\:\\:offsetExists\\(\\) has parameter \\$offset with no type specified\\.$#" - count: 1 - path: src/Sulu/Component/Content/Repository/Content.php - - - - message: "#^Method Sulu\\\\Component\\\\Content\\\\Repository\\\\Content\\:\\:offsetGet\\(\\) has no return type specified\\.$#" - count: 1 - path: src/Sulu/Component/Content/Repository/Content.php - - - - message: "#^Method Sulu\\\\Component\\\\Content\\\\Repository\\\\Content\\:\\:offsetGet\\(\\) has parameter \\$offset with no type specified\\.$#" - count: 1 - path: src/Sulu/Component/Content/Repository/Content.php - - - - message: "#^Method Sulu\\\\Component\\\\Content\\\\Repository\\\\Content\\:\\:offsetSet\\(\\) has parameter \\$offset with no type specified\\.$#" - count: 1 - path: src/Sulu/Component/Content/Repository/Content.php - - - - message: "#^Method Sulu\\\\Component\\\\Content\\\\Repository\\\\Content\\:\\:offsetSet\\(\\) has parameter \\$value with no type specified\\.$#" - count: 1 - path: src/Sulu/Component/Content/Repository/Content.php - - - - message: "#^Method Sulu\\\\Component\\\\Content\\\\Repository\\\\Content\\:\\:offsetUnset\\(\\) has parameter \\$offset with no type specified\\.$#" - count: 1 - path: src/Sulu/Component/Content/Repository/Content.php - - message: "#^Method Sulu\\\\Component\\\\Content\\\\Repository\\\\Content\\:\\:setChildren\\(\\) has no return type specified\\.$#" count: 1 @@ -61526,17 +61936,17 @@ parameters: path: src/Sulu/Component/Content/Repository/Content.php - - message: "#^Method Sulu\\\\Component\\\\Content\\\\Repository\\\\Content\\:\\:setRow\\(\\) has parameter \\$row with no value type specified in iterable type Jackalope\\\\Query\\\\Row\\.$#" + message: "#^Method Sulu\\\\Component\\\\Content\\\\Repository\\\\Content\\:\\:setUrl\\(\\) has no return type specified\\.$#" count: 1 path: src/Sulu/Component/Content/Repository/Content.php - - message: "#^Method Sulu\\\\Component\\\\Content\\\\Repository\\\\Content\\:\\:setUrl\\(\\) has no return type specified\\.$#" + message: "#^Method Sulu\\\\Component\\\\Content\\\\Repository\\\\Content\\:\\:setUrls\\(\\) has no return type specified\\.$#" count: 1 path: src/Sulu/Component/Content/Repository/Content.php - - message: "#^Method Sulu\\\\Component\\\\Content\\\\Repository\\\\Content\\:\\:setUrls\\(\\) has no return type specified\\.$#" + message: "#^Parameter \\#1 \\$key of function array_key_exists expects int\\|string, mixed given\\.$#" count: 1 path: src/Sulu/Component/Content/Repository/Content.php @@ -61555,11 +61965,6 @@ parameters: count: 1 path: src/Sulu/Component/Content/Repository/Content.php - - - message: "#^Property Sulu\\\\Component\\\\Content\\\\Repository\\\\Content\\:\\:\\$row type has no value type specified in iterable type Jackalope\\\\Query\\\\Row\\.$#" - count: 1 - path: src/Sulu/Component/Content/Repository/Content.php - - message: "#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\\.$#" count: 2 @@ -61585,6 +61990,11 @@ parameters: count: 1 path: src/Sulu/Component/Content/Repository/ContentRepository.php + - + message: "#^Cannot call method getPath\\(\\) on mixed\\.$#" + count: 1 + path: src/Sulu/Component/Content/Repository/ContentRepository.php + - message: "#^Cannot call method getWebspace\\(\\) on Sulu\\\\Component\\\\Webspace\\\\Portal\\|null\\.$#" count: 1 @@ -61635,51 +62045,21 @@ parameters: count: 1 path: src/Sulu/Component/Content/Repository/ContentRepository.php - - - message: "#^Method Sulu\\\\Component\\\\Content\\\\Repository\\\\ContentRepository\\:\\:resolveAvailableLocales\\(\\) has parameter \\$row with no value type specified in iterable type Jackalope\\\\Query\\\\Row\\.$#" - count: 1 - path: src/Sulu/Component/Content/Repository/ContentRepository.php - - message: "#^Method Sulu\\\\Component\\\\Content\\\\Repository\\\\ContentRepository\\:\\:resolveContent\\(\\) has parameter \\$permissions with no value type specified in iterable type array\\.$#" count: 1 path: src/Sulu/Component/Content/Repository/ContentRepository.php - - - message: "#^Method Sulu\\\\Component\\\\Content\\\\Repository\\\\ContentRepository\\:\\:resolveContent\\(\\) has parameter \\$row with no value type specified in iterable type Jackalope\\\\Query\\\\Row\\.$#" - count: 1 - path: src/Sulu/Component/Content/Repository/ContentRepository.php - - message: "#^Method Sulu\\\\Component\\\\Content\\\\Repository\\\\ContentRepository\\:\\:resolveContent\\(\\) should return Sulu\\\\Component\\\\Content\\\\Repository\\\\Content but empty return statement found\\.$#" count: 2 path: src/Sulu/Component/Content/Repository/ContentRepository.php - - - message: "#^Method Sulu\\\\Component\\\\Content\\\\Repository\\\\ContentRepository\\:\\:resolveHasChildren\\(\\) has parameter \\$row with no value type specified in iterable type Jackalope\\\\Query\\\\Row\\.$#" - count: 1 - path: src/Sulu/Component/Content/Repository/ContentRepository.php - - - - message: "#^Method Sulu\\\\Component\\\\Content\\\\Repository\\\\ContentRepository\\:\\:resolveInternalLinkContent\\(\\) has parameter \\$row with no value type specified in iterable type Jackalope\\\\Query\\\\Row\\.$#" - count: 1 - path: src/Sulu/Component/Content/Repository/ContentRepository.php - - - - message: "#^Method Sulu\\\\Component\\\\Content\\\\Repository\\\\ContentRepository\\:\\:resolvePath\\(\\) has parameter \\$row with no value type specified in iterable type Jackalope\\\\Query\\\\Row\\.$#" - count: 1 - path: src/Sulu/Component/Content/Repository/ContentRepository.php - - message: "#^Method Sulu\\\\Component\\\\Content\\\\Repository\\\\ContentRepository\\:\\:resolveProperty\\(\\) has no return type specified\\.$#" count: 1 path: src/Sulu/Component/Content/Repository/ContentRepository.php - - - message: "#^Method Sulu\\\\Component\\\\Content\\\\Repository\\\\ContentRepository\\:\\:resolveProperty\\(\\) has parameter \\$row with no value type specified in iterable type Jackalope\\\\Query\\\\Row\\.$#" - count: 1 - path: src/Sulu/Component/Content/Repository/ContentRepository.php - - message: "#^Method Sulu\\\\Component\\\\Content\\\\Repository\\\\ContentRepository\\:\\:resolveQueryBuilder\\(\\) has parameter \\$locales with no type specified\\.$#" count: 1 @@ -61695,11 +62075,6 @@ parameters: count: 1 path: src/Sulu/Component/Content/Repository/ContentRepository.php - - - message: "#^Method Sulu\\\\Component\\\\Content\\\\Repository\\\\ContentRepository\\:\\:resolveUrl\\(\\) has parameter \\$row with no value type specified in iterable type Jackalope\\\\Query\\\\Row\\.$#" - count: 1 - path: src/Sulu/Component/Content/Repository/ContentRepository.php - - message: "#^Negated boolean expression is always false\\.$#" count: 3 @@ -61725,6 +62100,11 @@ parameters: count: 1 path: src/Sulu/Component/Content/Repository/ContentRepository.php + - + message: "#^Parameter \\#1 \\$row of method Sulu\\\\Component\\\\Content\\\\Repository\\\\ContentRepository\\:\\:resolveContent\\(\\) expects Jackalope\\\\Query\\\\Row, mixed given\\.$#" + count: 1 + path: src/Sulu/Component/Content/Repository/ContentRepository.php + - message: "#^Parameter \\#1 \\$url of method Sulu\\\\Component\\\\Content\\\\Repository\\\\Content\\:\\:setUrl\\(\\) expects string, string\\|null given\\.$#" count: 1 @@ -61795,6 +62175,11 @@ parameters: count: 1 path: src/Sulu/Component/Content/Repository/Mapping/Mapping.php + - + message: "#^Method Sulu\\\\Component\\\\Content\\\\Repository\\\\Mapping\\\\Mapping\\:\\:getProperties\\(\\) should return array\\ but returns array\\.$#" + count: 1 + path: src/Sulu/Component/Content/Repository/Mapping/Mapping.php + - message: "#^Method Sulu\\\\Component\\\\Content\\\\Repository\\\\Mapping\\\\Mapping\\:\\:setFollowInternalLink\\(\\) has no return type specified\\.$#" count: 1 @@ -66740,6 +67125,11 @@ parameters: count: 1 path: src/Sulu/Component/Content/Types/Block/SegmentBlockVisitor.php + - + message: "#^Cannot call method getName\\(\\) on mixed\\.$#" + count: 1 + path: src/Sulu/Component/Content/Types/BlockContentType.php + - message: "#^Method Sulu\\\\Component\\\\Content\\\\Types\\\\BlockContentType\\:\\:__construct\\(\\) has parameter \\$blockVisitors with no value type specified in iterable type iterable\\.$#" count: 1 @@ -67135,6 +67525,11 @@ parameters: count: 1 path: src/Sulu/Component/Content/Types/ResourceLocator/Strategy/TreeLeafEditStrategy.php + - + message: "#^Parameter \\#1 \\$document of method Sulu\\\\Component\\\\Content\\\\Types\\\\ResourceLocator\\\\Strategy\\\\TreeLeafEditStrategy\\:\\:adaptResourceLocators\\(\\) expects Sulu\\\\Component\\\\Content\\\\Document\\\\Behavior\\\\ResourceSegmentBehavior, mixed given\\.$#" + count: 1 + path: src/Sulu/Component/Content/Types/ResourceLocator/Strategy/TreeLeafEditStrategy.php + - message: "#^Parameter \\#1 \\$key of method Sulu\\\\Component\\\\Content\\\\Compat\\\\StructureManagerInterface\\:\\:getStructure\\(\\) expects string, mixed given\\.$#" count: 1 @@ -67711,22 +68106,22 @@ parameters: path: src/Sulu/Component/CustomUrl/Repository/CustomUrlRepository.php - - message: "#^Method Sulu\\\\Component\\\\CustomUrl\\\\Repository\\\\CustomUrlRepository\\:\\:findList\\(\\) return type has no value type specified in iterable type Iterator\\.$#" + message: "#^Method Sulu\\\\Component\\\\CustomUrl\\\\Repository\\\\CustomUrlRepository\\:\\:findUrls\\(\\) should return Iterator but returns array\\\\.$#" count: 1 path: src/Sulu/Component/CustomUrl/Repository/CustomUrlRepository.php - - message: "#^Method Sulu\\\\Component\\\\CustomUrl\\\\Repository\\\\CustomUrlRepository\\:\\:findUrls\\(\\) return type has no value type specified in iterable type Iterator\\.$#" + message: "#^Parameter \\#1 \\$baseDomain of method Sulu\\\\Component\\\\CustomUrl\\\\Generator\\\\GeneratorInterface\\:\\:generate\\(\\) expects string, mixed given\\.$#" count: 1 path: src/Sulu/Component/CustomUrl/Repository/CustomUrlRepository.php - - message: "#^Method Sulu\\\\Component\\\\CustomUrl\\\\Repository\\\\CustomUrlRepository\\:\\:findUrls\\(\\) should return Iterator but returns array\\\\.$#" + message: "#^Parameter \\#1 \\$callback of function array_map expects \\(callable\\(mixed\\)\\: mixed\\)\\|null, Closure\\(Jackalope\\\\Query\\\\Row\\)\\: mixed given\\.$#" count: 1 path: src/Sulu/Component/CustomUrl/Repository/CustomUrlRepository.php - - message: "#^Parameter \\#1 \\$baseDomain of method Sulu\\\\Component\\\\CustomUrl\\\\Generator\\\\GeneratorInterface\\:\\:generate\\(\\) expects string, mixed given\\.$#" + message: "#^Parameter \\#1 \\$callback of function array_map expects \\(callable\\(mixed\\)\\: mixed\\)\\|null, Closure\\(Jackalope\\\\Query\\\\Row\\)\\: string given\\.$#" count: 1 path: src/Sulu/Component/CustomUrl/Repository/CustomUrlRepository.php @@ -67755,6 +68150,11 @@ parameters: count: 2 path: src/Sulu/Component/CustomUrl/Repository/CustomUrlRepository.php + - + message: "#^Cannot call method getValue\\(\\) on mixed\\.$#" + count: 2 + path: src/Sulu/Component/CustomUrl/Repository/RowsIterator.php + - message: "#^Class Sulu\\\\Component\\\\CustomUrl\\\\Repository\\\\RowsIterator extends generic class IteratorIterator but does not specify its types\\: TKey, TValue, TIterator$#" count: 1 @@ -68340,11 +68740,6 @@ parameters: count: 1 path: src/Sulu/Component/Doctrine/ReferencesOption.php - - - message: "#^Method Sulu\\\\Component\\\\DocumentManager\\\\Behavior\\\\Mapping\\\\ChildrenBehavior\\:\\:getChildren\\(\\) return type has no value type specified in iterable type Sulu\\\\Component\\\\DocumentManager\\\\Collection\\\\ChildrenCollection\\.$#" - count: 1 - path: src/Sulu/Component/DocumentManager/Behavior/Mapping/ChildrenBehavior.php - - message: "#^Method Sulu\\\\Component\\\\DocumentManager\\\\Behavior\\\\Mapping\\\\LocaleBehavior\\:\\:setLocale\\(\\) has no return type specified\\.$#" count: 1 @@ -68385,31 +68780,16 @@ parameters: count: 1 path: src/Sulu/Component/DocumentManager/Collection/AbstractLazyCollection.php - - - message: "#^Method Sulu\\\\Component\\\\DocumentManager\\\\Collection\\\\AbstractLazyCollection\\:\\:current\\(\\) has no return type specified\\.$#" - count: 1 - path: src/Sulu/Component/DocumentManager/Collection/AbstractLazyCollection.php - - message: "#^Method Sulu\\\\Component\\\\DocumentManager\\\\Collection\\\\AbstractLazyCollection\\:\\:initialize\\(\\) has no return type specified\\.$#" count: 1 path: src/Sulu/Component/DocumentManager/Collection/AbstractLazyCollection.php - - - message: "#^Method Sulu\\\\Component\\\\DocumentManager\\\\Collection\\\\AbstractLazyCollection\\:\\:key\\(\\) has no return type specified\\.$#" - count: 1 - path: src/Sulu/Component/DocumentManager/Collection/AbstractLazyCollection.php - - message: "#^Method Sulu\\\\Component\\\\DocumentManager\\\\Collection\\\\AbstractLazyCollection\\:\\:toArray\\(\\) return type has no value type specified in iterable type array\\.$#" count: 1 path: src/Sulu/Component/DocumentManager/Collection/AbstractLazyCollection.php - - - message: "#^Property Sulu\\\\Component\\\\DocumentManager\\\\Collection\\\\AbstractLazyCollection\\:\\:\\$documents type has no value type specified in iterable type Iterator\\.$#" - count: 1 - path: src/Sulu/Component/DocumentManager/Collection/AbstractLazyCollection.php - - message: "#^Method Sulu\\\\Component\\\\DocumentManager\\\\Collection\\\\ChildrenCollection\\:\\:__construct\\(\\) has parameter \\$options with no value type specified in iterable type array\\.$#" count: 1 @@ -68421,12 +68801,12 @@ parameters: path: src/Sulu/Component/DocumentManager/Collection/ChildrenCollection.php - - message: "#^Method Sulu\\\\Component\\\\DocumentManager\\\\Collection\\\\ChildrenCollection\\:\\:current\\(\\) has no return type specified\\.$#" + message: "#^Method Sulu\\\\Component\\\\DocumentManager\\\\Collection\\\\ChildrenCollection\\:\\:initialize\\(\\) has no return type specified\\.$#" count: 1 path: src/Sulu/Component/DocumentManager/Collection/ChildrenCollection.php - - message: "#^Method Sulu\\\\Component\\\\DocumentManager\\\\Collection\\\\ChildrenCollection\\:\\:initialize\\(\\) has no return type specified\\.$#" + message: "#^Parameter \\#1 \\$node of class Sulu\\\\Component\\\\DocumentManager\\\\Event\\\\HydrateEvent constructor expects PHPCR\\\\NodeInterface, mixed given\\.$#" count: 1 path: src/Sulu/Component/DocumentManager/Collection/ChildrenCollection.php @@ -68441,17 +68821,17 @@ parameters: path: src/Sulu/Component/DocumentManager/Collection/ChildrenCollection.php - - message: "#^Method Sulu\\\\Component\\\\DocumentManager\\\\Collection\\\\QueryResultCollection\\:\\:__construct\\(\\) has parameter \\$options with no value type specified in iterable type array\\.$#" + message: "#^Cannot call method getNode\\(\\) on mixed\\.$#" count: 1 path: src/Sulu/Component/DocumentManager/Collection/QueryResultCollection.php - - message: "#^Method Sulu\\\\Component\\\\DocumentManager\\\\Collection\\\\QueryResultCollection\\:\\:__construct\\(\\) has parameter \\$result with no value type specified in iterable type PHPCR\\\\Query\\\\QueryResultInterface\\.$#" + message: "#^Method Sulu\\\\Component\\\\DocumentManager\\\\Collection\\\\QueryResultCollection\\:\\:__construct\\(\\) has parameter \\$options with no value type specified in iterable type array\\.$#" count: 1 path: src/Sulu/Component/DocumentManager/Collection/QueryResultCollection.php - - message: "#^Method Sulu\\\\Component\\\\DocumentManager\\\\Collection\\\\QueryResultCollection\\:\\:current\\(\\) has no return type specified\\.$#" + message: "#^Method Sulu\\\\Component\\\\DocumentManager\\\\Collection\\\\QueryResultCollection\\:\\:__construct\\(\\) has parameter \\$result with no value type specified in iterable type PHPCR\\\\Query\\\\QueryResultInterface\\.$#" count: 1 path: src/Sulu/Component/DocumentManager/Collection/QueryResultCollection.php @@ -68475,6 +68855,11 @@ parameters: count: 1 path: src/Sulu/Component/DocumentManager/Collection/ReferrerCollection.php + - + message: "#^Cannot call method getParent\\(\\) on mixed\\.$#" + count: 1 + path: src/Sulu/Component/DocumentManager/Collection/ReferrerCollection.php + - message: "#^Method Sulu\\\\Component\\\\DocumentManager\\\\Collection\\\\ReferrerCollection\\:\\:__construct\\(\\) has parameter \\$locale with no type specified\\.$#" count: 1 @@ -68486,12 +68871,12 @@ parameters: path: src/Sulu/Component/DocumentManager/Collection/ReferrerCollection.php - - message: "#^Method Sulu\\\\Component\\\\DocumentManager\\\\Collection\\\\ReferrerCollection\\:\\:current\\(\\) has no return type specified\\.$#" + message: "#^Method Sulu\\\\Component\\\\DocumentManager\\\\Collection\\\\ReferrerCollection\\:\\:initialize\\(\\) has no return type specified\\.$#" count: 1 path: src/Sulu/Component/DocumentManager/Collection/ReferrerCollection.php - - message: "#^Method Sulu\\\\Component\\\\DocumentManager\\\\Collection\\\\ReferrerCollection\\:\\:initialize\\(\\) has no return type specified\\.$#" + message: "#^Parameter \\#1 \\$node of class Sulu\\\\Component\\\\DocumentManager\\\\Event\\\\HydrateEvent constructor expects PHPCR\\\\NodeInterface, mixed given\\.$#" count: 1 path: src/Sulu/Component/DocumentManager/Collection/ReferrerCollection.php @@ -68545,11 +68930,6 @@ parameters: count: 1 path: src/Sulu/Component/DocumentManager/DocumentInspector.php - - - message: "#^Method Sulu\\\\Component\\\\DocumentManager\\\\DocumentInspector\\:\\:getChildren\\(\\) return type has no value type specified in iterable type Sulu\\\\Component\\\\DocumentManager\\\\Collection\\\\ChildrenCollection\\.$#" - count: 1 - path: src/Sulu/Component/DocumentManager/DocumentInspector.php - - message: "#^Method Sulu\\\\Component\\\\DocumentManager\\\\DocumentInspector\\:\\:getNode\\(\\) return type has no value type specified in iterable type PHPCR\\\\NodeInterface\\.$#" count: 1 @@ -68560,11 +68940,6 @@ parameters: count: 1 path: src/Sulu/Component/DocumentManager/DocumentInspector.php - - - message: "#^Method Sulu\\\\Component\\\\DocumentManager\\\\DocumentInspector\\:\\:getReferrers\\(\\) return type has no value type specified in iterable type Sulu\\\\Component\\\\DocumentManager\\\\Collection\\\\ReferrerCollection\\.$#" - count: 1 - path: src/Sulu/Component/DocumentManager/DocumentInspector.php - - message: "#^Negated boolean expression is always false\\.$#" count: 1 @@ -69155,21 +69530,11 @@ parameters: count: 1 path: src/Sulu/Component/DocumentManager/Event/QueryExecuteEvent.php - - - message: "#^Method Sulu\\\\Component\\\\DocumentManager\\\\Event\\\\QueryExecuteEvent\\:\\:setResult\\(\\) has parameter \\$collection with no value type specified in iterable type Sulu\\\\Component\\\\DocumentManager\\\\Collection\\\\QueryResultCollection\\.$#" - count: 1 - path: src/Sulu/Component/DocumentManager/Event/QueryExecuteEvent.php - - message: "#^Property Sulu\\\\Component\\\\DocumentManager\\\\Event\\\\QueryExecuteEvent\\:\\:\\$options \\(Symfony\\\\Component\\\\OptionsResolver\\\\OptionsResolver\\) does not accept array\\.$#" count: 1 path: src/Sulu/Component/DocumentManager/Event/QueryExecuteEvent.php - - - message: "#^Property Sulu\\\\Component\\\\DocumentManager\\\\Event\\\\QueryExecuteEvent\\:\\:\\$result type has no value type specified in iterable type Sulu\\\\Component\\\\DocumentManager\\\\Collection\\\\QueryResultCollection\\.$#" - count: 1 - path: src/Sulu/Component/DocumentManager/Event/QueryExecuteEvent.php - - message: "#^Method Sulu\\\\Component\\\\DocumentManager\\\\Event\\\\RemoveDraftEvent\\:\\:setNode\\(\\) has no return type specified\\.$#" count: 1 @@ -69685,11 +70050,6 @@ parameters: count: 1 path: src/Sulu/Component/DocumentManager/ProxyFactory.php - - - message: "#^Method Sulu\\\\Component\\\\DocumentManager\\\\ProxyFactory\\:\\:createChildrenCollection\\(\\) return type has no value type specified in iterable type Sulu\\\\Component\\\\DocumentManager\\\\Collection\\\\ChildrenCollection\\.$#" - count: 1 - path: src/Sulu/Component/DocumentManager/ProxyFactory.php - - message: "#^Method Sulu\\\\Component\\\\DocumentManager\\\\ProxyFactory\\:\\:createProxyForNode\\(\\) has parameter \\$options with no value type specified in iterable type array\\.$#" count: 1 @@ -69710,11 +70070,6 @@ parameters: count: 1 path: src/Sulu/Component/DocumentManager/ProxyFactory.php - - - message: "#^Method Sulu\\\\Component\\\\DocumentManager\\\\ProxyFactory\\:\\:createReferrerCollection\\(\\) return type has no value type specified in iterable type Sulu\\\\Component\\\\DocumentManager\\\\Collection\\\\ReferrerCollection\\.$#" - count: 1 - path: src/Sulu/Component/DocumentManager/ProxyFactory.php - - message: "#^Parameter \\#1 \\$document of method Sulu\\\\Component\\\\DocumentManager\\\\DocumentRegistry\\:\\:getOriginalLocaleForDocument\\(\\) expects object, mixed given\\.$#" count: 1 @@ -70150,6 +70505,16 @@ parameters: count: 1 path: src/Sulu/Component/DocumentManager/Subscriber/Behavior/VersionSubscriber.php + - + message: "#^Cannot call method getName\\(\\) on mixed\\.$#" + count: 1 + path: src/Sulu/Component/DocumentManager/Subscriber/Behavior/VersionSubscriber.php + + - + message: "#^Cannot call method remove\\(\\) on mixed\\.$#" + count: 1 + path: src/Sulu/Component/DocumentManager/Subscriber/Behavior/VersionSubscriber.php + - message: "#^Method Sulu\\\\Component\\\\DocumentManager\\\\Subscriber\\\\Behavior\\\\VersionSubscriber\\:\\:applyVersionOperations\\(\\) has no return type specified\\.$#" count: 1 @@ -71005,11 +71370,6 @@ parameters: count: 1 path: src/Sulu/Component/DocumentManager/Tests/Unit/DocumentManagerTest.php - - - message: "#^Method Sulu\\\\Component\\\\DocumentManager\\\\Tests\\\\Unit\\\\TestDocumentManagerSubscriber\\:\\:__construct\\(\\) has parameter \\$resultCollection with no value type specified in iterable type Sulu\\\\Component\\\\DocumentManager\\\\Collection\\\\QueryResultCollection\\.$#" - count: 1 - path: src/Sulu/Component/DocumentManager/Tests/Unit/DocumentManagerTest.php - - message: "#^Method Sulu\\\\Component\\\\DocumentManager\\\\Tests\\\\Unit\\\\TestDocumentManagerSubscriber\\:\\:handleClear\\(\\) has no return type specified\\.$#" count: 1 @@ -71130,11 +71490,6 @@ parameters: count: 1 path: src/Sulu/Component/DocumentManager/Tests/Unit/DocumentManagerTest.php - - - message: "#^Property Sulu\\\\Component\\\\DocumentManager\\\\Tests\\\\Unit\\\\DocumentManagerTest\\:\\:\\$queryResultCollection type has no value type specified in iterable type Sulu\\\\Component\\\\DocumentManager\\\\Collection\\\\QueryResultCollection\\.$#" - count: 1 - path: src/Sulu/Component/DocumentManager/Tests/Unit/DocumentManagerTest.php - - message: "#^Property Sulu\\\\Component\\\\DocumentManager\\\\Tests\\\\Unit\\\\TestDocumentManagerSubscriber\\:\\:\\$clear has no type specified\\.$#" count: 1 @@ -76246,7 +76601,7 @@ parameters: path: src/Sulu/Component/Rest/Csv/CsvHandler.php - - message: "#^Offset 'value' does not exist on array\\{value\\: string, type\\: int\\|string\\|null, position\\: int\\}\\|null\\.$#" + message: "#^Offset 'value' does not exist on array\\{value\\: int\\|string, type\\: int\\|string\\|null, position\\: int\\}\\|null\\.$#" count: 1 path: src/Sulu/Component/Rest/DQL/Cast.php @@ -80781,32 +81136,12 @@ parameters: path: src/Sulu/Component/SmartContent/ArrayAccessItem.php - - message: "#^Method Sulu\\\\Component\\\\SmartContent\\\\ArrayAccessItem\\:\\:offsetExists\\(\\) has parameter \\$offset with no type specified\\.$#" - count: 1 - path: src/Sulu/Component/SmartContent/ArrayAccessItem.php - - - - message: "#^Method Sulu\\\\Component\\\\SmartContent\\\\ArrayAccessItem\\:\\:offsetGet\\(\\) has no return type specified\\.$#" - count: 1 - path: src/Sulu/Component/SmartContent/ArrayAccessItem.php - - - - message: "#^Method Sulu\\\\Component\\\\SmartContent\\\\ArrayAccessItem\\:\\:offsetGet\\(\\) has parameter \\$offset with no type specified\\.$#" - count: 1 - path: src/Sulu/Component/SmartContent/ArrayAccessItem.php - - - - message: "#^Method Sulu\\\\Component\\\\SmartContent\\\\ArrayAccessItem\\:\\:offsetSet\\(\\) has parameter \\$offset with no type specified\\.$#" - count: 1 - path: src/Sulu/Component/SmartContent/ArrayAccessItem.php - - - - message: "#^Method Sulu\\\\Component\\\\SmartContent\\\\ArrayAccessItem\\:\\:offsetSet\\(\\) has parameter \\$value with no type specified\\.$#" + message: "#^Parameter \\#1 \\$key of method Sulu\\\\Component\\\\SmartContent\\\\ArrayAccessItem\\:\\:exists\\(\\) expects string, mixed given\\.$#" count: 1 path: src/Sulu/Component/SmartContent/ArrayAccessItem.php - - message: "#^Method Sulu\\\\Component\\\\SmartContent\\\\ArrayAccessItem\\:\\:offsetUnset\\(\\) has parameter \\$offset with no type specified\\.$#" + message: "#^Parameter \\#1 \\$key of method Sulu\\\\Component\\\\SmartContent\\\\ArrayAccessItem\\:\\:get\\(\\) expects string, mixed given\\.$#" count: 1 path: src/Sulu/Component/SmartContent/ArrayAccessItem.php @@ -82310,6 +82645,21 @@ parameters: count: 1 path: src/Sulu/Component/Util/SuluNodeHelper.php + - + message: "#^Cannot call method getName\\(\\) on mixed\\.$#" + count: 2 + path: src/Sulu/Component/Util/SuluNodeHelper.php + + - + message: "#^Cannot call method getPath\\(\\) on mixed\\.$#" + count: 1 + path: src/Sulu/Component/Util/SuluNodeHelper.php + + - + message: "#^Cannot call method getValue\\(\\) on mixed\\.$#" + count: 1 + path: src/Sulu/Component/Util/SuluNodeHelper.php + - message: "#^Method Sulu\\\\Component\\\\Util\\\\SuluNodeHelper\\:\\:__construct\\(\\) has parameter \\$paths with no value type specified in iterable type array\\.$#" count: 1 @@ -82375,6 +82725,11 @@ parameters: count: 1 path: src/Sulu/Component/Util/SuluNodeHelper.php + - + message: "#^Method Sulu\\\\Component\\\\Util\\\\SuluNodeHelper\\:\\:getSiblingNode\\(\\) should return PHPCR\\\\NodeInterface\\|null but returns mixed\\.$#" + count: 1 + path: src/Sulu/Component/Util/SuluNodeHelper.php + - message: "#^Method Sulu\\\\Component\\\\Util\\\\SuluNodeHelper\\:\\:getStructureTypeForNode\\(\\) has parameter \\$node with no value type specified in iterable type PHPCR\\\\NodeInterface\\.$#" count: 1 @@ -83375,6 +83730,11 @@ parameters: count: 1 path: src/Sulu/Component/Webspace/Loader/XmlFileLoader10.php + - + message: "#^Parameter \\#1 \\$localizationNode of method Sulu\\\\Component\\\\Webspace\\\\Loader\\\\XmlFileLoader10\\:\\:generateLocalizationFromNode\\(\\) expects DOMElement, mixed given\\.$#" + count: 1 + path: src/Sulu/Component/Webspace/Loader/XmlFileLoader10.php + - message: "#^Parameter \\#1 \\$localizationNodes of method Sulu\\\\Component\\\\Webspace\\\\Loader\\\\XmlFileLoader10\\:\\:generateLocalizationsFromNodeList\\(\\) expects DOMNodeList, DOMNodeList\\|false given\\.$#" count: 2 @@ -83585,16 +83945,6 @@ parameters: count: 1 path: src/Sulu/Component/Webspace/Manager/WebspaceCollectionBuilder.php - - - message: "#^Parameter \\#1 \\$resource of class Symfony\\\\Component\\\\Config\\\\Resource\\\\FileResource constructor expects string, string\\|false given\\.$#" - count: 1 - path: src/Sulu/Component/Webspace/Manager/WebspaceCollectionBuilder.php - - - - message: "#^Parameter \\#1 \\$string of function strlen expects string, T of \\(int\\|string\\) given\\.$#" - count: 2 - path: src/Sulu/Component/Webspace/Manager/WebspaceCollectionBuilder.php - - message: "#^Property Sulu\\\\Component\\\\Webspace\\\\Manager\\\\WebspaceCollectionBuilder\\:\\:\\$availableTemplates type has no value type specified in iterable type array\\.$#" count: 1 @@ -83950,6 +84300,21 @@ parameters: count: 1 path: src/Sulu/Component/Webspace/Segment.php + - + message: "#^Cannot call method getName\\(\\) on mixed\\.$#" + count: 2 + path: src/Sulu/Component/Webspace/Settings/SettingsManager.php + + - + message: "#^Cannot call method getString\\(\\) on mixed\\.$#" + count: 1 + path: src/Sulu/Component/Webspace/Settings/SettingsManager.php + + - + message: "#^Cannot call method getValue\\(\\) on mixed\\.$#" + count: 1 + path: src/Sulu/Component/Webspace/Settings/SettingsManager.php + - message: "#^Method Sulu\\\\Component\\\\Webspace\\\\Settings\\\\SettingsManager\\:\\:decodeValue\\(\\) has no return type specified\\.$#" count: 1 diff --git a/src/Sulu/Bundle/AudienceTargetingBundle/Tests/Functional/CachingTest.php b/src/Sulu/Bundle/AudienceTargetingBundle/Tests/Functional/CachingTest.php index 6baad0f5653..31bdf6359e7 100644 --- a/src/Sulu/Bundle/AudienceTargetingBundle/Tests/Functional/CachingTest.php +++ b/src/Sulu/Bundle/AudienceTargetingBundle/Tests/Functional/CachingTest.php @@ -38,6 +38,7 @@ public function testFirstRequestIsACacheMiss() $cacheKernel = new AppCache(self::bootKernel()); $cookieJar = new CookieJar(); $client = new KernelBrowser($cacheKernel, [], null, $cookieJar); + $client->disableReboot(); $client->request('PURGE', '/'); diff --git a/src/Sulu/Bundle/MediaBundle/Tests/Functional/Media/Storage/S3StorageTest.php b/src/Sulu/Bundle/MediaBundle/Tests/Functional/Media/Storage/S3StorageTest.php index 6f1b1bdec33..15f903240ee 100644 --- a/src/Sulu/Bundle/MediaBundle/Tests/Functional/Media/Storage/S3StorageTest.php +++ b/src/Sulu/Bundle/MediaBundle/Tests/Functional/Media/Storage/S3StorageTest.php @@ -19,8 +19,16 @@ class S3StorageTest extends SuluTestCase { + /** + * @var string + */ protected static $class = S3Kernel::class; + protected static function getKernelClass(): string + { + return S3Kernel::class; + } + public function testSave(): void { $kernel = self::bootKernel(); diff --git a/src/Sulu/Bundle/WebsiteBundle/Tests/Functional/CachingTest.php b/src/Sulu/Bundle/WebsiteBundle/Tests/Functional/CachingTest.php index 59ea4ee40a5..688159e1503 100644 --- a/src/Sulu/Bundle/WebsiteBundle/Tests/Functional/CachingTest.php +++ b/src/Sulu/Bundle/WebsiteBundle/Tests/Functional/CachingTest.php @@ -27,9 +27,11 @@ public static function getSuluContext(): string public function testFirstRequestIsACacheMiss() { $this->purgeDatabase(); + $cacheKernel = new AppCache(self::bootKernel()); $cookieJar = new CookieJar(); $client = new KernelBrowser($cacheKernel, [], null, $cookieJar); + $client->disableReboot(); $client->request('PURGE', 'http://sulu.lo'); @@ -42,7 +44,6 @@ public function testFirstRequestIsACacheMiss() $this->assertContains('X-Sulu-Segment', $response->getVary()); $this->assertStringContainsString('miss', $response->headers->get('x-symfony-cache')); $this->assertCount(0, $response->headers->getCookies()); - /* @var Cookie $visitorTargetGroupCookie */ $this->assertEquals(0, $response->headers->getCacheControlDirective('max-age')); $this->assertEquals(0, $response->headers->getCacheControlDirective('s-maxage'));