Facing and Axis to enum #192
Annotations
10 errors and 1 warning
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#L52
Method pocketmine\math\Facing::offset() return type has no value type specified in iterable type array.
|
Run PHPStan:
src/Facing.php#L89
Match expression does not handle remaining values: pocketmine\math\Facing::DOWN|pocketmine\math\Facing::UP
|
Run PHPStan:
src/Facing.php#L95
Match expression does not handle remaining values: pocketmine\math\Facing::NORTH|pocketmine\math\Facing::SOUTH
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Loading