Skip to content

Finish plugin caching #218

Finish plugin caching

Finish plugin caching #218

Triggered via push October 1, 2023 15:20
Status Failure
Total duration 2m 18s
Artifacts

ci.yml

on: push
Code Style checks
2m 7s
Code Style checks
Matrix: PHPStan analysis
Fit to window
Zoom out
Zoom in

Annotations

11 errors
PHPStan analysis (ubuntu-latest, 8.1): src/thebigcrafter/omp/cache/PluginVersion.php#L10
Method thebigcrafter\omp\cache\PluginVersion::__construct() has parameter $api with no value type specified in iterable type array.
PHPStan analysis (ubuntu-latest, 8.1): src/thebigcrafter/omp/cache/PluginVersion.php#L10
Method thebigcrafter\omp\cache\PluginVersion::__construct() has parameter $deps with no value type specified in iterable type array.
PHPStan analysis (ubuntu-latest, 8.1): src/thebigcrafter/omp/cache/PluginVersion.php#L24
Method thebigcrafter\omp\cache\PluginVersion::getApi() return type has no value type specified in iterable type array.
PHPStan analysis (ubuntu-latest, 8.1): src/thebigcrafter/omp/cache/PluginVersion.php#L29
Method thebigcrafter\omp\cache\PluginVersion::getDepends() return type has no value type specified in iterable type array.
PHPStan analysis (ubuntu-latest, 8.1): src/thebigcrafter/omp/cache/PluginsPool.php#L47
Argument of an invalid type SplObjectStorage<thebigcrafter\omp\cache\PluginCache, mixed>|null supplied for foreach, only iterables are supported.
PHPStan analysis (ubuntu-latest, 8.1): src/thebigcrafter/omp/cache/PluginsPool.php#L55
Call to an undefined method SplObjectStorage<thebigcrafter\omp\cache\PluginCache, mixed>::getName().
PHPStan analysis (ubuntu-latest, 8.1): src/thebigcrafter/omp/cache/PluginsPool.php#L56
Method thebigcrafter\omp\cache\PluginsPool::getPluginCacheByName() should return thebigcrafter\omp\cache\PluginCache|null but returns SplObjectStorage<thebigcrafter\omp\cache\PluginCache, mixed>.
PHPStan analysis (ubuntu-latest, 8.1): src/thebigcrafter/omp/tasks/CachePlugins.php#L26
Method thebigcrafter\omp\tasks\CachePlugins::run() return type with generic class thebigcrafter\Iodine\Future does not specify its types: T
PHPStan analysis (ubuntu-latest, 8.1): src/thebigcrafter/omp/tasks/CachePlugins.php#L29
Parameter #1 $json of function json_decode expects string, mixed given.
PHPStan analysis (ubuntu-latest, 8.1): src/thebigcrafter/omp/tasks/CachePlugins.php#L31
Parameter #1 $array of function sort expects TArray of array<T>, mixed given.
Code Style checks
Process completed with exit code 8.