Skip to content

phar.readonly = false #229

phar.readonly = false

phar.readonly = false #229

Triggered via push October 19, 2023 17:47
Status Failure
Total duration 2m 18s
Artifacts

ci.yml

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

Annotations

11 errors
Build Phar file (ubuntu-latest, 8.1)
Process completed with exit code 127.
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.