Fix running PHPStan. #24
ci.yaml
on: push
phpcs
/
phpcs
15s
phpstan
/
phpstan
20s
Matrix: phplint / phplint
Annotations
10 errors
phpstan / phpstan:
src/Extension.php#L42
Property Pronamic\WordPress\Pay\Extensions\Give\Extension::$gateways type has no value type specified in iterable type array.
|
phpstan / phpstan:
src/Extension.php#L93
Method Pronamic\WordPress\Pay\Extensions\Give\Extension::give_payment_gateways() has parameter $gateways with no value type specified in iterable type array.
|
phpstan / phpstan:
src/Extension.php#L93
Method Pronamic\WordPress\Pay\Extensions\Give\Extension::give_payment_gateways() return type has no value type specified in iterable type array.
|
phpstan / phpstan:
src/Extension.php#L151
Method Pronamic\WordPress\Pay\Extensions\Give\Extension::give_enabled_payment_gateways() has parameter $gateways with no value type specified in iterable type array.
|
phpstan / phpstan:
src/Extension.php#L151
Method Pronamic\WordPress\Pay\Extensions\Give\Extension::give_enabled_payment_gateways() return type has no value type specified in iterable type array.
|
phpstan / phpstan:
src/Extension.php#L159
Function give_get_option not found.
|
phpstan / phpstan:
src/Extension.php#L186
Function give_get_failed_transaction_uri not found.
|
phpstan / phpstan:
src/Extension.php#L190
Function give_get_success_page_uri not found.
|
phpstan / phpstan:
src/Extension.php#L205
Method Pronamic\WordPress\Pay\Extensions\Give\Extension::status_update() has no return type specified.
|
phpstan / phpstan:
src/Extension.php#L210
Function give_update_payment_status not found.
|