Skip to content

Update version to 1.1.0 #12

Update version to 1.1.0

Update version to 1.1.0 #12

Triggered via push September 23, 2023 07:48
Status Failure
Total duration 26s
Artifacts

ci.yml

on: push
Code Style checks
16s
Code Style checks
Matrix: PHPStan analysis
Fit to window
Zoom out
Zoom in

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>.