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