Skip to content

Commit

Permalink
build(deps-dev): update phpstan/phpstan requirement from 1.4.5 to 1.4…
Browse files Browse the repository at this point in the history
….6 (#5066)

Co-authored-by: Gregor Harlan <330436+gharlan@users.noreply.github.com>
  • Loading branch information
dependabot[bot] and gharlan committed Mar 1, 2022
1 parent 769c1a5 commit b4afb9f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 21 deletions.
20 changes: 0 additions & 20 deletions .tools/phpstan/baseline.neon
Expand Up @@ -15,11 +15,6 @@ parameters:
count: 1
path: ../../redaxo/src/addons/install/lib/archive.php

-
message: "#^Method rex_media\\:\\:getInstanceList\\(\\) should return array\\<T of object\\> but returns array\\<int, mixed\\>\\.$#"
count: 1
path: ../../redaxo/src/addons/mediapool/lib/media.php

-
message: "#^Result of \\|\\| is always true\\.$#"
count: 1
Expand All @@ -30,11 +25,6 @@ parameters:
count: 1
path: ../../redaxo/src/addons/mediapool/lib/media.php

-
message: "#^Method rex_media_category\\:\\:getInstanceList\\(\\) should return array\\<T of object\\> but returns array\\<int, mixed\\>\\.$#"
count: 1
path: ../../redaxo/src/addons/mediapool/lib/media_category.php

-
message: "#^Result of \\|\\| is always true\\.$#"
count: 1
Expand Down Expand Up @@ -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\\<T of object\\> but returns array\\<int, mixed\\>\\.$#"
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
Expand Down Expand Up @@ -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\\<T of object\\> but returns array\\<int, mixed\\>\\.$#"
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
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Expand Up @@ -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",
Expand Down

0 comments on commit b4afb9f

Please sign in to comment.