Bump the phpstan group across 1 directory with 2 updates #1458
Annotations
10 errors
src/MemoryManager.php#L118
Offset 1 does not exist on array{0?: string, 1?: numeric-string, 2?: 'G'|'g'|'K'|'k'|'M'|'m'}.
|
src/MemoryManager.php#L122
Offset 2 does not exist on array{0?: string, 1?: numeric-string, 2?: 'G'|'g'|'K'|'k'|'M'|'m'}.
|
src/command/utils/CommandStringHelper.php#L56
Casting to int something that's already int.
|
src/network/mcpe/handler/PreSpawnPacketHandler.php#L102
Parameter #1 $movementType of class pocketmine\network\mcpe\protocol\types\PlayerMovementSettings constructor expects int, pocketmine\network\mcpe\protocol\types\ServerAuthMovementMode::SERVER_AUTHORITATIVE_V2 given.
|
src/player/Player.php#L813
Call to function is_int() with int will always evaluate to true.
|
src/player/Player.php#L813
Call to function is_int() with int will always evaluate to true.
|
src/utils/Config.php#L563
Casting to string something that's already string.
|
src/utils/Git.php#L42
Strict comparison using !== between string and false will always evaluate to true.
|
src/utils/Internet.php#L89
Offset 1 does not exist on array{0?: string, 1?: string}.
|
src/utils/Internet.php#L94
Offset 1 does not exist on array{0?: string, 1?: string}.
|
This job failed
Loading