Use first-class callables wherever possible #744
Annotations
10 errors and 1 warning
|
Run PHPStan:
tests/phpunit/serializer/PacketBatchTest.php#L42
Call to an undefined static method pocketmine\network\mcpe\protocol\serializer\PacketBatch::fromPackets().
|
Run PHPStan:
tests/phpunit/serializer/PacketBatchTest.php#L43
Cannot instantiate class pocketmine\network\mcpe\protocol\serializer\PacketBatch via private constructor pocketmine\network\mcpe\protocol\serializer\PacketBatch::__construct().
|
Run PHPStan:
tests/phpunit/serializer/PacketBatchTest.php#L43
Class pocketmine\network\mcpe\protocol\serializer\PacketBatch constructor invoked with 1 parameter, 0 required.
|
Run PHPStan:
tests/phpunit/serializer/PacketBatchTest.php#L46
Call to an undefined method pocketmine\network\mcpe\protocol\serializer\PacketBatch::getPackets().
|
Run PHPStan:
tests/phpunit/serializer/PacketBatchTest.php#L54
Call to an undefined static method pocketmine\network\mcpe\protocol\serializer\PacketBatch::fromPackets().
|
Run PHPStan:
tests/phpunit/serializer/PacketBatchTest.php#L55
Cannot instantiate class pocketmine\network\mcpe\protocol\serializer\PacketBatch via private constructor pocketmine\network\mcpe\protocol\serializer\PacketBatch::__construct().
|
Run PHPStan:
tests/phpunit/serializer/PacketBatchTest.php#L55
Class pocketmine\network\mcpe\protocol\serializer\PacketBatch constructor invoked with 1 parameter, 0 required.
|
Run PHPStan:
tests/phpunit/serializer/PacketBatchTest.php#L57
Call to an undefined method pocketmine\network\mcpe\protocol\serializer\PacketBatch::getPackets().
|
Run PHPStan
Process completed with exit code 1.
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
The logs for this run have expired and are no longer available.
Loading