Skip to content

fix: fix for enums not properly working after #3

fix: fix for enums not properly working after

fix: fix for enums not properly working after #3

Triggered via push March 14, 2024 18:00
Status Failure
Total duration 37s
Artifacts
PHP_CodeSniffer
26s
PHP_CodeSniffer
PHPStan
29s
PHPStan
Fit to window
Zoom out
Zoom in

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/.