Skip to content

Commit

Permalink
Update baseline
Browse files Browse the repository at this point in the history
  • Loading branch information
Seldaek committed Apr 28, 2024
1 parent 8db5678 commit 06d7d9b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 20 deletions.
5 changes: 0 additions & 5 deletions phpstan/baseline-8.1.neon
Original file line number Diff line number Diff line change
Expand Up @@ -180,11 +180,6 @@ parameters:
count: 2
path: ../src/Composer/Util/Hg.php

-
message: "#^Only booleans are allowed in &&, int\\<0, 2097152\\> given on the right side\\.$#"
count: 1
path: ../src/Composer/Util/Http/CurlDownloader.php

-
message: "#^Parameter \\#1 \\$multi_handle of function curl_multi_add_handle expects CurlMultiHandle, resource\\|null given\\.$#"
count: 1
Expand Down
25 changes: 10 additions & 15 deletions phpstan/baseline.neon
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ parameters:

-
message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#"
count: 4
count: 3
path: ../src/Composer/Command/DiagnoseCommand.php

-
Expand Down Expand Up @@ -1850,6 +1850,11 @@ parameters:
count: 1
path: ../src/Composer/Downloader/ZipDownloader.php

-
message: "#^Argument of an invalid type array\\<int, callable\\>\\|false supplied for foreach, only iterables are supported\\.$#"
count: 2
path: ../src/Composer/EventDispatcher/EventDispatcher.php

-
message: "#^Call to function in_array\\(\\) requires parameter \\#3 to be set\\.$#"
count: 1
Expand Down Expand Up @@ -4000,7 +4005,7 @@ parameters:

-
message: "#^Cannot access offset 'features' on array\\|false\\.$#"
count: 2
count: 1
path: ../src/Composer/Util/Http/CurlDownloader.php

-
Expand All @@ -4010,11 +4015,6 @@ parameters:

-
message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#"
count: 3
path: ../src/Composer/Util/Http/CurlDownloader.php

-
message: "#^Only booleans are allowed in &&, int given on the right side\\.$#"
count: 1
path: ../src/Composer/Util/Http/CurlDownloader.php

Expand Down Expand Up @@ -4189,17 +4189,17 @@ parameters:
path: ../src/Composer/Util/Http/CurlDownloader.php

-
message: "#^Method Composer\\\\Util\\\\Http\\\\RequestProxy::getCurlOptions\\(\\) should return array\\<int, int\\|string\\> but returns array\\<int\\|string, int\\|string\\>.$#"
message: "#^Constant CURLOPT_PROXY_CAINFO not found\\.$#"
count: 1
path: ../src/Composer/Util/Http/RequestProxy.php

-
message: "#^Constant CURLOPT_PROXY_CAINFO not found\\.$#"
message: "#^Constant CURLOPT_PROXY_CAPATH not found\\.$#"
count: 1
path: ../src/Composer/Util/Http/RequestProxy.php

-
message: "#^Constant CURLOPT_PROXY_CAPATH not found\\.$#"
message: "#^Method Composer\\\\Util\\\\Http\\\\RequestProxy\\:\\:getCurlOptions\\(\\) should return array\\<int, int\\|string\\> but returns array\\<int\\|string, int\\|string\\>\\.$#"
count: 1
path: ../src/Composer/Util/Http/RequestProxy.php

Expand Down Expand Up @@ -4618,11 +4618,6 @@ parameters:
count: 1
path: ../src/Composer/Util/StreamContextFactory.php

-
message: "#^Only booleans are allowed in an if condition, array given\\.$#"
count: 1
path: ../src/Composer/Util/StreamContextFactory.php

-
message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#"
count: 2
Expand Down

0 comments on commit 06d7d9b

Please sign in to comment.