Update static ci job #38
Annotations
21 errors and 2 warnings
PHP-CS-Fixer
Process completed with exit code 2.
|
PHPStan:
lib/Client/AbstractClient.php#L1
Ignored error pattern #^Method Buzz\\Client\\AbstractClient\:\:doValidateOptions\(\) return type has no value type specified in iterable type Buzz\\Configuration\\ParameterBag\.$# in path /home/runner/work/Buzz/Buzz/lib/Client/AbstractClient.php was not matched in reported errors.
|
PHPStan:
lib/Client/AbstractClient.php#L1
Ignored error pattern #^Method Buzz\\Client\\AbstractClient\:\:validateOptions\(\) return type has no value type specified in iterable type Buzz\\Configuration\\ParameterBag\.$# in path /home/runner/work/Buzz/Buzz/lib/Client/AbstractClient.php was not matched in reported errors.
|
PHPStan:
lib/Client/AbstractClient.php#L1
Ignored error pattern #^Property Buzz\\Client\\AbstractClient\:\:\$options type has no value type specified in iterable type Buzz\\Configuration\\ParameterBag\.$# in path /home/runner/work/Buzz/Buzz/lib/Client/AbstractClient.php was not matched in reported errors.
|
PHPStan:
lib/Client/AbstractCurl.php#L1
Ignored error pattern #^Method Buzz\\Client\\AbstractCurl\:\:prepare\(\) has parameter \$options with no value type specified in iterable type Buzz\\Configuration\\ParameterBag\.$# in path /home/runner/work/Buzz/Buzz/lib/Client/AbstractCurl.php was not matched in reported errors.
|
PHPStan:
lib/Client/AbstractCurl.php#L1
Ignored error pattern #^Method Buzz\\Client\\AbstractCurl\:\:setOptionsFromParameterBag\(\) has parameter \$options with no value type specified in iterable type Buzz\\Configuration\\ParameterBag\.$# in path /home/runner/work/Buzz/Buzz/lib/Client/AbstractCurl.php was not matched in reported errors.
|
PHPStan:
lib/Client/AbstractCurl.php#L1
Ignored error pattern #^Property Buzz\\Client\\AbstractCurl\:\:\$handles has no typehint specified\.$# in path /home/runner/work/Buzz/Buzz/lib/Client/AbstractCurl.php was not matched in reported errors.
|
PHPStan:
lib/Client/AbstractCurl.php#L1
Ignored error pattern #^Property Buzz\\Client\\AbstractCurl\:\:\$maxHandles has no typehint specified\.$# in path /home/runner/work/Buzz/Buzz/lib/Client/AbstractCurl.php was not matched in reported errors.
|
PHPStan:
lib/Client/AbstractCurl.php#L22
Property Buzz\Client\AbstractCurl::$handles has no type specified.
|
PHPStan:
lib/Client/AbstractCurl.php#L24
Property Buzz\Client\AbstractCurl::$maxHandles has no type specified.
|
PHPStan:
lib/Client/AbstractCurl.php#L61
Parameter #1 $handle of function curl_close expects CurlHandle, resource given.
|
DeprecatedInterface:
lib/Browser.php#L17
lib/Browser.php:17:7: DeprecatedInterface: Http\Client\HttpClient is marked deprecated (see https://psalm.dev/152)
|
DeprecatedInterface:
lib/Browser.php#L22
lib/Browser.php:22:14: DeprecatedInterface: Interface Http\Message\RequestFactory is marked as deprecated (see https://psalm.dev/152)
|
DeprecatedInterface:
lib/Browser.php#L37
lib/Browser.php:37:15: DeprecatedInterface: Interface Http\Message\RequestFactory is marked as deprecated (see https://psalm.dev/152)
|
DeprecatedInterface:
lib/Client/AbstractClient.php#L26
lib/Client/AbstractClient.php:26:13: DeprecatedInterface: Interface Http\Message\ResponseFactory is marked as deprecated (see https://psalm.dev/152)
|
DeprecatedInterface:
lib/Client/AbstractClient.php#L31
lib/Client/AbstractClient.php:31:15: DeprecatedInterface: Interface Http\Message\ResponseFactory is marked as deprecated (see https://psalm.dev/152)
|
RiskyTruthyFalsyComparison:
lib/Client/AbstractCurl.php#L196
lib/Client/AbstractCurl.php:196:22: RiskyTruthyFalsyComparison: Operand of type false|string contains type string, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
|
RiskyTruthyFalsyComparison:
lib/Client/AbstractCurl.php#L196
lib/Client/AbstractCurl.php:196:47: RiskyTruthyFalsyComparison: Operand of type false|string contains type string, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
|
DeprecatedInterface:
lib/Client/Curl.php#L13
lib/Client/Curl.php:13:7: DeprecatedInterface: Http\Client\HttpClient is marked deprecated (see https://psalm.dev/152)
|
RiskyTruthyFalsyComparison:
lib/Client/Curl.php#L34
lib/Client/Curl.php:34:35: RiskyTruthyFalsyComparison: Operand of type false|non-empty-string contains type non-empty-string, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
|
DeprecatedInterface:
lib/Client/FileGetContents.php#L14
lib/Client/FileGetContents.php:14:7: DeprecatedInterface: Http\Client\HttpClient is marked deprecated (see https://psalm.dev/152)
|
PHPStan
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Psalm
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|