Skip to content

Commit b06e510

Browse files
committed
Add PHP 8.5 CI
1 parent f688691 commit b06e510

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,9 @@ jobs:
5656
phpunit: "11"
5757
args: ""
5858
- version: "8.4"
59+
phpunit: "12"
60+
args: ""
61+
- version: "8.5"
5962
phpunit: "12"
6063
args: --display-deprecations --display-phpunit-deprecations
6164

@@ -94,6 +97,6 @@ jobs:
9497
key: ${{ runner.os }}-${{ hashFiles('**/composer.lock') }}
9598
- uses: php-actions/composer@v6
9699
with:
97-
php_version: "8.4"
100+
php_version: "8.5"
98101
- name: Check compatibility
99102
run: composer rector

src/ArrayBuffer.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,9 @@ public function push(mixed $item): void {
106106
}
107107
}
108108

109+
/**
110+
* @psalm-return list<E>
111+
*/
109112
public function toArray(): array {
110113
if($this->buffer->count() > 0){
111114
return $this->buffer->toArray();

0 commit comments

Comments
 (0)