Skip to content
Triggered via push July 12, 2024 08:59
Status Failure
Total duration 1m 51s
Artifacts

main.yml

on: push
Code Style checks
35s
Code Style checks
Matrix: all-php-versions
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Code Style checks
Process completed with exit code 8.
PHP 8.1 / PHPStan analysis: src/Server.php#L547
Parameter #1 $onSuccess of method pocketmine\promise\Promise<pocketmine\event\AsyncEvent>::onCompletion() expects Closure(pocketmine\event\AsyncEvent): void, Closure(pocketmine\event\player\PlayerDataSaveAsyncEvent): void given.
PHP 8.1 / PHPStan analysis: src/Server.php#L589
Parameter #1 $onSuccess of method pocketmine\promise\Promise<pocketmine\event\AsyncEvent>::onCompletion() expects Closure(pocketmine\event\AsyncEvent): void, Closure(pocketmine\event\player\PlayerCreationAsyncEvent): void given.
PHP 8.1 / PHPStan analysis
Process completed with exit code 1.
PHP 8.3 / PHPStan analysis: src/Server.php#L547
Parameter #1 $onSuccess of method pocketmine\promise\Promise<pocketmine\event\AsyncEvent>::onCompletion() expects Closure(pocketmine\event\AsyncEvent): void, Closure(pocketmine\event\player\PlayerDataSaveAsyncEvent): void given.
PHP 8.3 / PHPStan analysis: src/Server.php#L589
Parameter #1 $onSuccess of method pocketmine\promise\Promise<pocketmine\event\AsyncEvent>::onCompletion() expects Closure(pocketmine\event\AsyncEvent): void, Closure(pocketmine\event\player\PlayerCreationAsyncEvent): void given.
PHP 8.3 / PHPStan analysis
Process completed with exit code 1.
PHP 8.2 / PHPStan analysis: src/Server.php#L547
Parameter #1 $onSuccess of method pocketmine\promise\Promise<pocketmine\event\AsyncEvent>::onCompletion() expects Closure(pocketmine\event\AsyncEvent): void, Closure(pocketmine\event\player\PlayerDataSaveAsyncEvent): void given.
PHP 8.2 / PHPStan analysis: src/Server.php#L589
Parameter #1 $onSuccess of method pocketmine\promise\Promise<pocketmine\event\AsyncEvent>::onCompletion() expects Closure(pocketmine\event\AsyncEvent): void, Closure(pocketmine\event\player\PlayerCreationAsyncEvent): void given.
PHP 8.2 / PHPStan analysis
Process completed with exit code 1.