Skip to content

Facing and Axis to enum #176

Facing and Axis to enum

Facing and Axis to enum #176

Triggered via pull request November 20, 2023 20:06
@DhaivenDhaiven
synchronize #91
Dhaiven:enum
Status Failure
Total duration 28s
Artifacts

ci.yml

on: pull_request
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

20 errors and 2 warnings
PHP 8.1: src/AxisAlignedBB.php#L460
Invalid array key type pocketmine\math\Facing::WEST.
PHP 8.1: src/AxisAlignedBB.php#L461
Invalid array key type pocketmine\math\Facing::EAST.
PHP 8.1: src/AxisAlignedBB.php#L462
Invalid array key type pocketmine\math\Facing::DOWN.
PHP 8.1: src/AxisAlignedBB.php#L463
Invalid array key type pocketmine\math\Facing::UP.
PHP 8.1: src/AxisAlignedBB.php#L464
Invalid array key type pocketmine\math\Facing::NORTH.
PHP 8.1: src/AxisAlignedBB.php#L465
Invalid array key type pocketmine\math\Facing::SOUTH.
PHP 8.1: src/AxisAlignedBB.php#L478
Parameter #2 $hitFace of class pocketmine\math\RayTraceResult constructor expects pocketmine\math\Facing, (int|string) given.
PHP 8.1: src/Facing.php#L33
Binary operation "<<" between pocketmine\math\Axis::Y and 1 results in an error.
PHP 8.1: src/Facing.php#L33
Enum case pocketmine\math\Facing::DOWN value mixed does not match the "int" type.
PHP 8.1: src/Facing.php#L34
Binary operation "<<" between pocketmine\math\Axis::Y and 1 results in an error.
PHP 8.0: src/Axis.php#L26
Syntax error, unexpected T_STRING on line 26
PHP 8.0: src/Axis.php#L27
Syntax error, unexpected T_CASE on line 27
PHP 8.0: src/Axis.php#L35
Syntax error, unexpected T_VARIABLE, expecting ')' on line 35
PHP 8.0: src/Axis.php#L41
Syntax error, unexpected '}', expecting EOF on line 41
PHP 8.0: src/AxisAlignedBB.php#L141
Parameter $face of method pocketmine\math\AxisAlignedBB::offsetTowards() has invalid type pocketmine\math\Facing.
PHP 8.0: src/AxisAlignedBB.php#L142
Call to method offset() on an unknown class pocketmine\math\Facing.
PHP 8.0: src/AxisAlignedBB.php#L150
Parameter $face of method pocketmine\math\AxisAlignedBB::offsetTowardsCopy() has invalid type pocketmine\math\Facing.
PHP 8.0: src/AxisAlignedBB.php#L185
Parameter $face of method pocketmine\math\AxisAlignedBB::extend() has invalid type pocketmine\math\Facing.
PHP 8.0: src/AxisAlignedBB.php#L186
Match expression does not handle remaining value: pocketmine\math\Facing
PHP 8.0: src/AxisAlignedBB.php#L187
Access to constant DOWN on an unknown class pocketmine\math\Facing.
PHP 8.1
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, shivammathur/[email protected], actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
PHP 8.0
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, shivammathur/[email protected], actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/