Fix running PHPStan. #48
ci.yaml
on: push
phpcs
/
phpcs
29s
phpstan
/
phpstan
28s
Matrix: phplint / phplint
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.
|