Bump phpstan/phpstan from 1.10.16 to 1.10.28 #1187
main.yml
on: push
Code Style checks
1m 11s
Matrix: Generated Code consistency checks
Matrix: Integration tests
Matrix: PHPStan analysis
Matrix: PHPUnit tests
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.
|