Skip to content

Fix running PHPStan. #48

Fix running PHPStan.

Fix running PHPStan. #48

Triggered via push August 13, 2024 08:09
Status Failure
Total duration 50s
Artifacts

ci.yaml

on: push
Matrix: phplint / phplint
Fit to window
Zoom out
Zoom in

Annotations

10 errors
phpstan / phpstan: src/Directory.php#L30
Property Pronamic\WordPress\Pay\Gateways\IDealAdvancedV3\Directory::$date is never read, only written.
phpstan / phpstan: src/Gateway.php#L169
Parameter #1 $text of function esc_html expects string, string|null given.
phpstan / phpstan: src/Gateway.php#L203
Parameter #1 $id of method Pronamic\WordPress\Pay\Gateways\IDealAdvancedV3\Transaction::set_purchase_id() expects string|null, int|string|null given.
phpstan / phpstan: src/Gateway.php#L217
Cannot cast mixed to string.
phpstan / phpstan: src/Integration.php#L156
Cannot cast mixed to string.
phpstan / phpstan: src/Integration.php#L292
Parameter #1 $arg of function escapeshellarg expects string, mixed given.
phpstan / phpstan: src/Integration.php#L370
Parameter #1 $string of function addslashes expects string, mixed given.
phpstan / phpstan: src/Integration.php#L379
Parameter #1 $arg of function escapeshellarg expects string, mixed given.
phpstan / phpstan: src/Integration.php#L380
Parameter #1 $arg of function escapeshellarg expects string, mixed given.
phpstan / phpstan: src/Integration.php#L401
Parameter #1 $pem of class Pronamic\WordPress\Pay\Gateways\IDealAdvancedV3\Certificate constructor expects string, mixed given.