Skip to content

Update Gruntfile.js #889

Update Gruntfile.js

Update Gruntfile.js #889

Triggered via push June 13, 2024 12:40
Status Failure
Total duration 1m 4s
Artifacts

ci.yaml

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

Annotations

10 errors and 1 warning
phpstan / phpstan: src/Admin/AdminModule.php#L414
Parameter #1 $config_id of method Pronamic\WordPress\Pay\Payments\PaymentInfo::set_config_id() expects int|null, string|false|null given.
phpstan / phpstan: src/Admin/AdminPaymentPostType.php#L181
Parameter #1 $post_id of class Pronamic\WordPress\Pay\Payments\Payment constructor expects int|null, string|false|null given.
phpstan / phpstan: src/Admin/AdminSubscriptionPostType.php#L161
Parameter #1 $post_id of function get_pronamic_subscription expects int, string|false|null given.
phpstan / phpstan: src/Admin/AdminSubscriptionPostType.php#L172
Parameter #1 $sequence_number of method Pronamic\WordPress\Pay\Subscriptions\Subscription::get_phase_by_sequence_number() expects int, int|false|null given.
phpstan / phpstan: src/Admin/AdminSubscriptionPostType.php#L199
Parameter #1 $post of function get_edit_post_link expects int|WP_Post, string|false|null given.
phpstan / phpstan: src/Subscriptions/SubscriptionsFollowUpPaymentsController.php#L61
Function WP_CLI\Utils\format_items not found.
phpstan / phpstan: src/Subscriptions/SubscriptionsFollowUpPaymentsController.php#L82
Function WP_CLI\Utils\get_flag_value not found.
phpstan / phpstan: src/Subscriptions/SubscriptionsFollowUpPaymentsController.php#L93
Function WP_CLI\Utils\get_flag_value not found.
phpstan / phpstan: src/Subscriptions/SubscriptionsModule.php#L261
Parameter #1 $post_id of function get_pronamic_subscription expects int, string|false|null given.
phpstan / phpstan: views/meta-box-gateway-settings.php#L163
Offset 'methods' on array{section: 'payment_methods', title: string, type: 'custom', callback: Closure(): void} in isset() does not exist.
coverage / coverage
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: codecov/codecov-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.