Skip to content

Validate tmp directory #400

Validate tmp directory

Validate tmp directory #400

Triggered via pull request January 13, 2024 07:43
Status Failure
Total duration 30s
Artifacts

static-analysis.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 3 warnings
sa / PHPStan: sl-src/Cache.php#L5
Namespace declaration statement has to be the very first statement in the script on line 5
sa / PHPStan: sl-src/CacheReader.php#L36
Property Ray\ServiceLocator\CacheReader::$cache has unknown class Ray\ServiceLocator\Cache as its type.
sa / PHPStan: sl-src/CacheReader.php#L44
Parameter $cache of method Ray\ServiceLocator\CacheReader::__construct() has invalid type Ray\ServiceLocator\Cache.
sa / PHPStan: sl-src/CacheReader.php#L140
Call to method get() on an unknown class Ray\ServiceLocator\Cache.
sa / PHPStan: sl-src/ServiceLocator.php#L29
Instantiated class Ray\ServiceLocator\Cache not found.
sa / PHPStan
Process completed with exit code 1.
sa / ComposerRequireChecker
Process completed with exit code 1.
sa / Psalm: sl-src/Cache.php#L31
PropertyNotSetInConstructor: Property Ray\ServiceLocator\Cache::$tmpDir is not defined in constructor of Ray\ServiceLocator\Cache or in any private or final methods called in the constructor
sa / Psalm
Process completed with exit code 1.
sa / PHPMD
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
sa / ComposerRequireChecker
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
sa / Psalm
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/