Discord webhooks #253
Annotations
32 errors and 5 warnings
|
Pint
Process completed with exit code 1.
|
|
PHPStan (8.5)
Process completed with exit code 1.
|
|
PHPStan (8.5):
plugins/discord-webhooks/src/Services/DiscordWebhookService.php#L108
Method Notjami\Webhooks\Services\DiscordWebhookService::send() has parameter $payload with no value type specified in iterable type array.
|
|
PHPStan (8.5):
plugins/discord-webhooks/src/Providers/WebhooksPluginProvider.php#L53
Call to static method afterCommit() on an unknown class Notjami\Webhooks\Providers\DB.
|
|
PHPStan (8.5):
plugins/discord-webhooks/src/Providers/WebhooksPluginProvider.php#L46
Call to static method afterCommit() on an unknown class Notjami\Webhooks\Providers\DB.
|
|
PHPStan (8.5):
plugins/discord-webhooks/src/Providers/WebhooksPluginProvider.php#L45
Strict comparison using === between App\Enums\ServerState|null and 'installing' will always evaluate to false.
|
|
PHPStan (8.5):
plugins/discord-webhooks/src/Providers/WebhooksPluginProvider.php#L45
Result of && is always false.
|
|
PHPStan (8.5):
plugins/discord-webhooks/src/Models/Webhook.php#L64
Call to function in_array() with arguments string, array<Notjami\Webhooks\Enums\WebhookEvent> and true will always evaluate to false.
|
|
PHPStan (8.2)
The strategy configuration was canceled because "phpstan._8_5" failed
|
|
PHPStan (8.2)
The operation was canceled.
|
|
PHPStan (8.2):
plugins/discord-webhooks/src/Services/DiscordWebhookService.php#L108
Method Notjami\Webhooks\Services\DiscordWebhookService::send() has parameter $payload with no value type specified in iterable type array.
|
|
PHPStan (8.2):
plugins/discord-webhooks/src/Providers/WebhooksPluginProvider.php#L53
Call to static method afterCommit() on an unknown class Notjami\Webhooks\Providers\DB.
|
|
PHPStan (8.2):
plugins/discord-webhooks/src/Providers/WebhooksPluginProvider.php#L46
Call to static method afterCommit() on an unknown class Notjami\Webhooks\Providers\DB.
|
|
PHPStan (8.2):
plugins/discord-webhooks/src/Providers/WebhooksPluginProvider.php#L45
Strict comparison using === between App\Enums\ServerState|null and 'installing' will always evaluate to false.
|
|
PHPStan (8.2):
plugins/discord-webhooks/src/Providers/WebhooksPluginProvider.php#L45
Result of && is always false.
|
|
PHPStan (8.2):
plugins/discord-webhooks/src/Models/Webhook.php#L64
Call to function in_array() with arguments string, array<Notjami\Webhooks\Enums\WebhookEvent> and true will always evaluate to false.
|
|
PHPStan (8.3)
The strategy configuration was canceled because "phpstan._8_5" failed
|
|
PHPStan (8.3)
The operation was canceled.
|
|
PHPStan (8.3):
plugins/discord-webhooks/src/Services/DiscordWebhookService.php#L108
Method Notjami\Webhooks\Services\DiscordWebhookService::send() has parameter $payload with no value type specified in iterable type array.
|
|
PHPStan (8.3):
plugins/discord-webhooks/src/Providers/WebhooksPluginProvider.php#L53
Call to static method afterCommit() on an unknown class Notjami\Webhooks\Providers\DB.
|
|
PHPStan (8.3):
plugins/discord-webhooks/src/Providers/WebhooksPluginProvider.php#L46
Call to static method afterCommit() on an unknown class Notjami\Webhooks\Providers\DB.
|
|
PHPStan (8.3):
plugins/discord-webhooks/src/Providers/WebhooksPluginProvider.php#L45
Strict comparison using === between App\Enums\ServerState|null and 'installing' will always evaluate to false.
|
|
PHPStan (8.3):
plugins/discord-webhooks/src/Providers/WebhooksPluginProvider.php#L45
Result of && is always false.
|
|
PHPStan (8.3):
plugins/discord-webhooks/src/Models/Webhook.php#L64
Call to function in_array() with arguments string, array<Notjami\Webhooks\Enums\WebhookEvent> and true will always evaluate to false.
|
|
PHPStan (8.4)
The strategy configuration was canceled because "phpstan._8_5" failed
|
|
PHPStan (8.4)
The operation was canceled.
|
|
PHPStan (8.4):
plugins/discord-webhooks/src/Services/DiscordWebhookService.php#L108
Method Notjami\Webhooks\Services\DiscordWebhookService::send() has parameter $payload with no value type specified in iterable type array.
|
|
PHPStan (8.4):
plugins/discord-webhooks/src/Providers/WebhooksPluginProvider.php#L53
Call to static method afterCommit() on an unknown class Notjami\Webhooks\Providers\DB.
|
|
PHPStan (8.4):
plugins/discord-webhooks/src/Providers/WebhooksPluginProvider.php#L46
Call to static method afterCommit() on an unknown class Notjami\Webhooks\Providers\DB.
|
|
PHPStan (8.4):
plugins/discord-webhooks/src/Providers/WebhooksPluginProvider.php#L45
Strict comparison using === between App\Enums\ServerState|null and 'installing' will always evaluate to false.
|
|
PHPStan (8.4):
plugins/discord-webhooks/src/Providers/WebhooksPluginProvider.php#L45
Result of && is always false.
|
|
PHPStan (8.4):
plugins/discord-webhooks/src/Models/Webhook.php#L64
Call to function in_array() with arguments string, array<Notjami\Webhooks\Enums\WebhookEvent> and true will always evaluate to false.
|
|
Pint
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
PHPStan (8.5)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
PHPStan (8.2)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
PHPStan (8.3)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
PHPStan (8.4)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|