Skip to content

chore: update actions #984

chore: update actions

chore: update actions #984

Triggered via push March 13, 2026 22:59
Status Failure
Total duration 1m 13s
Artifacts

test-php.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 3 warnings
PHP Lint
Process completed with exit code 2.
PHPStan: classes/Visualizer/Gutenberg/Block.php#L0
Ignored error pattern #^Method Visualizer_Gutenberg_Block\:\:get_query_data\(\) has parameter \$data with no type specified\.$# (missingType.parameter) in path /home/runner/work/visualizer/visualizer/classes/Visualizer/Gutenberg/Block.php was not matched in reported errors.
PHPStan: classes/Visualizer/Gutenberg/Block.php#L0
Ignored error pattern #^Method Visualizer_Gutenberg_Block\:\:get_query_data\(\) has no return type specified\.$# (missingType.return) in path /home/runner/work/visualizer/visualizer/classes/Visualizer/Gutenberg/Block.php was not matched in reported errors.
PHPStan: classes/Visualizer/Gutenberg/Block.php#L0
Ignored error pattern #^Method Visualizer_Gutenberg_Block\:\:get_permission_data\(\) has parameter \$data with no type specified\.$# (missingType.parameter) in path /home/runner/work/visualizer/visualizer/classes/Visualizer/Gutenberg/Block.php was not matched in reported errors.
PHPStan: classes/Visualizer/Gutenberg/Block.php#L0
Ignored error pattern #^Method Visualizer_Gutenberg_Block\:\:get_permission_data\(\) has no return type specified\.$# (missingType.return) in path /home/runner/work/visualizer/visualizer/classes/Visualizer/Gutenberg/Block.php was not matched in reported errors.
PHPStan: classes/Visualizer/Gutenberg/Block.php#L0
Ignored error pattern #^Method Visualizer_Gutenberg_Block\:\:get_json_root_data\(\) has parameter \$data with no type specified\.$# (missingType.parameter) in path /home/runner/work/visualizer/visualizer/classes/Visualizer/Gutenberg/Block.php was not matched in reported errors.
PHPStan: classes/Visualizer/Gutenberg/Block.php#L0
Ignored error pattern #^Method Visualizer_Gutenberg_Block\:\:get_json_root_data\(\) has no return type specified\.$# (missingType.return) in path /home/runner/work/visualizer/visualizer/classes/Visualizer/Gutenberg/Block.php was not matched in reported errors.
PHPStan: classes/Visualizer/Gutenberg/Block.php#L0
Ignored error pattern #^Method Visualizer_Gutenberg_Block\:\:get_json_data\(\) has parameter \$data with no type specified\.$# (missingType.parameter) in path /home/runner/work/visualizer/visualizer/classes/Visualizer/Gutenberg/Block.php was not matched in reported errors.
PHPStan: classes/Visualizer/Gutenberg/Block.php#L0
Ignored error pattern #^Method Visualizer_Gutenberg_Block\:\:get_json_data\(\) has no return type specified\.$# (missingType.return) in path /home/runner/work/visualizer/visualizer/classes/Visualizer/Gutenberg/Block.php was not matched in reported errors.
PHPStan: classes/Visualizer/Gutenberg/Block.php#L0
Ignored error pattern #^Call to function is_wp_error\(\) with non\-empty\-string will always evaluate to false\.$# (function.impossibleType) in path /home/runner/work/visualizer/visualizer/classes/Visualizer/Gutenberg/Block.php was not matched in reported errors.
PHPStan: classes/Visualizer/Gutenberg/Block.php#L0
Ignored error pattern #^Call to function is_string\(\) with string will always evaluate to true\.$# (function.alreadyNarrowedType) in path /home/runner/work/visualizer/visualizer/classes/Visualizer/Gutenberg/Block.php was not matched in reported errors.
PHP Lint
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, shivammathur/setup-php@v2. 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
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, shivammathur/setup-php@v2. 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/
PHPUnit
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, shivammathur/setup-php@v2. 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/