diff --git a/.tools/phpstan/baseline.neon b/.tools/phpstan/baseline.neon index fc25d82999..df518d36f3 100644 --- a/.tools/phpstan/baseline.neon +++ b/.tools/phpstan/baseline.neon @@ -15,11 +15,6 @@ parameters: count: 1 path: ../../redaxo/src/addons/install/lib/archive.php - - - message: "#^Method rex_media\\:\\:getInstanceList\\(\\) should return array\\ but returns array\\\\.$#" - count: 1 - path: ../../redaxo/src/addons/mediapool/lib/media.php - - message: "#^Result of \\|\\| is always true\\.$#" count: 1 @@ -30,11 +25,6 @@ parameters: count: 1 path: ../../redaxo/src/addons/mediapool/lib/media.php - - - message: "#^Method rex_media_category\\:\\:getInstanceList\\(\\) should return array\\ but returns array\\\\.$#" - count: 1 - path: ../../redaxo/src/addons/mediapool/lib/media_category.php - - message: "#^Result of \\|\\| is always true\\.$#" count: 1 @@ -70,11 +60,6 @@ parameters: count: 3 path: ../../redaxo/src/addons/structure/lib/select_category.php - - - message: "#^Method rex_structure_element\\:\\:getInstanceList\\(\\) should return array\\ but returns array\\\\.$#" - count: 1 - path: ../../redaxo/src/addons/structure/lib/structure_element.php - - message: "#^Parameter \\#2 \\$createCallback of static method rex_structure_element\\:\\:getInstance\\(\\) expects \\(callable\\(\\.\\.\\.mixed\\)\\: static\\(rex_structure_element\\)\\|null\\)\\|null, Closure\\(mixed, mixed\\)\\: static\\(rex_structure_element\\)\\|null given\\.$#" count: 1 @@ -290,11 +275,6 @@ parameters: count: 1 path: ../../redaxo/src/core/lib/util/socket/socket.php - - - message: "#^Method rex_test_instance_list_pool\\:\\:getInstanceList\\(\\) should return array\\ but returns array\\\\.$#" - count: 1 - path: ../../redaxo/src/core/tests/base/instance_list_pool_trait_test.php - - message: "#^Parameter \\#2 \\$getInstanceCallback of static method rex_test_instance_list_pool\\:\\:getInstanceList\\(\\) expects callable\\(\\.\\.\\.mixed\\)\\: object\\|null, Closure\\(mixed, mixed\\)\\: void given\\.$#" count: 1 diff --git a/composer.json b/composer.json index b27eb79b8d..f330ca208a 100644 --- a/composer.json +++ b/composer.json @@ -14,7 +14,7 @@ "friendsofphp/php-cs-fixer": "3.4.0", "friendsofredaxo/linter": "1.3.0", "phpstan/extension-installer": "1.1.0", - "phpstan/phpstan": "1.4.5", + "phpstan/phpstan": "1.4.6", "phpstan/phpstan-deprecation-rules": "1.0.0", "phpstan/phpstan-phpunit": "1.0.0", "phpstan/phpstan-symfony": "1.1.7",