Skip to content

feat: first iteration of Webhooks Example project #54

feat: first iteration of Webhooks Example project

feat: first iteration of Webhooks Example project #54

Triggered via pull request June 11, 2025 11:30
Status Failure
Total duration 34s
Artifacts

code-quality.yml

on: pull_request
Check code quality
29s
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.