Skip to content

Use first-class callables wherever possible #744

Use first-class callables wherever possible

Use first-class callables wherever possible #744

Triggered via push February 16, 2024 14:59
Status Failure
Total duration 1m 8s
Artifacts

ci.yml

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

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/.