Skip to content

Discord webhooks

Discord webhooks #252

Triggered via pull request March 20, 2026 00:41
Status Failure
Total duration 50s
Artifacts

lint.yml

on: pull_request
Matrix: PHPStan
Fit to window
Zoom out
Zoom in

Annotations

44 errors and 5 warnings
Pint
Process completed with exit code 1.
PHPStan (8.4): plugins/discord-webhooks/src/Models/Webhook.php#L73
Method Notjami\Webhooks\Models\Webhook::scopeForServer() has parameter $query with no type specified.
PHPStan (8.4): plugins/discord-webhooks/src/Models/Webhook.php#L73
Method Notjami\Webhooks\Models\Webhook::scopeForServer() has no return type specified.
PHPStan (8.4): plugins/discord-webhooks/src/Models/Webhook.php#L68
Method Notjami\Webhooks\Models\Webhook::scopeForEvent() has parameter $query with no type specified.
PHPStan (8.4): plugins/discord-webhooks/src/Models/Webhook.php#L68
Method Notjami\Webhooks\Models\Webhook::scopeForEvent() has no return type specified.
PHPStan (8.4): plugins/discord-webhooks/src/Models/Webhook.php#L63
Method Notjami\Webhooks\Models\Webhook::scopeEnabled() has parameter $query with no type specified.
PHPStan (8.4): plugins/discord-webhooks/src/Models/Webhook.php#L63
Method Notjami\Webhooks\Models\Webhook::scopeEnabled() has no return type specified.
PHPStan (8.4): plugins/discord-webhooks/src/Models/Webhook.php#L55
Call to function in_array() with 'server_installed'|'server_installing'|'server_started'|'server_stopped' and array<Notjami\Webhooks\Enums\WebhookEvent> will always evaluate to false.
PHPStan (8.4): plugins/discord-webhooks/src/Filament/Server/Resources/Webhooks/WebhookResource.php#L66
Unable to resolve the template type TValue in call to function collect
PHPStan (8.4): plugins/discord-webhooks/src/Filament/Server/Resources/Webhooks/WebhookResource.php#L66
Unable to resolve the template type TKey in call to function collect
PHPStan (8.2)
The strategy configuration was canceled because "phpstan._8_4" failed
PHPStan (8.2): plugins/discord-webhooks/src/Models/Webhook.php#L73
Method Notjami\Webhooks\Models\Webhook::scopeForServer() has parameter $query with no type specified.
PHPStan (8.2): plugins/discord-webhooks/src/Models/Webhook.php#L73
Method Notjami\Webhooks\Models\Webhook::scopeForServer() has no return type specified.
PHPStan (8.2): plugins/discord-webhooks/src/Models/Webhook.php#L68
Method Notjami\Webhooks\Models\Webhook::scopeForEvent() has parameter $query with no type specified.
PHPStan (8.2): plugins/discord-webhooks/src/Models/Webhook.php#L68
Method Notjami\Webhooks\Models\Webhook::scopeForEvent() has no return type specified.
PHPStan (8.2): plugins/discord-webhooks/src/Models/Webhook.php#L63
Method Notjami\Webhooks\Models\Webhook::scopeEnabled() has parameter $query with no type specified.
PHPStan (8.2): plugins/discord-webhooks/src/Models/Webhook.php#L63
Method Notjami\Webhooks\Models\Webhook::scopeEnabled() has no return type specified.
PHPStan (8.2): plugins/discord-webhooks/src/Models/Webhook.php#L55
Call to function in_array() with 'server_installed'|'server_installing'|'server_started'|'server_stopped' and array<Notjami\Webhooks\Enums\WebhookEvent> will always evaluate to false.
PHPStan (8.2): plugins/discord-webhooks/src/Filament/Server/Resources/Webhooks/WebhookResource.php#L66
Unable to resolve the template type TValue in call to function collect
PHPStan (8.2): plugins/discord-webhooks/src/Filament/Server/Resources/Webhooks/WebhookResource.php#L66
Unable to resolve the template type TKey in call to function collect
PHPStan (8.5)
The strategy configuration was canceled because "phpstan._8_4" failed
PHPStan (8.5): plugins/discord-webhooks/src/Models/Webhook.php#L73
Method Notjami\Webhooks\Models\Webhook::scopeForServer() has parameter $query with no type specified.
PHPStan (8.5): plugins/discord-webhooks/src/Models/Webhook.php#L73
Method Notjami\Webhooks\Models\Webhook::scopeForServer() has no return type specified.
PHPStan (8.5): plugins/discord-webhooks/src/Models/Webhook.php#L68
Method Notjami\Webhooks\Models\Webhook::scopeForEvent() has parameter $query with no type specified.
PHPStan (8.5): plugins/discord-webhooks/src/Models/Webhook.php#L68
Method Notjami\Webhooks\Models\Webhook::scopeForEvent() has no return type specified.
PHPStan (8.5): plugins/discord-webhooks/src/Models/Webhook.php#L63
Method Notjami\Webhooks\Models\Webhook::scopeEnabled() has parameter $query with no type specified.
PHPStan (8.5): plugins/discord-webhooks/src/Models/Webhook.php#L63
Method Notjami\Webhooks\Models\Webhook::scopeEnabled() has no return type specified.
PHPStan (8.5): plugins/discord-webhooks/src/Models/Webhook.php#L55
Call to function in_array() with 'server_installed'|'server_installing'|'server_started'|'server_stopped' and array<Notjami\Webhooks\Enums\WebhookEvent> will always evaluate to false.
PHPStan (8.5): plugins/discord-webhooks/src/Filament/Server/Resources/Webhooks/WebhookResource.php#L66
Unable to resolve the template type TValue in call to function collect
PHPStan (8.5): plugins/discord-webhooks/src/Filament/Server/Resources/Webhooks/WebhookResource.php#L66
Unable to resolve the template type TKey in call to function collect
PHPStan (8.3)
The strategy configuration was canceled because "phpstan._8_4" failed
PHPStan (8.3): plugins/discord-webhooks/src/Models/Webhook.php#L73
Method Notjami\Webhooks\Models\Webhook::scopeForServer() has parameter $query with no type specified.
PHPStan (8.3): plugins/discord-webhooks/src/Models/Webhook.php#L73
Method Notjami\Webhooks\Models\Webhook::scopeForServer() has no return type specified.
PHPStan (8.3): plugins/discord-webhooks/src/Models/Webhook.php#L68
Method Notjami\Webhooks\Models\Webhook::scopeForEvent() has parameter $query with no type specified.
PHPStan (8.3): plugins/discord-webhooks/src/Models/Webhook.php#L68
Method Notjami\Webhooks\Models\Webhook::scopeForEvent() has no return type specified.
PHPStan (8.3): plugins/discord-webhooks/src/Models/Webhook.php#L63
Method Notjami\Webhooks\Models\Webhook::scopeEnabled() has parameter $query with no type specified.
PHPStan (8.3): plugins/discord-webhooks/src/Models/Webhook.php#L63
Method Notjami\Webhooks\Models\Webhook::scopeEnabled() has no return type specified.
PHPStan (8.3): plugins/discord-webhooks/src/Models/Webhook.php#L55
Call to function in_array() with 'server_installed'|'server_installing'|'server_started'|'server_stopped' and array<Notjami\Webhooks\Enums\WebhookEvent> will always evaluate to false.
PHPStan (8.3): plugins/discord-webhooks/src/Filament/Server/Resources/Webhooks/WebhookResource.php#L66
Unable to resolve the template type TValue in call to function collect
PHPStan (8.3): plugins/discord-webhooks/src/Filament/Server/Resources/Webhooks/WebhookResource.php#L66
Unable to resolve the template type TKey in call to function collect
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.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/
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.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.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/