Fix curl-share handling on PHP < 8.5 #548
static-analysis.yml
on: pull_request
Matrix: phpstan static code analysis
Annotations
12 errors
|
phpstan static code analysis (ubuntu-latest, 7.4)
Process completed with exit code 1.
|
|
phpstan static code analysis (ubuntu-latest, 7.4):
src/utils/HttpClient.php#L16
Property staabm\PHPStanTodoBy\utils\HttpClient::$shareHandle has unknown class CurlShareHandle as its type.
|
|
phpstan static code analysis (ubuntu-latest, 8.5)
The strategy configuration was canceled because "phpstan.ubuntu-latest_7_4" failed
|
|
phpstan static code analysis (ubuntu-latest, 8.5)
Process completed with exit code 1.
|
|
phpstan static code analysis (ubuntu-latest, 8.5):
src/utils/HttpClient.php#L28
Property staabm\PHPStanTodoBy\utils\HttpClient::$shareHandle (CurlShareHandle|resource|null) does not accept CurlSharePersistentHandle.
|
|
phpstan static code analysis (ubuntu-latest, 8.5):
src/utils/HttpClient.php#L16
Property staabm\PHPStanTodoBy\utils\HttpClient::$shareHandle (CurlShareHandle|resource|null) is never assigned resource so it can be removed from the property type.
|
|
phpstan static code analysis (ubuntu-latest, 8.4)
The strategy configuration was canceled because "phpstan.ubuntu-latest_7_4" failed
|
|
phpstan static code analysis (ubuntu-latest, 8.4)
The operation was canceled.
|
|
phpstan static code analysis (ubuntu-latest, 8.0)
The strategy configuration was canceled because "phpstan.ubuntu-latest_7_4" failed
|
|
phpstan static code analysis (ubuntu-latest, 8.0)
The operation was canceled.
|
|
phpstan static code analysis (ubuntu-latest, 8.1)
The strategy configuration was canceled because "phpstan.ubuntu-latest_7_4" failed
|
|
phpstan static code analysis (ubuntu-latest, 8.1)
The operation was canceled.
|