Add Hydrogen:delay() #23
ci.yml
on: push
Code Style checks
16s
Matrix: PHPStan analysis
Annotations
11 errors
PHPStan analysis (ubuntu-latest, 8.1):
src/thebigcrafter/Hydrogen/Hydrogen.php#L41
Parameter #1 $message of method Logger::debug() expects string, pocketmine\utils\InternetException given.
|
PHPStan analysis (ubuntu-latest, 8.1):
src/thebigcrafter/Hydrogen/Hydrogen.php#L44
Variable $res might not be defined.
|
PHPStan analysis (ubuntu-latest, 8.1):
src/thebigcrafter/Hydrogen/Hydrogen.php#L120
Parameter #1 $id of method thebigcrafter\Hydrogen\exceptions\Cancellation::unsubscribe() expects string, string|null given.
|
PHPStan analysis (ubuntu-latest, 8.1):
src/thebigcrafter/Hydrogen/exceptions/Cancellation.php#L27
PHPDoc tag @param has invalid value (\Closure(CancelledException) $callback Callback to be invoked on a cancellation request. Will receive a
`CancelledException` as first argument that may be used to fail the operation.): Unexpected token "(", expected variable at offset 265
|
PHPStan analysis (ubuntu-latest, 8.1):
src/thebigcrafter/Hydrogen/future/DeferredFuture.php#L37
Parameter $value of method thebigcrafter\Hydrogen\future\DeferredFuture::complete() has invalid type thebigcrafter\Hydrogen\future\T.
|
PHPStan analysis (ubuntu-latest, 8.1):
src/thebigcrafter/Hydrogen/future/DeferredFuture.php#L63
Method thebigcrafter\Hydrogen\future\DeferredFuture::getFuture() has invalid return type thebigcrafter\Hydrogen\future\T.
|
PHPStan analysis (ubuntu-latest, 8.1):
src/thebigcrafter/Hydrogen/future/DeferredFuture.php#L63
PHPDoc tag @return contains generic type thebigcrafter\Hydrogen\future\Future<thebigcrafter\Hydrogen\future\T> but class thebigcrafter\Hydrogen\future\Future is not generic.
|
PHPStan analysis (ubuntu-latest, 8.1):
src/thebigcrafter/Hydrogen/future/Future.php#L28
Method thebigcrafter\Hydrogen\future\Future::iterate() has parameter $futures with no value type specified in iterable type iterable.
|
PHPStan analysis (ubuntu-latest, 8.1):
src/thebigcrafter/Hydrogen/future/Future.php#L28
Method thebigcrafter\Hydrogen\future\Future::iterate() return type has no value type specified in iterable type iterable.
|
PHPStan analysis (ubuntu-latest, 8.1):
src/thebigcrafter/Hydrogen/future/Future.php#L72
PHPDoc tag @return contains generic type thebigcrafter\Hydrogen\future\Future<never> but class thebigcrafter\Hydrogen\future\Future is not generic.
|
Code Style checks
Process completed with exit code 8.
|