Skip to content

Stop using closures to process itemstack extra data #746

Stop using closures to process itemstack extra data

Stop using closures to process itemstack extra data #746

Triggered via push February 16, 2024 15:20
Status Failure
Total duration 1m 13s
Artifacts

ci.yml

on: push
Code Style checks
22s
Code Style checks
Matrix: build
Generated Code consistency checks
33s
Generated Code consistency checks
Fit to window
Zoom out
Zoom in

Annotations

27 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.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)
The operation was canceled.
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)
The operation was canceled.
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.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/.
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/.
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/.