Skip to content

Send a message when caching plugins list #221

Send a message when caching plugins list

Send a message when caching plugins list #221

Triggered via push October 4, 2023 15:09
Status Failure
Total duration 2m 16s
Artifacts

ci.yml

on: push
Code Style checks
2m 5s
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#L18
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#L18
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#L32
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#L37
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/PluginVersion.php#L42
Method thebigcrafter\omp\cache\PluginVersion::getSize() has no return type specified.
PHPStan analysis (ubuntu-latest, 8.1): src/thebigcrafter/omp/cache/PluginsPool.php#L55
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#L63
Call to an undefined method SplObjectStorage<thebigcrafter\omp\cache\PluginCache, mixed>::getName().
PHPStan analysis (ubuntu-latest, 8.1): src/thebigcrafter/omp/cache/PluginsPool.php#L64
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#L39
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#L42
Parameter #1 $json of function json_decode expects string, mixed given.
Code Style checks
Process completed with exit code 8.