Use first-class callables wherever possible #744
ci.yml
on: push
Code Style checks
27s
Matrix: build
Generated Code consistency checks
23s
Annotations
28 errors and 4 warnings
Tests (PHP 8.3):
tests/phpunit/serializer/PacketBatchTest.php#L42
Call to an undefined static method pocketmine\network\mcpe\protocol\serializer\PacketBatch::fromPackets().
|
Tests (PHP 8.3):
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().
|
Tests (PHP 8.3):
tests/phpunit/serializer/PacketBatchTest.php#L43
Class pocketmine\network\mcpe\protocol\serializer\PacketBatch constructor invoked with 1 parameter, 0 required.
|
Tests (PHP 8.3):
tests/phpunit/serializer/PacketBatchTest.php#L46
Call to an undefined method pocketmine\network\mcpe\protocol\serializer\PacketBatch::getPackets().
|
Tests (PHP 8.3):
tests/phpunit/serializer/PacketBatchTest.php#L54
Call to an undefined static method pocketmine\network\mcpe\protocol\serializer\PacketBatch::fromPackets().
|
Tests (PHP 8.3):
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().
|
Tests (PHP 8.3):
tests/phpunit/serializer/PacketBatchTest.php#L55
Class pocketmine\network\mcpe\protocol\serializer\PacketBatch constructor invoked with 1 parameter, 0 required.
|
Tests (PHP 8.3):
tests/phpunit/serializer/PacketBatchTest.php#L57
Call to an undefined method pocketmine\network\mcpe\protocol\serializer\PacketBatch::getPackets().
|
Tests (PHP 8.3)
Process completed with exit code 1.
|
Tests (PHP 8.2)
The job was canceled because "_8_3" failed.
|
Tests (PHP 8.2):
tests/phpunit/serializer/PacketBatchTest.php#L42
Call to an undefined static method pocketmine\network\mcpe\protocol\serializer\PacketBatch::fromPackets().
|
Tests (PHP 8.2):
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().
|
Tests (PHP 8.2):
tests/phpunit/serializer/PacketBatchTest.php#L43
Class pocketmine\network\mcpe\protocol\serializer\PacketBatch constructor invoked with 1 parameter, 0 required.
|
Tests (PHP 8.2):
tests/phpunit/serializer/PacketBatchTest.php#L46
Call to an undefined method pocketmine\network\mcpe\protocol\serializer\PacketBatch::getPackets().
|
Tests (PHP 8.2):
tests/phpunit/serializer/PacketBatchTest.php#L54
Call to an undefined static method pocketmine\network\mcpe\protocol\serializer\PacketBatch::fromPackets().
|
Tests (PHP 8.2):
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().
|
Tests (PHP 8.2):
tests/phpunit/serializer/PacketBatchTest.php#L55
Class pocketmine\network\mcpe\protocol\serializer\PacketBatch constructor invoked with 1 parameter, 0 required.
|
Tests (PHP 8.2):
tests/phpunit/serializer/PacketBatchTest.php#L57
Call to an undefined method pocketmine\network\mcpe\protocol\serializer\PacketBatch::getPackets().
|
Tests (PHP 8.2)
Process completed with exit code 1.
|
Tests (PHP 8.1):
tests/phpunit/serializer/PacketBatchTest.php#L42
Call to an undefined static method pocketmine\network\mcpe\protocol\serializer\PacketBatch::fromPackets().
|
Tests (PHP 8.1):
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().
|
Tests (PHP 8.1):
tests/phpunit/serializer/PacketBatchTest.php#L43
Class pocketmine\network\mcpe\protocol\serializer\PacketBatch constructor invoked with 1 parameter, 0 required.
|
Tests (PHP 8.1):
tests/phpunit/serializer/PacketBatchTest.php#L46
Call to an undefined method pocketmine\network\mcpe\protocol\serializer\PacketBatch::getPackets().
|
Tests (PHP 8.1):
tests/phpunit/serializer/PacketBatchTest.php#L54
Call to an undefined static method pocketmine\network\mcpe\protocol\serializer\PacketBatch::fromPackets().
|
Tests (PHP 8.1):
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().
|
Tests (PHP 8.1):
tests/phpunit/serializer/PacketBatchTest.php#L55
Class pocketmine\network\mcpe\protocol\serializer\PacketBatch constructor invoked with 1 parameter, 0 required.
|
Tests (PHP 8.1):
tests/phpunit/serializer/PacketBatchTest.php#L57
Call to an undefined method pocketmine\network\mcpe\protocol\serializer\PacketBatch::getPackets().
|
Tests (PHP 8.1)
Process completed with exit code 1.
|
Tests (PHP 8.3)
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/.
|
Tests (PHP 8.2)
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/.
|
Tests (PHP 8.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/.
|
Generated Code consistency checks
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/.
|