Skip to content

ci: Improve plugin artifact bot to reuse comments in PRs (2) #85

ci: Improve plugin artifact bot to reuse comments in PRs (2)

ci: Improve plugin artifact bot to reuse comments in PRs (2) #85

Triggered via pull request June 12, 2025 17:03
Status Failure
Total duration 1m 53s
Artifacts

code-quality.yml

on: pull_request
Check code quality
1m 48s
Check code quality
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Check code quality: src/DTO/WebhookDTO.php#L18
Short ternary operator is not allowed. Use null coalesce operator if applicable or consider using long ternary.
Check code quality: src/DTO/WebhookDTO.php#L16
Method WPGraphQL\Webhooks\DTO\WebhookDTO::__construct() has parameter $events with no value type specified in iterable type array.
Check code quality: src/DTO/WebhookDTO.php#L16
Method WPGraphQL\Webhooks\DTO\WebhookDTO::__construct() has parameter $config with no value type specified in iterable type array.
Check code quality: src/DTO/WebhookDTO.php#L10
Property WPGraphQL\Webhooks\DTO\WebhookDTO::$config type has no value type specified in iterable type array.
Check code quality: access-functions.php#L137
Only booleans are allowed in an if condition, int<0, max> given.
Check code quality: access-functions.php#L118
Call to static method instance() on an unknown class WPGraphQL\Webhooks\WebhookRegistry.
Check code quality: access-functions.php#L104
Call to static method instance() on an unknown class WPGraphQL\Webhooks\WebhookRegistry.
Check code quality: access-functions.php#L88
Call to static method instance() on an unknown class WPGraphQL\Webhooks\WebhookRegistry.
Check code quality: access-functions.php#L46
Construct empty() is not allowed. Use more strict comparison.
Check code quality: access-functions.php#L33
Function register_webhook_type() has parameter $args with no value type specified in iterable type array.