Skip to content

Commit

Permalink
[PHPStan] Regenerated baseline after PHPStan release (#324)
Browse files Browse the repository at this point in the history
* [PHPStan] Regenerated baseline after PHPStan release

* [PHPStan] Aligned PHP 7.4-dedicated baseline
  • Loading branch information
alongosz authored Jan 24, 2024
1 parent 025412e commit dcb200b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 25 deletions.
25 changes: 0 additions & 25 deletions phpstan-baseline-7.4.neon
Original file line number Diff line number Diff line change
Expand Up @@ -130,31 +130,6 @@ parameters:
count: 1
path: src/bundle/Core/Imagine/PlaceholderProvider/RemoteProvider.php

-
message: "#^Parameter \\#1 \\$mh of function curl_multi_add_handle expects resource, resource\\|false given\\.$#"
count: 2
path: src/bundle/Core/URLChecker/Handler/HTTPHandler.php

-
message: "#^Parameter \\#1 \\$mh of function curl_multi_close expects resource, resource\\|false given\\.$#"
count: 1
path: src/bundle/Core/URLChecker/Handler/HTTPHandler.php

-
message: "#^Parameter \\#1 \\$mh of function curl_multi_exec expects resource, resource\\|false given\\.$#"
count: 1
path: src/bundle/Core/URLChecker/Handler/HTTPHandler.php

-
message: "#^Parameter \\#1 \\$mh of function curl_multi_info_read expects resource, resource\\|false given\\.$#"
count: 1
path: src/bundle/Core/URLChecker/Handler/HTTPHandler.php

-
message: "#^Parameter \\#1 \\$mh of function curl_multi_remove_handle expects resource, resource\\|false given\\.$#"
count: 1
path: src/bundle/Core/URLChecker/Handler/HTTPHandler.php

-
message: "#^Parameter \\#1 \\$str of function trim expects string, string\\|false given\\.$#"
count: 1
Expand Down
5 changes: 5 additions & 0 deletions phpstan-baseline.neon
Original file line number Diff line number Diff line change
Expand Up @@ -18145,6 +18145,11 @@ parameters:
count: 1
path: src/lib/Persistence/Legacy/Content/UrlAlias/Gateway/DoctrineDatabase.php

-
message: "#^Parameter \\#2 \\$callback of function array_filter expects \\(callable\\(int\\)\\: bool\\)\\|null, Closure\\(mixed\\)\\: int given\\.$#"
count: 1
path: src/lib/Persistence/Legacy/Content/UrlAlias/Gateway/DoctrineDatabase.php

-
message: "#^Variable \\$connection in PHPDoc tag @var does not match assigned variable \\$query\\.$#"
count: 1
Expand Down

0 comments on commit dcb200b

Please sign in to comment.