Ext-encoding support #393
Annotations
10 errors
|
PHPStan Analysis:
protocol/ProxyPacket.php#L24
Parameter #2 $value of static method pmmp\encoding\VarInt::writeUnsignedInt() expects int, mixed given.
|
|
PHPStan Analysis:
protocol/ProxyPacket.php#L19
Method libproxy\protocol\ProxyPacket::pid() should return int but returns mixed.
|
|
PHPStan Analysis:
ProxyServer.php#L333
Parameter #1 $payload of method pocketmine\network\mcpe\compression\ZlibCompressor::compress() expects string, mixed given.
|
|
PHPStan Analysis:
ProxyServer.php#L333
Call to an undefined method pmmp\encoding\ByteBufferWriter::getBuffer().
|
|
PHPStan Analysis:
ProxyNetworkInterface.php#L216
Using nullsafe method call on non-nullable type pocketmine\network\mcpe\NetworkSession. Use -> instead.
|
|
PHPStan Analysis:
ProxyNetworkInterface.php#L216
Call to private method checkRepeatedPacketFilter() of class pocketmine\network\mcpe\NetworkSession.
|
|
PHPStan Analysis:
ProxyNetworkInterface.php#L107
Cannot use array destructuring on mixed.
|
|
PHPStan Analysis:
ProxyNetworkInterface.php#L103
No error to ignore is reported on line 103.
|
|
PHPStan Analysis:
PMUtils.php#L33
Call to function method_exists() with pocketmine\Server and 'getEntityEventBroad…' will always evaluate to true.
|
|
PHPStan Analysis:
PMUtils.php#L19
Call to function method_exists() with pocketmine\Server and 'getPacketBroadcaster' will always evaluate to true.
|