phpvms/app/Enums/PirepStatus.php
Nabeel Shahzad 7776af88d8
ref(livemap): address review feedback
Drop the tombstone eviction rule; RemoveExpiredLiveFlights already reaps those
PIREPs and the completed rule picks up what it soft-deletes. Simplify evict().
Revert RemoveExpiredLiveFlights to its original body with only the setting name
changed, and revert PirepResource, dropping the scope and resource class added
alongside them.

Also: class_alias by string so PHPStan can analyse the deprecated enum alias,
re-check updated_at at delete time, preserve pirep_id nullability in the
collation ALTER, and cut the comments back.
2026-07-27 10:35:53 -05:00

15 lines
347 B
PHP

<?php
declare(strict_types=1);
/**
* A class_alias, not a second enum, so PirepStatus::TAXI and PirepPhase::TAXI are
* the same case. Composer resolves this path via PSR-4 and the alias defines the name.
*
* @deprecated Use \App\Enums\PirepPhase instead.
*/
namespace App\Enums;
class_alias(PirepPhase::class, 'App\\Enums\\PirepStatus');