fix: fix for enums not properly working after #3
Annotations
7 errors and 1 warning
Run PHPStan:
app/Http/Controllers/Booking/BookingController.php#L41
Comparison operation "==" between App\Enums\BookingStatus and 2 results in an error.
|
Run PHPStan:
app/Http/Controllers/Booking/BookingController.php#L41
Left side of && is always false.
|
Run PHPStan:
app/Http/Controllers/Booking/BookingController.php#L52
Strict comparison using === between App\Enums\BookingStatus and 1 will always evaluate to false.
|
Run PHPStan:
app/Http/Controllers/Booking/BookingController.php#L99
Property App\Models\Booking::$status (App\Enums\BookingStatus) does not accept int.
|
Run PHPStan:
app/Http/Controllers/Booking/BookingController.php#L231
Property App\Models\Booking::$status (App\Enums\BookingStatus) does not accept int.
|
Run PHPStan:
app/Jobs/EventCleanupReservationsJob.php#L42
Property App\Models\Booking::$status (App\Enums\BookingStatus) does not accept int.
|
Run PHPStan
Process completed with exit code 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/.
|
Loading