diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7bea506..964a370 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,6 +15,7 @@ jobs: - ubuntu-latest - windows-latest php: + - 8.5 - 8.4 - 8.3 - 8.2 diff --git a/src/Scheduler/PriorityQueue.php b/src/Scheduler/PriorityQueue.php index 88e8d9c..34016f9 100644 --- a/src/Scheduler/PriorityQueue.php +++ b/src/Scheduler/PriorityQueue.php @@ -72,6 +72,7 @@ class InternalPriorityQueue extends SplPriorityQueue // use this value to "stabilize" the priority queue private $serial = PHP_INT_MAX; + #[ReturnTypeWillChange] public function insert($item, $priority) { parent::insert($item, [$priority, $this->serial--]);