Fix PHPStan #1157
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
main.yml
on: push
Code Style checks
1m 16s
Matrix: Generated Code consistency checks
Matrix: Integration tests
Matrix: PHPStan analysis
Matrix: PHPUnit tests
Annotations
6 errors
PHPStan analysis (ubuntu-20.04, 8.1):
src/world/World.php#L854
Property pocketmine\world\World::$packetBuffersByChunk (array<int, array<int, array<int, pocketmine\network\mcpe\protocol\ClientboundPacket>>>) does not accept array<int, array<int|string, array<int, pocketmine\network\mcpe\protocol\ClientboundPacket>>>.
|
PHPStan analysis (ubuntu-20.04, 8.1):
src/world/World.php#L856
Property pocketmine\world\World::$packetBuffersByChunk (array<int, array<int, array<int, pocketmine\network\mcpe\protocol\ClientboundPacket>>>) does not accept array<int, array<int|string, array<int, pocketmine\network\mcpe\protocol\ClientboundPacket>>>.
|
PHPStan analysis (ubuntu-20.04, 8.1)
Process completed with exit code 1.
|
PHPStan analysis (ubuntu-20.04, 8.2):
src/world/World.php#L854
Property pocketmine\world\World::$packetBuffersByChunk (array<int, array<int, array<int, pocketmine\network\mcpe\protocol\ClientboundPacket>>>) does not accept array<int, array<int|string, array<int, pocketmine\network\mcpe\protocol\ClientboundPacket>>>.
|
PHPStan analysis (ubuntu-20.04, 8.2):
src/world/World.php#L856
Property pocketmine\world\World::$packetBuffersByChunk (array<int, array<int, array<int, pocketmine\network\mcpe\protocol\ClientboundPacket>>>) does not accept array<int, array<int|string, array<int, pocketmine\network\mcpe\protocol\ClientboundPacket>>>.
|
PHPStan analysis (ubuntu-20.04, 8.2)
Process completed with exit code 1.
|