ci: Improve plugin artifact bot to reuse comments in PRs (2) #85
code-quality.yml
on: pull_request
Check code quality
1m 48s
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.
|