Skip to content

Facing and Axis to enum #179

Facing and Axis to enum

Facing and Axis to enum #179

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

ci.yml

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

Annotations

21 errors and 2 warnings
PHP 8.0: src/Axis.php#L26
Syntax error, unexpected T_STRING on line 26
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
Access to constant OFFSET on an unknown class pocketmine\math\Facing.
PHP 8.0: src/AxisAlignedBB.php#L142
Access to property $value 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 job was canceled because "_8_0" failed.
PHP 8.1: src/AxisAlignedBB.php#L142
Access to an undefined property pocketmine\math\Facing::$value.
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#L56
Invalid array key type pocketmine\math\Facing::DOWN.
PHP 8.1: src/Facing.php#L57
Invalid array key type pocketmine\math\Facing::UP.
PHP 8.0
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, shivammathur/setup-php@2.9.0, 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.1
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, shivammathur/setup-php@2.9.0, 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/