Skip to content

Commit d43341a

Browse files
Add compatibility with PHP 8.3 (yiisoft#20074)
1 parent 6fdb805 commit d43341a

File tree

7 files changed

+65
-55
lines changed

7 files changed

+65
-55
lines changed

.github/workflows/build.yml

+4
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,10 @@ jobs:
6565
extensions: apcu, curl, dom, imagick, intl, mbstring, mcrypt, memcached
6666
coverage: none
6767
os: ubuntu-latest
68+
- php: 8.3
69+
extensions: apcu, curl, dom, imagick, intl, mbstring, mcrypt, memcached
70+
coverage: none
71+
os: ubuntu-latest
6872

6973
steps:
7074
- name: Generate french locale.

.github/workflows/ci-mssql.yml

+2
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ jobs:
2929
mssql: server:2019-latest
3030
- php: 8.2
3131
mssql: server:2022-latest
32+
- php: 8.3
33+
mssql: server:2022-latest
3234

3335
services:
3436
mssql:

.github/workflows/ci-mysql.yml

+1
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ jobs:
2727
- 8.0
2828
- 8.1
2929
- 8.2
30+
- 8.3
3031

3132
mysql:
3233
- 5.7

.github/workflows/ci-pgsql.yml

+2
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ jobs:
2626
- 7.4
2727
- 8.0
2828
- 8.1
29+
- 8.2
30+
- 8.3
2931

3032
pgsql:
3133
- 10

.github/workflows/ci-sqlite.yml

+1
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ jobs:
2828
- 8.0
2929
- 8.1
3030
- 8.2
31+
- 8.3
3132

3233
steps:
3334
- name: Checkout.

composer.lock

+54-54
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/framework/data/BaseDataProviderTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ public function testGenerateId()
2020
$rc = new \ReflectionClass(BaseDataProvider::className());
2121
$rp = $rc->getProperty('counter');
2222
$rp->setAccessible(true);
23-
$rp->setValue(null);
23+
$rp->setValue(new ConcreteDataProvider(), null);
2424

2525
$this->assertNull((new ConcreteDataProvider())->id);
2626
$this->assertNotNull((new ConcreteDataProvider())->id);

0 commit comments

Comments
 (0)