Skip to content

chore: update to phpstan major version 2 #183

chore: update to phpstan major version 2

chore: update to phpstan major version 2 #183

Triggered via pull request January 6, 2025 11:30
Status Failure
Total duration 53s
Artifacts

ci.yml

on: pull_request
Matrix: unit-testing
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 6 warnings
PHPUnit (PHP 8.4): lib/Client.php#L160
Ignored error pattern #^Left side of || is always false.$# in path /home/runner/work/http/http/lib/Client.php is expected to occur 6 times, but occurred 19 times.
PHPUnit (PHP 8.4): lib/Client.php#L281
Parameter #1 $multi_handle of function curl_multi_select expects CurlMultiHandle, resource|null given.
PHPUnit (PHP 8.4): lib/Client.php#L306
Method Sabre\HTTP\Client::addCurlSetting() has parameter $value with no type specified.
PHPUnit (PHP 8.4): lib/Client.php#L319
Property Sabre\HTTP\Client::$curlHandle (resource|null) does not accept (CurlHandle|false).
PHPUnit (PHP 8.4): lib/Client.php#L321
Parameter #1 $handle of function curl_reset expects CurlHandle, resource given.
PHPUnit (PHP 8.4): lib/Client.php#L342
Property Sabre\HTTP\Client::$curlHandle (resource|null) is never assigned resource so it can be removed from the property type.
PHPUnit (PHP 8.4): lib/Client.php#L351
Property Sabre\HTTP\Client::$curlMultiHandle (resource|null) is never assigned resource so it can be removed from the property type.
PHPUnit (PHP 8.4): lib/Client.php#L389
Call to function array_key_exists() with 'size' and array{0: int, 1: int, 2: int, 3: int, 4: int, 5: int, 6: int, 7: int, ...} will always evaluate to true.
PHPUnit (PHP 8.4): lib/Client.php#L550
Strict comparison using === between false and string will always evaluate to false.
PHPUnit (PHP 8.4): lib/Client.php#L579
Property Sabre\HTTP\Client::$curlMultiHandle (resource|null) does not accept CurlMultiHandle.
PHPUnit (PHP 8.4)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHPUnit (PHP 8.2)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHPUnit (PHP 8.0)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHPUnit (PHP 8.3)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHPUnit (PHP 7.4)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHPUnit (PHP 8.1)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636