Skip to content
Triggered via push September 30, 2024 16:54
Status Failure
Total duration 33s
Artifacts

phpstan.yml

on: push
Phpstan  /  Phpstan (8.2)
24s
Phpstan / Phpstan (8.2)
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
Phpstan / Phpstan (8.2): src/Command/CraftCommand.php#L39
Parameter #1 $cwd of method Contributte\Mate\Config\Loader\ConfigLoader::load() expects string, string|false given.
Phpstan / Phpstan (8.2): src/Command/CraftCommand.php#L53
Unreachable statement - code above always terminates.
Phpstan / Phpstan (8.2): src/Command/InitCommand.php#L21
Property Contributte\Mate\Command\InitCommand::$configLoader is never read, only written.
Phpstan / Phpstan (8.2): src/Command/MakeCommand.php#L19
Property Contributte\Mate\Command\MakeCommand::$configLoader is never read, only written.
Phpstan / Phpstan (8.2): src/Config/CrafterConfig.php#L8
Method Contributte\Mate\Config\CrafterConfig::__construct() has parameter $categories with no value type specified in iterable type array.
Phpstan / Phpstan (8.2): src/Config/Loader/ConfigLoader.php#L39
Cannot access offset 'app' on mixed.
Phpstan / Phpstan (8.2): src/Config/Loader/ConfigLoader.php#L39
Cannot access offset 'namespace' on mixed.
Phpstan / Phpstan (8.2): src/Config/Loader/ConfigLoader.php#L39
Parameter $namespace of class Contributte\Mate\Config\AppConfig constructor expects string, mixed given.
Phpstan / Phpstan (8.2): src/Config/Loader/ConfigLoader.php#L42
Cannot access offset 'app' on mixed.
Phpstan / Phpstan (8.2): src/Config/Loader/ConfigLoader.php#L42
Cannot access offset 'crafters' on mixed.
Phpstan / Phpstan (8.2)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/