Skip to content

Add phpstan in CI

Add phpstan in CI #124

Triggered via pull request November 13, 2024 14:46
Status Failure
Total duration 33s
Artifacts

php.yml

on: pull_request
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

26 errors
build (8.3): src/Hal/HalLink.php#L1
Ignored error pattern #^Parameter \#1 \$function of function call_user_func expects callable\(\)\: mixed, \(callable\(\)\: mixed\)\|null given\.$# in path /home/runner/work/php-sdk/php-sdk/src/Hal/HalLink.php was not matched in reported errors.
build (8.3): src/Hal/HalLink.php#L1
Ignored error pattern #^Parameter \#1 \$str of function rtrim expects string, array\<string\>\|string\|null given\.$# in path /home/runner/work/php-sdk/php-sdk/src/Hal/HalLink.php was not matched in reported errors.
build (8.3): src/Hal/HalLink.php#L121
Parameter #1 $string of function rtrim expects string, array<string>|string|null given.
build (8.3): src/Hal/HalLink.php#L310
Parameter #1 $callback of function call_user_func expects callable(): mixed, (callable(): mixed)|null given.
build (8.3): src/Operation/AbstractBulkOperation.php#L1
Ignored error pattern #^Parameter \#2 \$size of function array_chunk expects int\<1, max\>, int given\.$# in path /home/runner/work/php-sdk/php-sdk/src/Operation/AbstractBulkOperation.php was not matched in reported errors.
build (8.3): src/Operation/AbstractBulkOperation.php#L84
Parameter #2 $length of function array_chunk expects int<1, max>, int given.
build (8.3)
Process completed with exit code 1.
build (8.2): src/Hal/HalLink.php#L1
Ignored error pattern #^Parameter \#1 \$function of function call_user_func expects callable\(\)\: mixed, \(callable\(\)\: mixed\)\|null given\.$# in path /home/runner/work/php-sdk/php-sdk/src/Hal/HalLink.php was not matched in reported errors.
build (8.2): src/Hal/HalLink.php#L1
Ignored error pattern #^Parameter \#1 \$str of function rtrim expects string, array\<string\>\|string\|null given\.$# in path /home/runner/work/php-sdk/php-sdk/src/Hal/HalLink.php was not matched in reported errors.
build (8.2): src/Hal/HalLink.php#L121
Parameter #1 $string of function rtrim expects string, array<string>|string|null given.
build (8.2): src/Hal/HalLink.php#L310
Parameter #1 $callback of function call_user_func expects callable(): mixed, (callable(): mixed)|null given.
build (8.2): src/Operation/AbstractBulkOperation.php#L1
Ignored error pattern #^Parameter \#2 \$size of function array_chunk expects int\<1, max\>, int given\.$# in path /home/runner/work/php-sdk/php-sdk/src/Operation/AbstractBulkOperation.php was not matched in reported errors.
build (8.2): src/Operation/AbstractBulkOperation.php#L84
Parameter #2 $length of function array_chunk expects int<1, max>, int given.
build (8.2)
Process completed with exit code 1.
build (7.1)
The job was canceled because "_8_3" failed.
build (7.1)
The operation was canceled.
build (8.1)
The job was canceled because "_8_3" failed.
build (8.1)
The operation was canceled.
build (8.0)
The job was canceled because "_8_3" failed.
build (8.0): src/Hal/HalLink.php#L1
Ignored error pattern #^Parameter \#1 \$function of function call_user_func expects callable\(\)\: mixed, \(callable\(\)\: mixed\)\|null given\.$# in path /home/runner/work/php-sdk/php-sdk/src/Hal/HalLink.php was not matched in reported errors.
build (8.0): src/Hal/HalLink.php#L1
Ignored error pattern #^Parameter \#1 \$str of function rtrim expects string, array\<string\>\|string\|null given\.$# in path /home/runner/work/php-sdk/php-sdk/src/Hal/HalLink.php was not matched in reported errors.
build (8.0): src/Hal/HalLink.php#L121
Parameter #1 $string of function rtrim expects string, array<string>|string|null given.
build (8.0): src/Hal/HalLink.php#L310
Parameter #1 $callback of function call_user_func expects callable(): mixed, (callable(): mixed)|null given.
build (8.0): src/Operation/AbstractBulkOperation.php#L1
Ignored error pattern #^Parameter \#2 \$size of function array_chunk expects int\<1, max\>, int given\.$# in path /home/runner/work/php-sdk/php-sdk/src/Operation/AbstractBulkOperation.php was not matched in reported errors.
build (8.0): src/Operation/AbstractBulkOperation.php#L84
Parameter #2 $length of function array_chunk expects int<1, max>, int given.
build (8.0)
The operation was canceled.