Skip to content

fix(errors): suppress E_DEPRECATED/E_USER_DEPRECATED in production #314

fix(errors): suppress E_DEPRECATED/E_USER_DEPRECATED in production

fix(errors): suppress E_DEPRECATED/E_USER_DEPRECATED in production #314

Triggered via push May 19, 2026 06:14
Status Failure
Total duration 28s
Artifacts

code-quality.yml

on: push
PHPStan + phpcs
24s
PHPStan + phpcs
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 11 warnings
PHPStan + phpcs: src/Core/Workers/WorkerModelsEvents.php#L173
Whitespace found at end of line
PHPStan + phpcs: src/Core/Workers/WorkerModelsEvents.php#L169
Whitespace found at end of line
PHPStan + phpcs: src/Core/Workers/WorkerModelsEvents.php#L165
Whitespace found at end of line
PHPStan + phpcs: src/Core/Workers/WorkerModelsEvents.php#L155
Whitespace found at end of line
PHPStan + phpcs: src/Core/Workers/WorkerBase.php#L1062
Expected 1 newline at end of file; 0 found
PHPStan + phpcs: src/Core/Workers/WorkerBase.php#L1
Header blocks must be separated by a single blank line
PHPStan + phpcs: src/Common/Providers/WhoopsErrorHandlerProvider.php#L124
Expected 1 newline at end of file; 0 found
PHPStan + phpcs: src/Common/Providers/WhoopsErrorHandlerProvider.php#L34
Header blocks must be separated by a single blank line
PHPStan + phpcs: src/Common/Providers/WhoopsErrorHandlerProvider.php#L22
Header blocks must be separated by a single blank line
PHPStan + phpcs: src/Common/Providers/WhoopsErrorHandlerProvider.php#L1
Header blocks must be separated by a single blank line
PHPStan + phpcs
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 + phpcs: src/Core/Workers/WorkerModelsEvents.php#L572
Line exceeds 120 characters; contains 185 characters
PHPStan + phpcs: src/Core/Workers/WorkerModelsEvents.php#L553
Line exceeds 120 characters; contains 123 characters
PHPStan + phpcs: src/Core/Workers/WorkerModelsEvents.php#L509
Line exceeds 120 characters; contains 134 characters
PHPStan + phpcs: src/Core/Workers/WorkerModelsEvents.php#L505
Line exceeds 120 characters; contains 178 characters
PHPStan + phpcs: src/Core/Workers/WorkerModelsEvents.php#L495
Line exceeds 120 characters; contains 176 characters
PHPStan + phpcs: src/Core/Workers/WorkerModelsEvents.php#L474
Line exceeds 120 characters; contains 161 characters
PHPStan + phpcs: src/Core/Workers/WorkerModelsEvents.php#L242
Line exceeds 120 characters; contains 135 characters
PHPStan + phpcs: src/Core/Workers/WorkerModelsEvents.php#L218
Line exceeds 120 characters; contains 167 characters
PHPStan + phpcs: src/Core/Workers/WorkerModelsEvents.php#L1
A file should declare new symbols (classes, functions, constants, etc.) and cause no other side effects, or it should execute logic with side effects, but should not do both. The first symbol is defined on line 90 and the first side effect is on line 23.
PHPStan + phpcs: src/Core/Workers/WorkerBase.php#L87
Line exceeds 120 characters; contains 130 characters