Facing and Axis to enum #174
Annotations
10 errors and 1 warning
Run PHPStan:
src/Axis.php#L39
Match arm comparison between pocketmine\math\Axis::X and pocketmine\math\Axis::X is always true.
|
Run PHPStan:
src/Axis.php#L40
Match arm is unreachable because previous comparison is always true.
|
Run PHPStan:
src/AxisAlignedBB.php#L460
Invalid array key type pocketmine\math\Facing::WEST.
|
Run PHPStan:
src/AxisAlignedBB.php#L461
Invalid array key type pocketmine\math\Facing::EAST.
|
Run PHPStan:
src/AxisAlignedBB.php#L462
Invalid array key type pocketmine\math\Facing::DOWN.
|
Run PHPStan:
src/AxisAlignedBB.php#L463
Invalid array key type pocketmine\math\Facing::UP.
|
Run PHPStan:
src/AxisAlignedBB.php#L464
Invalid array key type pocketmine\math\Facing::NORTH.
|
Run PHPStan:
src/AxisAlignedBB.php#L465
Invalid array key type pocketmine\math\Facing::SOUTH.
|
Run PHPStan:
src/AxisAlignedBB.php#L478
Parameter #2 $hitFace of class pocketmine\math\RayTraceResult constructor expects pocketmine\math\Facing, (int|string) given.
|
Run PHPStan:
src/Facing.php#L33
Binary operation "<<" between pocketmine\math\Axis::Y and 1 results in an error.
|
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/
|
The logs for this run have expired and are no longer available.
Loading