refactor: Clean up unused imports and improve test output handling in… #3
ci.yml
on: pull_request
PHPStan (level 8)
16s
Code Style (dry-run)
14s
Security Audit
11s
Matrix: tests
Annotations
15 errors and 8 warnings
|
PHPUnit (8.3, lowest)
Process completed with exit code 127.
|
|
PHPStan (level 8):
src/Depends/Renderer.php#L106
Call to function is_callable() with array{AlfacodeTeam\PhpIoCli\Depends\State, 'filtered'} will always evaluate to false.
|
|
PHPStan (level 8):
src/ConsoleIO.php#L258
Method AlfacodeTeam\PhpIoCli\ConsoleIO::writeErrorRaw() has parameter $messages with no type specified.
|
|
PHPStan (level 8):
src/ConsoleIO.php#L253
Method AlfacodeTeam\PhpIoCli\ConsoleIO::writeRaw() has parameter $messages with no type specified.
|
|
PHPStan (level 8):
src/Components/TextInput.php#L76
Parameter #2 $handler of method AlfacodeTeam\PhpIoCli\Depends\Input::bind() expects Closure(AlfacodeTeam\PhpIoCli\Depends\State, string): (bool|void), Closure(mixed): int<0, max> given.
|
|
PHPStan (level 8):
src/Components/TextInput.php#L75
Parameter #2 $handler of method AlfacodeTeam\PhpIoCli\Depends\Input::bind() expects Closure(AlfacodeTeam\PhpIoCli\Depends\State, string): (bool|void), Closure(mixed): 0 given.
|
|
PHPStan (level 8):
src/Components/Alert.php#L57
Access to undefined constant AlfacodeTeam\PhpIoCli\Depends\Colors::WHITE.
|
|
PHPStan (level 8):
src/BaseIO.php#L23
Method AlfacodeTeam\PhpIoCli\BaseIO::writeErrorRaw() has parameter $messages with no type specified.
|
|
PHPStan (level 8):
src/BaseIO.php#L18
Method AlfacodeTeam\PhpIoCli\BaseIO::writeRaw() has parameter $messages with no type specified.
|
|
PHPStan (level 8):
src/AbstractCommand.php#L62
Strict comparison using === between mixed and null will always evaluate to false.
|
|
PHPStan (level 8):
src/AbstractCommand.php#L36
Property AlfacodeTeam\PhpIoCli\AbstractCommand::$rawTokens is never read, only written.
|
|
PHPUnit (8.2, latest)
Process completed with exit code 127.
|
|
PHPUnit (8.4, latest)
Process completed with exit code 127.
|
|
PHPUnit (8.2, lowest)
Process completed with exit code 127.
|
|
PHPUnit (8.3, latest)
Process completed with exit code 127.
|
|
PHPUnit (8.3, lowest)
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/
|
|
Code Style (dry-run)
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. 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 (level 8)
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/
|
|
Security Audit
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. 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/
|
|
PHPUnit (8.2, latest)
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/
|
|
PHPUnit (8.4, latest)
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/
|
|
PHPUnit (8.2, lowest)
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/
|
|
PHPUnit (8.3, latest)
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/
|