Skip to content

Bump phpstan/phpstan from 1.10.16 to 1.10.27 #1185

Bump phpstan/phpstan from 1.10.16 to 1.10.27

Bump phpstan/phpstan from 1.10.16 to 1.10.27 #1185

Triggered via pull request August 7, 2023 10:11
Status Failure
Total duration 2m 39s
Artifacts

main.yml

on: pull_request
Code Style checks
1m 13s
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

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