Skip to content

mv not rn

mv not rn #230

Triggered via push October 19, 2023 17:49
Status Failure
Total duration 57s
Artifacts 1

ci.yml

on: push
Code Style checks
48s
Code Style checks
Matrix: Build Phar file
Matrix: PHPStan analysis
Fit to window
Zoom out
Zoom in

Annotations

10 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/commands/subcommands/ListCommand.php#L64
Binary operation "-" between 1|string and 1 results in an error.
PHPStan analysis (ubuntu-latest, 8.1): src/thebigcrafter/omp/commands/subcommands/ListCommand.php#L71
Parameter #1 $name of static method thebigcrafter\omp\cache\PluginsPool::getPluginCacheByName() expects string, mixed given.

Artifacts

Produced during runtime
Name Size
oh-my-pmmp Expired
431 KB