Skip to content

Commit eaca349

Browse files
committed
Add support for PHP 8.5
1 parent 8b96289 commit eaca349

File tree

16 files changed

+35
-28
lines changed

16 files changed

+35
-28
lines changed

.github/workflows/benchmarks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
strategy:
1414
matrix:
1515
php-version:
16-
- "8.4"
16+
- "8.5"
1717
operating-system:
1818
- "ubuntu-latest"
1919

.github/workflows/code-coverage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- name: "installing PHP"
1818
uses: "shivammathur/setup-php@v2"
1919
with:
20-
php-version: "8.4"
20+
php-version: "8.5"
2121
ini-values: memory_limit=-1
2222
tools: composer:v2, cs2pr
2323
extensions: bcmath, mbstring, intl, sodium, json

.github/workflows/coding-standards.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- name: "installing PHP"
1616
uses: "shivammathur/setup-php@v2"
1717
with:
18-
php-version: "8.4"
18+
php-version: "8.5"
1919
ini-values: memory_limit=-1
2020
tools: composer:v2, cs2pr
2121
extensions: bcmath, mbstring, intl, sodium, json

.github/workflows/documentation-check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- name: "installing PHP"
1616
uses: "shivammathur/setup-php@v2"
1717
with:
18-
php-version: "8.4"
18+
php-version: "8.5"
1919
ini-values: memory_limit=-1
2020
tools: composer:v2, cs2pr
2121
extensions: bcmath, mbstring, intl, sodium, json

.github/workflows/mutation-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
strategy:
1414
matrix:
1515
php-version:
16-
- "8.4"
16+
- "8.5"
1717
operating-system:
1818
- "ubuntu-latest"
1919

.github/workflows/preload-check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- name: "installing PHP"
1616
uses: "shivammathur/setup-php@v2"
1717
with:
18-
php-version: "8.4"
18+
php-version: "8.5"
1919
ini-values: memory_limit=-1
2020
tools: composer:v2, cs2pr
2121
extensions: bcmath, mbstring, intl, sodium, json

.github/workflows/static-analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- name: "installing PHP"
1818
uses: "shivammathur/setup-php@v2"
1919
with:
20-
php-version: "8.4"
20+
php-version: "8.5"
2121
ini-values: memory_limit=-1
2222
tools: composer:v2, cs2pr
2323
extensions: bcmath, mbstring, intl, sodium, json

.github/workflows/unit-tests.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,11 @@ jobs:
1616
php-version:
1717
- "8.3"
1818
- "8.4"
19+
- "8.5"
1920
operating-system:
2021
- "macos-latest"
2122
- "ubuntu-latest"
2223
- "windows-latest"
23-
exclude:
24-
- php-version: "8.4"
25-
operating-system: "ubuntu-latest"
2624

2725
steps:
2826
- name: "checkout"

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
}
1111
],
1212
"require": {
13-
"php": "~8.3.0 || ~8.4.0",
13+
"php": "~8.3.0 || ~8.4.0 || ~8.5.0",
1414
"ext-bcmath": "*",
1515
"ext-json": "*",
1616
"ext-mbstring": "*",

src/Psl/Async/Internal/State.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,8 @@ public function __destruct()
6969
*/
7070
public function subscribe(Closure $callback): string
7171
{
72-
$id = self::$nextId++;
72+
$id = self::$nextId;
73+
self::$nextId = str_increment(self::$nextId);
7374

7475
$this->handled = true;
7576

0 commit comments

Comments
 (0)