Use latest PHP version for CI; fix skipped #378
Annotations
10 errors and 1 warning
PHPStan checks:
lib/GaletteEvents/Controllers/Crud/BookingsController.php#L514
Strict comparison using === between false and false will always evaluate to true.
|
PHPStan checks:
lib/GaletteEvents/Filters/ActivitiesList.php#L41
Property GaletteEvents\Filters\ActivitiesList::$name_filter (string|null) is never assigned string so it can be removed from the property type.
|
PHPStan checks:
lib/GaletteEvents/Filters/ActivitiesList.php#L42
Property GaletteEvents\Filters\ActivitiesList::$active_filter (bool|null) is never assigned bool so it can be removed from the property type.
|
PHPStan checks:
lib/GaletteEvents/Filters/BookingsList.php#L46
Property GaletteEvents\Filters\BookingsList::$event_filter (int|string|null) is never assigned int so it can be removed from the property type.
|
PHPStan checks:
lib/GaletteEvents/Filters/BookingsList.php#L46
Property GaletteEvents\Filters\BookingsList::$event_filter (int|string|null) is never assigned null so it can be removed from the property type.
|
PHPStan checks:
lib/GaletteEvents/Filters/BookingsList.php#L47
Property GaletteEvents\Filters\BookingsList::$paid_filter (int|string) is never assigned string so it can be removed from the property type.
|
PHPStan checks:
lib/GaletteEvents/Filters/BookingsList.php#L49
Property GaletteEvents\Filters\BookingsList::$group_filter (int|string|null) is never assigned int so it can be removed from the property type.
|
PHPStan checks:
lib/GaletteEvents/Filters/BookingsList.php#L49
Property GaletteEvents\Filters\BookingsList::$group_filter (int|string|null) is never assigned string so it can be removed from the property type.
|
PHPStan checks:
lib/GaletteEvents/Filters/BookingsList.php#L195
Parameter #2 $data of method Slim\Routing\RouteParser::urlFor() expects array<string, string>, array<string, mixed> given.
|
PHPStan checks:
lib/GaletteEvents/Filters/EventsList.php#L42
Property GaletteEvents\Filters\EventsList::$name_filter (string|null) is never assigned string so it can be removed from the property type.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading