Skip to content

Add error handling for missing or unreadable WordPress files in core commands #508

Add error handling for missing or unreadable WordPress files in core commands

Add error handling for missing or unreadable WordPress files in core commands #508

Triggered via pull request March 11, 2026 21:37
Status Failure
Total duration 30s
Artifacts

code-quality.yml

on: pull_request
code-quality  /  Lint GitHub Actions workflows
7s
code-quality / Lint GitHub Actions workflows
code-quality  /  Lint PHP files
17s
code-quality / Lint PHP files
code-quality  /  Lint Gherkin Feature files
20s
code-quality / Lint Gherkin Feature files
code-quality  /  Spell check
7s
code-quality / Spell check
code-quality  /  PHPCS
22s
code-quality / PHPCS
code-quality  /  PHPStan
28s
code-quality / PHPStan
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 6 warnings
code-quality / PHPCS
Process completed with exit code 1.
code-quality / PHPCS: src/Core_Command.php#L2022
Line indented incorrectly; expected at least 1 tabs, found 2 spaces
code-quality / PHPCS: src/Core_Command.php#L2021
Whitespace found at end of line
code-quality / PHPCS: src/Core_Command.php#L2020
Line indented incorrectly; expected 1 tabs, found 2 spaces
code-quality / PHPCS: src/Core_Command.php#L2005
Whitespace found at end of line
code-quality / PHPCS
Process completed with exit code 2.
code-quality / Spell check
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: andstor/file-existence-action@076e0072799f4942c8bc574a82233e1e4d13e9d6. 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/
code-quality / Lint PHP files
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809, andstor/file-existence-action@076e0072799f4942c8bc574a82233e1e4d13e9d6, shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1. 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/
code-quality / PHPCS
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809, andstor/file-existence-action@076e0072799f4942c8bc574a82233e1e4d13e9d6, shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1. 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/
code-quality / PHPCS: src/Core_Command.php#L2022
Found precision alignment of 2 spaces.
code-quality / PHPCS: src/Core_Command.php#L2020
Found precision alignment of 2 spaces.
code-quality / PHPStan
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809, andstor/file-existence-action@076e0072799f4942c8bc574a82233e1e4d13e9d6, shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1. 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/