diff --git a/phpstan-baseline-7.4.neon b/phpstan-baseline-7.4.neon deleted file mode 100644 index 8cbcfdb860..0000000000 --- a/phpstan-baseline-7.4.neon +++ /dev/null @@ -1,271 +0,0 @@ -parameters: - ignoreErrors: - - - message: "#^Method Ibexa\\\\Bundle\\\\AdminUi\\\\Controller\\\\BookmarkController\\:\\:getChoices\\(\\) should return array but returns array\\\\|false\\.$#" - count: 1 - path: src/bundle/Controller/BookmarkController.php - - - - message: "#^Parameter \\#1 \\$stack of function array_shift expects array, iterable\\ given\\.$#" - count: 1 - path: src/bundle/Controller/Content/VersionDraftConflictController.php - - - - message: "#^Parameter \\#1 \\$input of function array_keys expects array, array\\|null given\\.$#" - count: 1 - path: src/bundle/Controller/ContentDraftController.php - - - - message: "#^Parameter \\#1 \\$versions of class Ibexa\\\\AdminUi\\\\Form\\\\Data\\\\Content\\\\Draft\\\\ContentRemoveData constructor expects array\\|null, array\\\\|false given\\.$#" - count: 1 - path: src/bundle/Controller/ContentDraftController.php - - - - message: "#^Method Ibexa\\\\Bundle\\\\AdminUi\\\\Controller\\\\ContentTypeController\\:\\:getContentTypesNumbers\\(\\) should return array but returns array\\\\|false\\.$#" - count: 1 - path: src/bundle/Controller/ContentTypeController.php - - - - message: "#^Parameter \\#1 \\$array_arg of function usort expects TArray of array\\, iterable\\ given\\.$#" - count: 1 - path: src/bundle/Controller/ContentTypeController.php - - - - message: "#^Parameter \\#1 \\$s1 of function strnatcasecmp expects string, string\\|null given\\.$#" - count: 1 - path: src/bundle/Controller/ContentTypeController.php - - - - message: "#^Parameter \\#2 \\$s2 of function strnatcasecmp expects string, string\\|null given\\.$#" - count: 1 - path: src/bundle/Controller/ContentTypeController.php - - - - message: "#^Method Ibexa\\\\Bundle\\\\AdminUi\\\\Controller\\\\ContentTypeGroupController\\:\\:getContentTypeGroupsNumbers\\(\\) should return array but returns array\\\\|false\\.$#" - count: 1 - path: src/bundle/Controller/ContentTypeGroupController.php - - - - message: "#^Parameter \\#1 \\$var of function count expects array\\|Countable, iterable\\ given\\.$#" - count: 1 - path: src/bundle/Controller/ContentTypeGroupController.php - - - - message: "#^Parameter \\#1 \\$stack of function array_shift expects array, iterable\\ given\\.$#" - count: 1 - path: src/bundle/Controller/ContentViewController.php - - - - message: "#^Parameter \\#1 \\$var of function count expects array\\|Countable, iterable\\ given\\.$#" - count: 1 - path: src/bundle/Controller/ContentViewController.php - - - - message: "#^Method Ibexa\\\\Bundle\\\\AdminUi\\\\Controller\\\\LanguageController\\:\\:getLanguagesNumbers\\(\\) should return array but returns array\\\\|false\\.$#" - count: 1 - path: src/bundle/Controller/LanguageController.php - - - - message: "#^Method Ibexa\\\\Bundle\\\\AdminUi\\\\Controller\\\\ObjectStateController\\:\\:getObjectStatesIds\\(\\) should return array but returns array\\\\|false\\.$#" - count: 1 - path: src/bundle/Controller/ObjectStateController.php - - - - message: "#^Method Ibexa\\\\Bundle\\\\AdminUi\\\\Controller\\\\ObjectStateGroupController\\:\\:getObjectStateGroupsIds\\(\\) should return array but returns array\\\\|false\\.$#" - count: 1 - path: src/bundle/Controller/ObjectStateGroupController.php - - - - message: "#^Method Ibexa\\\\Bundle\\\\AdminUi\\\\Controller\\\\PolicyController\\:\\:getPoliciesNumbers\\(\\) should return array but returns array\\\\|false\\.$#" - count: 1 - path: src/bundle/Controller/PolicyController.php - - - - message: "#^Method Ibexa\\\\Bundle\\\\AdminUi\\\\Controller\\\\RoleAssignmentController\\:\\:getRoleAssignmentsNumbers\\(\\) should return array but returns array\\\\|false\\.$#" - count: 1 - path: src/bundle/Controller/RoleAssignmentController.php - - - - message: "#^Parameter \\#1 \\$roles of class Ibexa\\\\AdminUi\\\\Form\\\\Data\\\\Role\\\\RolesDeleteData constructor expects array, array\\\\|false given\\.$#" - count: 1 - path: src/bundle/Controller/RoleController.php - - - - message: "#^Method Ibexa\\\\Bundle\\\\AdminUi\\\\Controller\\\\SectionController\\:\\:getSectionsNumbers\\(\\) should return array but returns array\\\\|false\\.$#" - count: 1 - path: src/bundle/Controller/SectionController.php - - - - message: "#^Parameter \\#2 \\$pieces of function implode expects array, array\\\\|false given\\.$#" - count: 1 - path: src/bundle/Templating/Twig/UniversalDiscoveryExtension.php - - - - message: "#^Parameter \\#1 \\$obj of function date_format expects DateTimeInterface, DateTime\\|false given\\.$#" - count: 4 - path: src/lib/Behat/Component/Fields/DateAndTime.php - - - - message: "#^Parameter \\#1 \\$obj of function date_format expects DateTimeInterface, DateTime\\|false given\\.$#" - count: 4 - path: src/lib/Behat/Component/Fields/Time.php - - - - message: "#^Parameter \\#2 \\$start of function substr expects int, int\\<0, max\\>\\|false given\\.$#" - count: 1 - path: src/lib/Behat/Page/RolePage.php - - - - message: "#^Parameter \\#1 \\$input of function array_filter expects array, iterable\\ given\\.$#" - count: 1 - path: src/lib/EventListener/ContentProxyCreateDraftListener.php - - - - message: "#^Parameter \\#1 \\$arr1 of function array_merge expects array, array\\|null given\\.$#" - count: 1 - path: src/lib/Form/DataTransformer/FieldType/BinaryFileValueTransformer.php - - - - message: "#^Parameter \\#1 \\$arr1 of function array_merge expects array, array\\|null given\\.$#" - count: 1 - path: src/lib/Form/DataTransformer/FieldType/ImageAssetValueTransformer.php - - - - message: "#^Parameter \\#1 \\$arr1 of function array_merge expects array, array\\|null given\\.$#" - count: 1 - path: src/lib/Form/DataTransformer/FieldType/ImageValueTransformer.php - - - - message: "#^Parameter \\#1 \\$arr1 of function array_merge expects array, array\\|null given\\.$#" - count: 1 - path: src/lib/Form/DataTransformer/FieldType/MediaValueTransformer.php - - - - message: "#^Parameter \\#1 \\$input of function array_filter expects array, iterable\\ given\\.$#" - count: 1 - path: src/lib/Form/EventListener/AddLanguageFieldBasedOnContentListener.php - - - - message: "#^Parameter \\#2 \\$pieces of function implode expects array, array\\|null given\\.$#" - count: 2 - path: src/lib/Form/Factory/FormFactory.php - - - - message: "#^Parameter \\#1 \\$input of function array_filter expects array, iterable\\ given\\.$#" - count: 1 - path: src/lib/Form/Type/ChoiceList/Loader/AvailableTranslationLanguageChoiceLoader.php - - - - message: "#^Parameter \\#1 \\$input of function array_filter expects array, iterable\\ given\\.$#" - count: 1 - path: src/lib/Form/Type/ChoiceList/Loader/BaseTranslationLanguageChoiceLoader.php - - - - message: "#^Parameter \\#1 \\$input of function array_filter expects array, iterable\\ given\\.$#" - count: 2 - path: src/lib/Form/Type/ChoiceList/Loader/ContentEditTranslationChoiceLoader.php - - - - message: "#^Parameter \\#1 \\$array_arg of function usort expects TArray of array\\, iterable\\ given\\.$#" - count: 1 - path: src/lib/Form/Type/ChoiceList/Loader/ContentTypeChoiceLoader.php - - - - message: "#^Parameter \\#1 \\$s1 of function strnatcasecmp expects string, string\\|null given\\.$#" - count: 1 - path: src/lib/Form/Type/ChoiceList/Loader/ContentTypeChoiceLoader.php - - - - message: "#^Parameter \\#2 \\$s2 of function strnatcasecmp expects string, string\\|null given\\.$#" - count: 1 - path: src/lib/Form/Type/ChoiceList/Loader/ContentTypeChoiceLoader.php - - - - message: "#^Parameter \\#1 \\$input of function array_filter expects array, iterable\\ given\\.$#" - count: 1 - path: src/lib/Form/Type/Content/Translation/TranslationAddType.php - - - - message: "#^Parameter \\#1 \\$input of function array_filter expects array, iterable\\ given\\.$#" - count: 1 - path: src/lib/Form/Type/ContentType/Translation/TranslationAddType.php - - - - message: "#^Parameter \\#1 \\$str of function strtolower expects string, string\\|null given\\.$#" - count: 1 - path: src/lib/Form/Type/FieldDefinition/User/PasswordConstraintCheckboxType.php - - - - message: "#^Parameter \\#1 \\$input of function array_filter expects array, iterable\\ given\\.$#" - count: 1 - path: src/lib/Form/Type/ObjectState/ContentObjectStateUpdateType.php - - - - message: "#^Parameter \\#1 \\$input of function array_filter expects array, iterable\\ given\\.$#" - count: 1 - path: src/lib/Pagination/Mapper/AbstractPagerContentToDataMapper.php - - - - message: "#^Parameter \\#1 \\$var of function count expects array\\|Countable, iterable\\ given\\.$#" - count: 1 - path: src/lib/Permission/PermissionChecker.php - - - - message: "#^Parameter \\#1 \\$input of function array_filter expects array, iterable\\ given\\.$#" - count: 1 - path: src/lib/Tab/Dashboard/PagerLocationToDataMapper.php - - - - message: "#^Parameter \\#1 \\$input of function array_filter expects array, iterable\\ given\\.$#" - count: 1 - path: src/lib/Tab/LocationView/ContentTab.php - - - - message: "#^Method Ibexa\\\\AdminUi\\\\Tab\\\\LocationView\\\\LocationsTab\\:\\:getLocationChoices\\(\\) should return array but returns array\\\\|false\\.$#" - count: 1 - path: src/lib/Tab/LocationView/LocationsTab.php - - - - message: "#^Parameter \\#2 \\$languageCodes of class Ibexa\\\\AdminUi\\\\Form\\\\Data\\\\Content\\\\Translation\\\\TranslationDeleteData constructor expects array, array\\\\|false given\\.$#" - count: 1 - path: src/lib/Tab/LocationView/TranslationsTab.php - - - - message: "#^Method Ibexa\\\\AdminUi\\\\Tab\\\\LocationView\\\\UrlsTab\\:\\:getChoices\\(\\) should return array but returns array\\\\|false\\.$#" - count: 1 - path: src/lib/Tab/LocationView/UrlsTab.php - - - - message: "#^Method Ibexa\\\\AdminUi\\\\Tab\\\\LocationView\\\\VersionsTab\\:\\:getVersionNumbers\\(\\) should return array but returns array\\\\|false\\.$#" - count: 1 - path: src/lib/Tab/LocationView/VersionsTab.php - - - - message: "#^Parameter \\#1 \\$array_arg of function usort expects TArray of array\\, iterable\\ given\\.$#" - count: 1 - path: src/lib/UI/Config/Provider/ContentTypes.php - - - - message: "#^Parameter \\#1 \\$s1 of function strnatcasecmp expects string, string\\|null given\\.$#" - count: 1 - path: src/lib/UI/Config/Provider/ContentTypes.php - - - - message: "#^Parameter \\#2 \\$s2 of function strnatcasecmp expects string, string\\|null given\\.$#" - count: 1 - path: src/lib/UI/Config/Provider/ContentTypes.php - - - - message: "#^Parameter \\#2 \\$size of function array_chunk expects int\\<1, max\\>, int given\\.$#" - count: 1 - path: src/lib/UI/Module/ContentTree/NodeFactory.php - - - - message: "#^Parameter \\#1 \\$iterator of function iterator_to_array expects Traversable, iterable\\ given\\.$#" - count: 1 - path: src/lib/Siteaccess/SiteaccessResolver.php - - - - message: "#^Parameter \\#1 \\$iterator of function iterator_to_array expects Traversable, iterable\\ given\\.$#" - count: 1 - path: tests/lib/Form/Data/ContentTypeDataTest.php diff --git a/phpstan-baseline-8.0.neon b/phpstan-baseline-8.0.neon deleted file mode 100644 index 6c4241f32a..0000000000 --- a/phpstan-baseline-8.0.neon +++ /dev/null @@ -1,201 +0,0 @@ -parameters: - ignoreErrors: - - - message: "#^Parameter \\#1 \\$array of function array_shift expects array, iterable\\ given\\.$#" - count: 1 - path: src/bundle/Controller/Content/VersionDraftConflictController.php - - - - message: "#^Parameter \\#1 \\$array of function array_keys expects array, array\\|null given\\.$#" - count: 1 - path: src/bundle/Controller/ContentDraftController.php - - - - message: "#^Parameter \\#1 \\$array of function usort expects TArray of array\\, iterable\\ given\\.$#" - count: 1 - path: src/bundle/Controller/ContentTypeController.php - - - - message: "#^Parameter \\#1 \\$string1 of function strnatcasecmp expects string, string\\|null given\\.$#" - count: 1 - path: src/bundle/Controller/ContentTypeController.php - - - - message: "#^Parameter \\#2 \\$string2 of function strnatcasecmp expects string, string\\|null given\\.$#" - count: 1 - path: src/bundle/Controller/ContentTypeController.php - - - - message: "#^Parameter \\#1 \\$value of function count expects array\\|Countable, iterable\\ given\\.$#" - count: 1 - path: src/bundle/Controller/ContentTypeGroupController.php - - - - message: "#^Parameter \\#1 \\$array of function array_shift expects array, iterable\\ given\\.$#" - count: 1 - path: src/bundle/Controller/ContentViewController.php - - - - message: "#^Parameter \\#1 \\$value of function count expects array\\|Countable, iterable\\ given\\.$#" - count: 1 - path: src/bundle/Controller/ContentViewController.php - - - - message: "#^Parameter \\#1 \\$separator of function explode expects non\\-empty\\-string, string given\\.$#" - count: 1 - path: src/bundle/Templating/Twig/UniversalDiscoveryExtension.php - - - - message: "#^Parameter \\#1 \\$object of function date_format expects DateTimeInterface, DateTime\\|false given\\.$#" - count: 4 - path: src/lib/Behat/Component/Fields/DateAndTime.php - - - - message: "#^Parameter \\#1 \\$object of function date_format expects DateTimeInterface, DateTime\\|false given\\.$#" - count: 4 - path: src/lib/Behat/Component/Fields/Time.php - - - - message: "#^Parameter \\#2 \\$offset of function substr expects int, int\\<0, max\\>\\|false given\\.$#" - count: 1 - path: src/lib/Behat/Page/RolePage.php - - - - message: "#^Parameter \\#1 \\$array of function array_filter expects array, iterable\\ given\\.$#" - count: 1 - path: src/lib/EventListener/ContentProxyCreateDraftListener.php - - - - message: "#^Parameter \\#1 \\.\\.\\.\\$arrays of function array_merge expects array, array\\|null given\\.$#" - count: 1 - path: src/lib/Form/DataTransformer/FieldType/BinaryFileValueTransformer.php - - - - message: "#^Parameter \\#1 \\.\\.\\.\\$arrays of function array_merge expects array, array\\|null given\\.$#" - count: 1 - path: src/lib/Form/DataTransformer/FieldType/ImageAssetValueTransformer.php - - - - message: "#^Parameter \\#1 \\.\\.\\.\\$arrays of function array_merge expects array, array\\|null given\\.$#" - count: 1 - path: src/lib/Form/DataTransformer/FieldType/ImageValueTransformer.php - - - - message: "#^Parameter \\#1 \\.\\.\\.\\$arrays of function array_merge expects array, array\\|null given\\.$#" - count: 1 - path: src/lib/Form/DataTransformer/FieldType/MediaValueTransformer.php - - - - message: "#^Parameter \\#1 \\$array of function array_filter expects array, iterable\\ given\\.$#" - count: 1 - path: src/lib/Form/EventListener/AddLanguageFieldBasedOnContentListener.php - - - - message: "#^Parameter \\#1 \\$array of function array_filter expects array, iterable\\ given\\.$#" - count: 1 - path: src/lib/Form/Type/ChoiceList/Loader/AvailableTranslationLanguageChoiceLoader.php - - - - message: "#^Parameter \\#1 \\$array of function array_filter expects array, iterable\\ given\\.$#" - count: 1 - path: src/lib/Form/Type/ChoiceList/Loader/BaseTranslationLanguageChoiceLoader.php - - - - message: "#^Parameter \\#1 \\$array of function array_filter expects array, iterable\\ given\\.$#" - count: 2 - path: src/lib/Form/Type/ChoiceList/Loader/ContentEditTranslationChoiceLoader.php - - - - message: "#^Parameter \\#1 \\$array of function usort expects TArray of array\\, iterable\\ given\\.$#" - count: 1 - path: src/lib/Form/Type/ChoiceList/Loader/ContentTypeChoiceLoader.php - - - - message: "#^Parameter \\#1 \\$string1 of function strnatcasecmp expects string, string\\|null given\\.$#" - count: 1 - path: src/lib/Form/Type/ChoiceList/Loader/ContentTypeChoiceLoader.php - - - - message: "#^Parameter \\#2 \\$string2 of function strnatcasecmp expects string, string\\|null given\\.$#" - count: 1 - path: src/lib/Form/Type/ChoiceList/Loader/ContentTypeChoiceLoader.php - - - - message: "#^Parameter \\#1 \\$array of function array_filter expects array, iterable\\ given\\.$#" - count: 1 - path: src/lib/Form/Type/Content/Translation/TranslationAddType.php - - - - message: "#^Parameter \\#1 \\$array of function array_filter expects array, iterable\\ given\\.$#" - count: 1 - path: src/lib/Form/Type/ContentType/Translation/TranslationAddType.php - - - - message: "#^Parameter \\#1 \\$string of function strtolower expects string, string\\|null given\\.$#" - count: 1 - path: src/lib/Form/Type/FieldDefinition/User/PasswordConstraintCheckboxType.php - - - - message: "#^Parameter \\#1 \\$array of function array_filter expects array, iterable\\ given\\.$#" - count: 1 - path: src/lib/Form/Type/ObjectState/ContentObjectStateUpdateType.php - - - - message: "#^Parameter \\#1 \\$array of function array_filter expects array, iterable\\ given\\.$#" - count: 1 - path: src/lib/Pagination/Mapper/AbstractPagerContentToDataMapper.php - - - - message: "#^Parameter \\#1 \\$value of function count expects array\\|Countable, iterable\\ given\\.$#" - count: 1 - path: src/lib/Permission/PermissionChecker.php - - - - message: "#^Parameter \\#1 \\$array of function array_filter expects array, iterable\\ given\\.$#" - count: 1 - path: src/lib/Tab/Dashboard/PagerLocationToDataMapper.php - - - - message: "#^Parameter \\#1 \\$array of function array_filter expects array, iterable\\ given\\.$#" - count: 1 - path: src/lib/Tab/LocationView/ContentTab.php - - - - message: "#^Parameter \\#1 \\$array of function usort expects TArray of array\\, iterable\\ given\\.$#" - count: 1 - path: src/lib/UI/Config/Provider/ContentTypes.php - - - - message: "#^Parameter \\#1 \\$string1 of function strnatcasecmp expects string, string\\|null given\\.$#" - count: 1 - path: src/lib/UI/Config/Provider/ContentTypes.php - - - - message: "#^Parameter \\#2 \\$string2 of function strnatcasecmp expects string, string\\|null given\\.$#" - count: 1 - path: src/lib/UI/Config/Provider/ContentTypes.php - - - - message: "#^Parameter \\#2 \\$length of function array_chunk expects int\\<1, max\\>, int given\\.$#" - count: 1 - path: src/lib/UI/Module/ContentTree/NodeFactory.php - - - - message: "#^Deprecated in PHP 8\\.0\\: Required parameter \\$translator follows optional parameter \\$name\\.$#" - count: 1 - path: tests/lib/Tab/TabRegistryTest.php - - - - message: "#^Deprecated in PHP 8\\.0\\: Required parameter \\$twig follows optional parameter \\$name\\.$#" - count: 1 - path: tests/lib/Tab/TabRegistryTest.php - - - - message: "#^Parameter \\#1 \\$iterator of function iterator_to_array expects Traversable, iterable\\ given\\.$#" - count: 1 - path: src/lib/Siteaccess/SiteaccessResolver.php - - - - message: "#^Parameter \\#1 \\$iterator of function iterator_to_array expects Traversable, iterable\\ given\\.$#" - count: 1 - path: tests/lib/Form/Data/ContentTypeDataTest.php diff --git a/phpstan-baseline-8.3.neon b/phpstan-baseline-8.3.neon deleted file mode 100644 index 65330a0eb8..0000000000 --- a/phpstan-baseline-8.3.neon +++ /dev/null @@ -1,191 +0,0 @@ -parameters: - ignoreErrors: - - - message: "#^Parameter \\#1 \\$array of function array_shift expects array, iterable\\ given\\.$#" - count: 1 - path: src/bundle/Controller/Content/VersionDraftConflictController.php - - - - message: "#^Parameter \\#1 \\$array of function array_keys expects array, array\\|null given\\.$#" - count: 1 - path: src/bundle/Controller/ContentDraftController.php - - - - message: "#^Parameter \\#1 \\$array of function usort expects TArray of array\\, iterable\\ given\\.$#" - count: 1 - path: src/bundle/Controller/ContentTypeController.php - - - - message: "#^Parameter \\#1 \\$string1 of function strnatcasecmp expects string, string\\|null given\\.$#" - count: 1 - path: src/bundle/Controller/ContentTypeController.php - - - - message: "#^Parameter \\#2 \\$string2 of function strnatcasecmp expects string, string\\|null given\\.$#" - count: 1 - path: src/bundle/Controller/ContentTypeController.php - - - - message: "#^Parameter \\#1 \\$value of function count expects array\\|Countable, iterable\\ given\\.$#" - count: 1 - path: src/bundle/Controller/ContentTypeGroupController.php - - - - message: "#^Parameter \\#1 \\$array of function array_shift expects array, iterable\\ given\\.$#" - count: 1 - path: src/bundle/Controller/ContentViewController.php - - - - message: "#^Parameter \\#1 \\$value of function count expects array\\|Countable, iterable\\ given\\.$#" - count: 1 - path: src/bundle/Controller/ContentViewController.php - - - - message: "#^Parameter \\#1 \\$separator of function explode expects non\\-empty\\-string, string given\\.$#" - count: 1 - path: src/bundle/Templating/Twig/UniversalDiscoveryExtension.php - - - - message: "#^Parameter \\#1 \\$object of function date_format expects DateTimeInterface, DateTime\\|false given\\.$#" - count: 4 - path: src/lib/Behat/Component/Fields/DateAndTime.php - - - - message: "#^Parameter \\#1 \\$object of function date_format expects DateTimeInterface, DateTime\\|false given\\.$#" - count: 4 - path: src/lib/Behat/Component/Fields/Time.php - - - - message: "#^Parameter \\#2 \\$offset of function substr expects int, int\\<0, max\\>\\|false given\\.$#" - count: 1 - path: src/lib/Behat/Page/RolePage.php - - - - message: "#^Parameter \\#1 \\$array of function array_filter expects array, iterable\\ given\\.$#" - count: 1 - path: src/lib/EventListener/ContentProxyCreateDraftListener.php - - - - message: "#^Parameter \\#1 \\.\\.\\.\\$arrays of function array_merge expects array, array\\|null given\\.$#" - count: 1 - path: src/lib/Form/DataTransformer/FieldType/BinaryFileValueTransformer.php - - - - message: "#^Parameter \\#1 \\.\\.\\.\\$arrays of function array_merge expects array, array\\|null given\\.$#" - count: 1 - path: src/lib/Form/DataTransformer/FieldType/ImageAssetValueTransformer.php - - - - message: "#^Parameter \\#1 \\.\\.\\.\\$arrays of function array_merge expects array, array\\|null given\\.$#" - count: 1 - path: src/lib/Form/DataTransformer/FieldType/ImageValueTransformer.php - - - - message: "#^Parameter \\#1 \\.\\.\\.\\$arrays of function array_merge expects array, array\\|null given\\.$#" - count: 1 - path: src/lib/Form/DataTransformer/FieldType/MediaValueTransformer.php - - - - message: "#^Parameter \\#1 \\$array of function array_filter expects array, iterable\\ given\\.$#" - count: 1 - path: src/lib/Form/EventListener/AddLanguageFieldBasedOnContentListener.php - - - - message: "#^Parameter \\#1 \\$array of function array_filter expects array, iterable\\ given\\.$#" - count: 1 - path: src/lib/Form/Type/ChoiceList/Loader/AvailableTranslationLanguageChoiceLoader.php - - - - message: "#^Parameter \\#1 \\$array of function array_filter expects array, iterable\\ given\\.$#" - count: 1 - path: src/lib/Form/Type/ChoiceList/Loader/BaseTranslationLanguageChoiceLoader.php - - - - message: "#^Parameter \\#1 \\$array of function array_filter expects array, iterable\\ given\\.$#" - count: 2 - path: src/lib/Form/Type/ChoiceList/Loader/ContentEditTranslationChoiceLoader.php - - - - message: "#^Parameter \\#1 \\$array of function usort expects TArray of array\\, iterable\\ given\\.$#" - count: 1 - path: src/lib/Form/Type/ChoiceList/Loader/ContentTypeChoiceLoader.php - - - - message: "#^Parameter \\#1 \\$string1 of function strnatcasecmp expects string, string\\|null given\\.$#" - count: 1 - path: src/lib/Form/Type/ChoiceList/Loader/ContentTypeChoiceLoader.php - - - - message: "#^Parameter \\#2 \\$string2 of function strnatcasecmp expects string, string\\|null given\\.$#" - count: 1 - path: src/lib/Form/Type/ChoiceList/Loader/ContentTypeChoiceLoader.php - - - - message: "#^Parameter \\#1 \\$array of function array_filter expects array, iterable\\ given\\.$#" - count: 1 - path: src/lib/Form/Type/Content/Translation/TranslationAddType.php - - - - message: "#^Parameter \\#1 \\$array of function array_filter expects array, iterable\\ given\\.$#" - count: 1 - path: src/lib/Form/Type/ContentType/Translation/TranslationAddType.php - - - - message: "#^Parameter \\#1 \\$string of function strtolower expects string, string\\|null given\\.$#" - count: 1 - path: src/lib/Form/Type/FieldDefinition/User/PasswordConstraintCheckboxType.php - - - - message: "#^Parameter \\#1 \\$array of function array_filter expects array, iterable\\ given\\.$#" - count: 1 - path: src/lib/Form/Type/ObjectState/ContentObjectStateUpdateType.php - - - - message: "#^Parameter \\#1 \\$array of function array_filter expects array, iterable\\ given\\.$#" - count: 1 - path: src/lib/Pagination/Mapper/AbstractPagerContentToDataMapper.php - - - - message: "#^Parameter \\#1 \\$value of function count expects array\\|Countable, iterable\\ given\\.$#" - count: 1 - path: src/lib/Permission/PermissionChecker.php - - - - message: "#^Parameter \\#1 \\$array of function array_filter expects array, iterable\\ given\\.$#" - count: 1 - path: src/lib/Tab/Dashboard/PagerLocationToDataMapper.php - - - - message: "#^Parameter \\#1 \\$array of function array_filter expects array, iterable\\ given\\.$#" - count: 1 - path: src/lib/Tab/LocationView/ContentTab.php - - - - message: "#^Parameter \\#1 \\$array of function usort expects TArray of array\\, iterable\\ given\\.$#" - count: 1 - path: src/lib/UI/Config/Provider/ContentTypes.php - - - - message: "#^Parameter \\#1 \\$string1 of function strnatcasecmp expects string, string\\|null given\\.$#" - count: 1 - path: src/lib/UI/Config/Provider/ContentTypes.php - - - - message: "#^Parameter \\#2 \\$string2 of function strnatcasecmp expects string, string\\|null given\\.$#" - count: 1 - path: src/lib/UI/Config/Provider/ContentTypes.php - - - - message: "#^Parameter \\#2 \\$length of function array_chunk expects int\\<1, max\\>, int given\\.$#" - count: 1 - path: src/lib/UI/Module/ContentTree/NodeFactory.php - - - - message: "#^Deprecated in PHP 8\\.0\\: Required parameter \\$translator follows optional parameter \\$name\\.$#" - count: 1 - path: tests/lib/Tab/TabRegistryTest.php - - - - message: "#^Deprecated in PHP 8\\.0\\: Required parameter \\$twig follows optional parameter \\$name\\.$#" - count: 1 - path: tests/lib/Tab/TabRegistryTest.php diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon index 743a55d423..2d1c135599 100644 --- a/phpstan-baseline.neon +++ b/phpstan-baseline.neon @@ -75,6 +75,11 @@ parameters: count: 1 path: src/bundle/Controller/BulkOperation/BulkOperationController.php + - + message: "#^Parameter \\#1 \\$array of function array_shift expects array, iterable\\ given\\.$#" + count: 1 + path: src/bundle/Controller/Content/VersionDraftConflictController.php + - message: "#^Parameter \\#1 \\$locationId of method Ibexa\\\\Contracts\\\\Core\\\\Repository\\\\LocationService\\:\\:loadLocation\\(\\) expects int, int\\|null given\\.$#" count: 1 @@ -185,6 +190,11 @@ parameters: count: 1 path: src/bundle/Controller/ContentDraftController.php + - + message: "#^Parameter \\#1 \\$array of function array_keys expects array, array\\|null given\\.$#" + count: 1 + path: src/bundle/Controller/ContentDraftController.php + - message: "#^Method Ibexa\\\\Bundle\\\\AdminUi\\\\Controller\\\\ContentEditController\\:\\:proxyTranslateAction\\(\\) should return Symfony\\\\Component\\\\HttpFoundation\\\\Response but returns Symfony\\\\Component\\\\HttpFoundation\\\\Response\\|null\\.$#" count: 1 @@ -260,6 +270,11 @@ parameters: count: 1 path: src/bundle/Controller/ContentTypeController.php + - + message: "#^Parameter \\#1 \\$array of function usort expects TArray of array\\, iterable\\ given\\.$#" + count: 1 + path: src/bundle/Controller/ContentTypeController.php + - message: "#^Parameter \\#1 \\$contentType of method Ibexa\\\\Bundle\\\\AdminUi\\\\Controller\\\\ContentTypeController\\:\\:tryToCreateContentTypeDraft\\(\\) expects Ibexa\\\\Contracts\\\\Core\\\\Repository\\\\Values\\\\ContentType\\\\ContentType, Ibexa\\\\Contracts\\\\Core\\\\Repository\\\\Values\\\\ContentType\\\\ContentType\\|null given\\.$#" count: 2 @@ -275,6 +290,11 @@ parameters: count: 1 path: src/bundle/Controller/ContentTypeController.php + - + message: "#^Parameter \\#1 \\$string1 of function strnatcasecmp expects string, string\\|null given\\.$#" + count: 1 + path: src/bundle/Controller/ContentTypeController.php + - message: "#^Parameter \\#2 \\$handler of method Ibexa\\\\AdminUi\\\\Form\\\\SubmitHandler\\:\\:handle\\(\\) expects callable\\(mixed\\)\\: \\(Symfony\\\\Component\\\\HttpFoundation\\\\Response\\|null\\), Closure\\(\\)\\: void given\\.$#" count: 1 @@ -285,6 +305,11 @@ parameters: count: 1 path: src/bundle/Controller/ContentTypeController.php + - + message: "#^Parameter \\#2 \\$string2 of function strnatcasecmp expects string, string\\|null given\\.$#" + count: 1 + path: src/bundle/Controller/ContentTypeController.php + - message: "#^Variable \\$contentTypeGroupList in PHPDoc tag @var does not match assigned variable \\$types\\.$#" count: 1 @@ -320,6 +345,11 @@ parameters: count: 1 path: src/bundle/Controller/ContentTypeGroupController.php + - + message: "#^Parameter \\#1 \\$value of function count expects array\\|Countable, iterable\\ given\\.$#" + count: 1 + path: src/bundle/Controller/ContentTypeGroupController.php + - message: "#^Parameter \\#2 \\$handler of method Ibexa\\\\AdminUi\\\\Form\\\\SubmitHandler\\:\\:handle\\(\\) expects callable\\(mixed\\)\\: \\(Symfony\\\\Component\\\\HttpFoundation\\\\Response\\|null\\), Closure\\(Ibexa\\\\AdminUi\\\\Form\\\\Data\\\\ContentTypeGroup\\\\ContentTypeGroupDeleteData\\)\\: void given\\.$#" count: 1 @@ -375,11 +405,21 @@ parameters: count: 1 path: src/bundle/Controller/ContentViewController.php + - + message: "#^Parameter \\#1 \\$array of function array_shift expects array, iterable\\ given\\.$#" + count: 1 + path: src/bundle/Controller/ContentViewController.php + - message: "#^Parameter \\#1 \\$location of method Ibexa\\\\AdminUi\\\\UI\\\\Service\\\\PathService\\:\\:loadPathLocations\\(\\) expects Ibexa\\\\Contracts\\\\Core\\\\Repository\\\\Values\\\\Content\\\\Location, Ibexa\\\\Contracts\\\\Core\\\\Repository\\\\Values\\\\Content\\\\Location\\|null given\\.$#" count: 1 path: src/bundle/Controller/ContentViewController.php + - + message: "#^Parameter \\#1 \\$value of function count expects array\\|Countable, iterable\\ given\\.$#" + count: 1 + path: src/bundle/Controller/ContentViewController.php + - message: "#^Property Ibexa\\\\Bundle\\\\AdminUi\\\\Controller\\\\ContentViewController\\:\\:\\$contentService is never read, only written\\.$#" count: 1 @@ -1355,6 +1395,11 @@ parameters: count: 1 path: src/bundle/Templating/Twig/UniversalDiscoveryExtension.php + - + message: "#^Parameter \\#1 \\$separator of function explode expects non\\-empty\\-string, string given\\.$#" + count: 1 + path: src/bundle/Templating/Twig/UniversalDiscoveryExtension.php + - message: "#^Method Ibexa\\\\Bundle\\\\AdminUi\\\\Templating\\\\Twig\\\\UserPreferencesGlobalExtension\\:\\:getGlobals\\(\\) return type has no value type specified in iterable type array\\.$#" count: 1 @@ -2265,6 +2310,11 @@ parameters: count: 2 path: src/lib/Behat/Component/Fields/DateAndTime.php + - + message: "#^Parameter \\#1 \\$object of function date_format expects DateTimeInterface, DateTime\\|false given\\.$#" + count: 4 + path: src/lib/Behat/Component/Fields/DateAndTime.php + - message: "#^Method Ibexa\\\\AdminUi\\\\Behat\\\\Component\\\\Fields\\\\FieldTypeComponent\\:\\:getValue\\(\\) return type has no value type specified in iterable type array\\.$#" count: 1 @@ -2555,6 +2605,11 @@ parameters: count: 1 path: src/lib/Behat/Component/Fields/Time.php + - + message: "#^Parameter \\#1 \\$object of function date_format expects DateTimeInterface, DateTime\\|false given\\.$#" + count: 4 + path: src/lib/Behat/Component/Fields/Time.php + - message: "#^Method Ibexa\\\\AdminUi\\\\Behat\\\\Component\\\\Fields\\\\URL\\:\\:getValue\\(\\) return type has no value type specified in iterable type array\\.$#" count: 1 @@ -3170,6 +3225,11 @@ parameters: count: 2 path: src/lib/Behat/Page/RolePage.php + - + message: "#^Parameter \\#2 \\$offset of function substr expects int, int\\<0, max\\>\\|false given\\.$#" + count: 1 + path: src/lib/Behat/Page/RolePage.php + - message: "#^Property Ibexa\\\\AdminUi\\\\Behat\\\\Page\\\\RolePage\\:\\:\\$assignments \\(Ibexa\\\\AdminUi\\\\Behat\\\\Component\\\\Table\\\\Table\\) does not accept Ibexa\\\\AdminUi\\\\Behat\\\\Component\\\\Table\\\\TableInterface\\.$#" count: 1 @@ -3605,6 +3665,11 @@ parameters: count: 1 path: src/lib/EventListener/ContentProxyCreateDraftListener.php + - + message: "#^Parameter \\#1 \\$array of function array_filter expects array, iterable\\ given\\.$#" + count: 1 + path: src/lib/EventListener/ContentProxyCreateDraftListener.php + - message: "#^Method Ibexa\\\\AdminUi\\\\EventListener\\\\ContentTranslateViewFilterParametersListener\\:\\:getSubscribedEvents\\(\\) return type has no value type specified in iterable type array\\.$#" count: 1 @@ -5400,6 +5465,11 @@ parameters: count: 1 path: src/lib/Form/DataTransformer/FieldType/BinaryFileValueTransformer.php + - + message: "#^Parameter \\#1 \\.\\.\\.\\$arrays of function array_merge expects array, array\\|null given\\.$#" + count: 1 + path: src/lib/Form/DataTransformer/FieldType/BinaryFileValueTransformer.php + - message: "#^Strict comparison using \\=\\=\\= between null and Ibexa\\\\Core\\\\FieldType\\\\BinaryFile\\\\Value will always evaluate to false\\.$#" count: 1 @@ -5450,6 +5520,11 @@ parameters: count: 1 path: src/lib/Form/DataTransformer/FieldType/ImageAssetValueTransformer.php + - + message: "#^Parameter \\#1 \\.\\.\\.\\$arrays of function array_merge expects array, array\\|null given\\.$#" + count: 1 + path: src/lib/Form/DataTransformer/FieldType/ImageAssetValueTransformer.php + - message: "#^Class Ibexa\\\\AdminUi\\\\Form\\\\DataTransformer\\\\FieldType\\\\ImageValueTransformer implements generic interface Symfony\\\\Component\\\\Form\\\\DataTransformerInterface but does not specify its types\\: T, R$#" count: 1 @@ -5465,6 +5540,11 @@ parameters: count: 1 path: src/lib/Form/DataTransformer/FieldType/ImageValueTransformer.php + - + message: "#^Parameter \\#1 \\.\\.\\.\\$arrays of function array_merge expects array, array\\|null given\\.$#" + count: 1 + path: src/lib/Form/DataTransformer/FieldType/ImageValueTransformer.php + - message: "#^Strict comparison using \\=\\=\\= between null and Ibexa\\\\Core\\\\FieldType\\\\Image\\\\Value will always evaluate to false\\.$#" count: 1 @@ -5490,6 +5570,11 @@ parameters: count: 1 path: src/lib/Form/DataTransformer/FieldType/MediaValueTransformer.php + - + message: "#^Parameter \\#1 \\.\\.\\.\\$arrays of function array_merge expects array, array\\|null given\\.$#" + count: 1 + path: src/lib/Form/DataTransformer/FieldType/MediaValueTransformer.php + - message: "#^Strict comparison using \\=\\=\\= between null and Ibexa\\\\Core\\\\FieldType\\\\Media\\\\Value will always evaluate to false\\.$#" count: 1 @@ -5715,6 +5800,11 @@ parameters: count: 1 path: src/lib/Form/EventListener/AddLanguageFieldBasedOnContentListener.php + - + message: "#^Parameter \\#1 \\$array of function array_filter expects array, iterable\\ given\\.$#" + count: 1 + path: src/lib/Form/EventListener/AddLanguageFieldBasedOnContentListener.php + - message: "#^Method Ibexa\\\\AdminUi\\\\Form\\\\EventListener\\\\DisableSiteRootCheckboxIfRootLocationListener\\:\\:onPreSetData\\(\\) has no return type specified\\.$#" count: 1 @@ -6105,6 +6195,11 @@ parameters: count: 1 path: src/lib/Form/Type/ChoiceList/Loader/AvailableTranslationLanguageChoiceLoader.php + - + message: "#^Parameter \\#1 \\$array of function array_filter expects array, iterable\\ given\\.$#" + count: 1 + path: src/lib/Form/Type/ChoiceList/Loader/AvailableTranslationLanguageChoiceLoader.php + - message: "#^Method Ibexa\\\\AdminUi\\\\Form\\\\Type\\\\ChoiceList\\\\Loader\\\\BaseChoiceLoader\\:\\:getChoiceList\\(\\) return type has no value type specified in iterable type array\\.$#" count: 1 @@ -6115,6 +6210,11 @@ parameters: count: 1 path: src/lib/Form/Type/ChoiceList/Loader/BaseTranslationLanguageChoiceLoader.php + - + message: "#^Parameter \\#1 \\$array of function array_filter expects array, iterable\\ given\\.$#" + count: 1 + path: src/lib/Form/Type/ChoiceList/Loader/BaseTranslationLanguageChoiceLoader.php + - message: "#^Method Ibexa\\\\AdminUi\\\\Form\\\\Type\\\\ChoiceList\\\\Loader\\\\ConfiguredLanguagesChoiceLoader\\:\\:getChoiceList\\(\\) return type has no value type specified in iterable type array\\.$#" count: 1 @@ -6145,6 +6245,11 @@ parameters: count: 1 path: src/lib/Form/Type/ChoiceList/Loader/ContentEditTranslationChoiceLoader.php + - + message: "#^Parameter \\#1 \\$array of function array_filter expects array, iterable\\ given\\.$#" + count: 2 + path: src/lib/Form/Type/ChoiceList/Loader/ContentEditTranslationChoiceLoader.php + - message: "#^Parameter \\#1 \\$locationId of method Ibexa\\\\Contracts\\\\Core\\\\Repository\\\\LocationService\\:\\:loadLocation\\(\\) expects int, int\\|null given\\.$#" count: 1 @@ -6160,6 +6265,21 @@ parameters: count: 1 path: src/lib/Form/Type/ChoiceList/Loader/ContentTypeChoiceLoader.php + - + message: "#^Parameter \\#1 \\$array of function usort expects TArray of array\\, iterable\\ given\\.$#" + count: 1 + path: src/lib/Form/Type/ChoiceList/Loader/ContentTypeChoiceLoader.php + + - + message: "#^Parameter \\#1 \\$string1 of function strnatcasecmp expects string, string\\|null given\\.$#" + count: 1 + path: src/lib/Form/Type/ChoiceList/Loader/ContentTypeChoiceLoader.php + + - + message: "#^Parameter \\#2 \\$string2 of function strnatcasecmp expects string, string\\|null given\\.$#" + count: 1 + path: src/lib/Form/Type/ChoiceList/Loader/ContentTypeChoiceLoader.php + - message: "#^Method Ibexa\\\\AdminUi\\\\Form\\\\Type\\\\ChoiceList\\\\Loader\\\\DatePeriodChoiceLoader\\:\\:getChoiceList\\(\\) return type has no value type specified in iterable type array\\.$#" count: 1 @@ -6370,6 +6490,11 @@ parameters: count: 1 path: src/lib/Form/Type/Content/Translation/TranslationAddType.php + - + message: "#^Parameter \\#1 \\$array of function array_filter expects array, iterable\\ given\\.$#" + count: 1 + path: src/lib/Form/Type/Content/Translation/TranslationAddType.php + - message: "#^Parameter \\#1 \\$locationId of method Ibexa\\\\Contracts\\\\Core\\\\Repository\\\\LocationService\\:\\:loadLocation\\(\\) expects int, int\\|null given\\.$#" count: 1 @@ -6570,6 +6695,11 @@ parameters: count: 1 path: src/lib/Form/Type/ContentType/Translation/TranslationAddType.php + - + message: "#^Parameter \\#1 \\$array of function array_filter expects array, iterable\\ given\\.$#" + count: 1 + path: src/lib/Form/Type/ContentType/Translation/TranslationAddType.php + - message: "#^Method Ibexa\\\\AdminUi\\\\Form\\\\Type\\\\ContentType\\\\Translation\\\\TranslationRemoveType\\:\\:buildForm\\(\\) has no return type specified\\.$#" count: 1 @@ -6720,6 +6850,11 @@ parameters: count: 1 path: src/lib/Form/Type/FieldDefinition/FieldDefinitionType.php + - + message: "#^Parameter \\#1 \\$string of function strtolower expects string, string\\|null given\\.$#" + count: 1 + path: src/lib/Form/Type/FieldDefinition/User/PasswordConstraintCheckboxType.php + - message: "#^Method Ibexa\\\\AdminUi\\\\Form\\\\Type\\\\Language\\\\LanguageCreateType\\:\\:buildForm\\(\\) has no return type specified\\.$#" count: 1 @@ -6865,6 +7000,11 @@ parameters: count: 1 path: src/lib/Form/Type/ObjectState/ContentObjectStateUpdateType.php + - + message: "#^Parameter \\#1 \\$array of function array_filter expects array, iterable\\ given\\.$#" + count: 1 + path: src/lib/Form/Type/ObjectState/ContentObjectStateUpdateType.php + - message: "#^Method Ibexa\\\\AdminUi\\\\Form\\\\Type\\\\ObjectState\\\\ObjectStateChoiceType\\:\\:configureOptions\\(\\) has no return type specified\\.$#" count: 1 @@ -8135,6 +8275,11 @@ parameters: count: 1 path: src/lib/Pagination/Mapper/AbstractPagerContentToDataMapper.php + - + message: "#^Parameter \\#1 \\$array of function array_filter expects array, iterable\\ given\\.$#" + count: 1 + path: src/lib/Pagination/Mapper/AbstractPagerContentToDataMapper.php + - message: "#^Method Ibexa\\\\AdminUi\\\\Pagination\\\\Pagerfanta\\\\BookmarkAdapter\\:\\:getSlice\\(\\) return type has no value type specified in iterable type Traversable\\.$#" count: 1 @@ -8265,6 +8410,11 @@ parameters: count: 1 path: src/lib/Permission/PermissionChecker.php + - + message: "#^Parameter \\#1 \\$value of function count expects array\\|Countable, iterable\\ given\\.$#" + count: 1 + path: src/lib/Permission/PermissionChecker.php + - message: "#^Method Ibexa\\\\AdminUi\\\\QueryType\\\\LocationPathQueryType\\:\\:doGetQuery\\(\\) has parameter \\$parameters with no value type specified in iterable type array\\.$#" count: 1 @@ -8630,6 +8780,11 @@ parameters: count: 1 path: src/lib/Tab/Dashboard/MyMediaTab.php + - + message: "#^Parameter \\#1 \\$array of function array_filter expects array, iterable\\ given\\.$#" + count: 1 + path: src/lib/Tab/Dashboard/PagerLocationToDataMapper.php + - message: "#^Method Ibexa\\\\AdminUi\\\\Tab\\\\Event\\\\Subscriber\\\\ConditionalTabSubscriber\\:\\:getSubscribedEvents\\(\\) return type has no value type specified in iterable type array\\.$#" count: 1 @@ -8720,6 +8875,11 @@ parameters: count: 1 path: src/lib/Tab/LocationView/ContentTab.php + - + message: "#^Parameter \\#1 \\$array of function array_filter expects array, iterable\\ given\\.$#" + count: 1 + path: src/lib/Tab/LocationView/ContentTab.php + - message: "#^Access to protected property Ibexa\\\\AdminUi\\\\UI\\\\Value\\\\ObjectState\\\\ObjectState\\:\\:\\$objectStateGroup\\.$#" count: 1 @@ -9115,6 +9275,21 @@ parameters: count: 1 path: src/lib/UI/Config/Provider/Autosave.php + - + message: "#^Parameter \\#1 \\$array of function usort expects TArray of array\\, iterable\\ given\\.$#" + count: 1 + path: src/lib/UI/Config/Provider/ContentTypes.php + + - + message: "#^Parameter \\#1 \\$string1 of function strnatcasecmp expects string, string\\|null given\\.$#" + count: 1 + path: src/lib/UI/Config/Provider/ContentTypes.php + + - + message: "#^Parameter \\#2 \\$string2 of function strnatcasecmp expects string, string\\|null given\\.$#" + count: 1 + path: src/lib/UI/Config/Provider/ContentTypes.php + - message: "#^Offset 'dirname' does not exist on array\\{dirname\\?\\: string, basename\\: string, extension\\?\\: string, filename\\: string\\}\\.$#" count: 1 @@ -9420,6 +9595,11 @@ parameters: count: 1 path: src/lib/UI/Module/ContentTree/NodeFactory.php + - + message: "#^Parameter \\#2 \\$length of function array_chunk expects int\\<1, max\\>, int given\\.$#" + count: 1 + path: src/lib/UI/Module/ContentTree/NodeFactory.php + - message: "#^Generator expects value type Ibexa\\\\Contracts\\\\Core\\\\Repository\\\\FieldType, Ibexa\\\\Contracts\\\\Core\\\\FieldType\\\\FieldType given\\.$#" count: 1 @@ -12386,6 +12566,16 @@ parameters: count: 1 path: tests/lib/Tab/TabRegistryTest.php + - + message: "#^Deprecated in PHP 8\\.0\\: Required parameter \\$translator follows optional parameter \\$name\\.$#" + count: 1 + path: tests/lib/Tab/TabRegistryTest.php + + - + message: "#^Deprecated in PHP 8\\.0\\: Required parameter \\$twig follows optional parameter \\$name\\.$#" + count: 1 + path: tests/lib/Tab/TabRegistryTest.php + - message: "#^Method Ibexa\\\\Tests\\\\AdminUi\\\\Tab\\\\TabRegistryTest\\:\\:createTabGroup\\(\\) has parameter \\$tabs with no value type specified in iterable type array\\.$#" count: 1 diff --git a/phpstan-baseline.neon.php b/phpstan-baseline.neon.php deleted file mode 100644 index da44dc862c..0000000000 --- a/phpstan-baseline.neon.php +++ /dev/null @@ -1,21 +0,0 @@ -