Update version to 1.1.0 #12
ci.yml
on: push
Code Style checks
16s
Matrix: PHPStan analysis
Annotations
11 errors
Code Style checks
Process completed with exit code 8.
|
PHPStan analysis (ubuntu-latest, 8.1):
src/thebigcrafter/Hydrogen/EventLoop.php#L46
Method class@anonymous/thebigcrafter/Hydrogen/EventLoop.php:45::activate() has parameter $callbacks with no value type specified in iterable type array.
|
PHPStan analysis (ubuntu-latest, 8.1):
src/thebigcrafter/Hydrogen/EventLoop.php#L90
PHPDoc tag @param has invalid value (\Closure(...):void $closure The callback to queue.): Unexpected token "(", expected variable at offset 440
|
PHPStan analysis (ubuntu-latest, 8.1):
src/thebigcrafter/Hydrogen/EventLoop.php#L236
PHPDoc tag @throws with type thebigcrafter\Hydrogen\InvalidCallbackError is not subtype of Throwable
|
PHPStan analysis (ubuntu-latest, 8.1):
src/thebigcrafter/Hydrogen/EventLoop.php#L284
PHPDoc tag @throws with type thebigcrafter\Hydrogen\InvalidCallbackError is not subtype of Throwable
|
PHPStan analysis (ubuntu-latest, 8.1):
src/thebigcrafter/Hydrogen/EventLoop.php#L394
Method thebigcrafter\Hydrogen\EventLoop::getSuspension() return type with generic interface thebigcrafter\Hydrogen\eventLoop\Suspension does not specify its types: T
|
PHPStan analysis (ubuntu-latest, 8.1):
src/thebigcrafter/Hydrogen/eventLoop/Driver.php#L50
Method thebigcrafter\Hydrogen\eventLoop\Driver::getSuspension() return type with generic interface thebigcrafter\Hydrogen\eventLoop\Suspension does not specify its types: T
|
PHPStan analysis (ubuntu-latest, 8.1):
src/thebigcrafter/Hydrogen/eventLoop/Driver.php#L69
PHPDoc tag @param has invalid value (\Closure(...):void $closure The callback to queue.): Unexpected token "(", expected variable at offset 440
|
PHPStan analysis (ubuntu-latest, 8.1):
src/thebigcrafter/Hydrogen/eventLoop/Driver/EvDriver.php#L176
Method thebigcrafter\Hydrogen\eventLoop\Driver\EvDriver::activate() has parameter $callbacks with no value type specified in iterable type array.
|
PHPStan analysis (ubuntu-latest, 8.1):
src/thebigcrafter/Hydrogen/eventLoop/Driver/EvDriver.php#L186
Property thebigcrafter\Hydrogen\eventLoop\Driver\EvDriver::$events (array<string, EvWatcher>) does not accept array<int|string, EvWatcher>.
|
PHPStan analysis (ubuntu-latest, 8.1):
src/thebigcrafter/Hydrogen/eventLoop/Driver/EvDriver.php#L190
Property thebigcrafter\Hydrogen\eventLoop\Driver\EvDriver::$events (array<string, EvWatcher>) does not accept array<int|string, EvWatcher>.
|