Skip to content

Bump phpstan/phpstan from 1.10.16 to 1.10.26 #1177

Bump phpstan/phpstan from 1.10.16 to 1.10.26

Bump phpstan/phpstan from 1.10.16 to 1.10.26 #1177

Triggered via pull request August 1, 2023 15:59
Status Failure
Total duration 2m 39s
Artifacts

main.yml

on: pull_request
Code Style checks
1m 15s
Code Style checks
Matrix: Generated Code consistency checks
Matrix: Integration tests
Matrix: PHPStan analysis
Matrix: PHPUnit tests
Fit to window
Zoom out
Zoom in

Annotations

14 errors
PHPStan analysis (ubuntu-20.04, 8.2): src/MemoryManager.php#L362
Unable to resolve the template type TKeyType in call to method static method pocketmine\utils\Utils::stringifyKeys()
PHPStan analysis (ubuntu-20.04, 8.2): src/block/utils/CandleTrait.php (in context of class pocketmine/block/CakeWithCandle)#L59
Method pocketmine\block\CakeWithCandle::onInteractCandle() has parameter $returnedItems with no value type specified in iterable type array.
PHPStan analysis (ubuntu-20.04, 8.2): src/block/utils/TallGrassTrait.php (in context of class pocketmine/block/DoubleTallGrass)#L37
Method pocketmine\block\DoubleTallGrass::traitGetDropsForIncompatibleTool() return type has no value type specified in iterable type array.
PHPStan analysis (ubuntu-20.04, 8.2): src/item/Item.php#L684
Parameter #1 $str of function base64_decode expects string, mixed given.
PHPStan analysis (ubuntu-20.04, 8.2): src/network/mcpe/NetworkSession.php#L211
Class pocketmine\network\mcpe\handler\LoginPacketHandler constructor invoked with 3 parameters, 4 required.
PHPStan analysis (ubuntu-20.04, 8.2): src/network/mcpe/handler/InGamePacketHandler.php#L967
Match arm comparison between 1|2|3|4 and 0 is always false.
PHPStan analysis (ubuntu-20.04, 8.2)
Process completed with exit code 1.
PHPStan analysis (ubuntu-20.04, 8.1): src/MemoryManager.php#L362
Unable to resolve the template type TKeyType in call to method static method pocketmine\utils\Utils::stringifyKeys()
PHPStan analysis (ubuntu-20.04, 8.1): src/block/utils/CandleTrait.php (in context of class pocketmine/block/CakeWithCandle)#L59
Method pocketmine\block\CakeWithCandle::onInteractCandle() has parameter $returnedItems with no value type specified in iterable type array.
PHPStan analysis (ubuntu-20.04, 8.1): src/block/utils/TallGrassTrait.php (in context of class pocketmine/block/DoubleTallGrass)#L37
Method pocketmine\block\DoubleTallGrass::traitGetDropsForIncompatibleTool() return type has no value type specified in iterable type array.
PHPStan analysis (ubuntu-20.04, 8.1): src/item/Item.php#L684
Parameter #1 $str of function base64_decode expects string, mixed given.
PHPStan analysis (ubuntu-20.04, 8.1): src/network/mcpe/NetworkSession.php#L211
Class pocketmine\network\mcpe\handler\LoginPacketHandler constructor invoked with 3 parameters, 4 required.
PHPStan analysis (ubuntu-20.04, 8.1): src/network/mcpe/handler/InGamePacketHandler.php#L967
Match arm comparison between 1|2|3|4 and 0 is always false.
PHPStan analysis (ubuntu-20.04, 8.1)
Process completed with exit code 1.