Update MemberPress subscription on payment method changes. #87
ci.yaml
on: push
phpcs
/
phpcs
16s
phpstan
/
phpstan
23s
Matrix: phplint / phplint
Annotations
8 errors
phpstan / phpstan:
src/Admin/AdminSubscriptions.php#L115
Cannot cast mixed to string.
|
phpstan / phpstan:
src/Admin/AdminTransactions.php#L181
Cannot cast mixed to string.
|
phpstan / phpstan:
src/Extension.php#L702
Parameter #1 $format of function date_i18n expects string, mixed given.
|
phpstan / phpstan:
src/Upgrade310.php#L273
Parameter #1 $id of static method Pronamic\WordPress\Pay\Extensions\MemberPress\MemberPress::get_subscription_by_id() expects int|string|null, mixed given.
|
phpstan / phpstan:
src/Upgrade310.php#L325
Parameter #1 $id of static method Pronamic\WordPress\Pay\Extensions\MemberPress\MemberPress::get_transaction_by_id() expects int|string|null, mixed given.
|
phpstan / phpstan:
views/subscription-form.php#L75
Parameter #1 $post_status of function get_post_status_object expects string, mixed given.
|
phpstan / phpstan:
views/transaction-form.php#L75
Parameter #1 $post_status of function get_post_status_object expects string, mixed given.
|
phpstan / phpstan
Process completed with exit code 1.
|