Skip to content

Merge pull request #24 from pronamic/22-memberpress-subscription-gate… #89

Merge pull request #24 from pronamic/22-memberpress-subscription-gate…

Merge pull request #24 from pronamic/22-memberpress-subscription-gate… #89

Triggered via push September 27, 2024 07:43
Status Failure
Total duration 37s
Artifacts

ci.yaml

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

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.