Skip to content

Update composer.json: fix php-cs-fixer script and add phpstan dependency #7

Update composer.json: fix php-cs-fixer script and add phpstan dependency

Update composer.json: fix php-cs-fixer script and add phpstan dependency #7

Triggered via push April 2, 2026 09:11
Status Failure
Total duration 30s
Artifacts

check.yaml

on: push
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 2 warnings
code-style
Process completed with exit code 8.
phpstan: recipe/deploy/release.php#L115
Call to function is_integer() with int will always evaluate to true.
phpstan: contrib/rabbit.php#L92
Call to function is_array() with non-empty-array<mixed, mixed> will always evaluate to true.
phpstan: contrib/grafana.php#L48
Call to function is_array() with non-empty-array<mixed> will always evaluate to true.
phpstan: contrib/directadmin.php#L164
Call to function is_array() with array will always evaluate to true.
phpstan: contrib/directadmin.php#L148
Call to function is_array() with array will always evaluate to true.
phpstan: contrib/directadmin.php#L132
Call to function is_array() with array will always evaluate to true.
phpstan: contrib/directadmin.php#L114
Call to function is_array() with array will always evaluate to true.
phpstan: contrib/directadmin.php#L99
Call to function is_array() with array will always evaluate to true.
phpstan: contrib/directadmin.php#L79
Call to function is_array() with array will always evaluate to true.
phpstan: contrib/cloudflare.php#L69
Comparison operation "<" between 8 and 8 is always false.
code-style
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v4, actions/checkout@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 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
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v4, actions/checkout@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 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/