Skip to content

Commit bce2baf

Browse files
committed
support for PHP 8.5
1 parent fdfe9fa commit bce2baf

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: ubuntu-latest
1212
strategy:
1313
matrix:
14-
php: ['8.0', '8.1', '8.2', '8.3', '8.4']
14+
php: ['8.0', '8.1', '8.2', '8.3', '8.4', '8.5']
1515

1616
fail-fast: false
1717

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
}
1212
],
1313
"require": {
14-
"php": "8.0 - 8.4"
14+
"php": "8.0 - 8.5"
1515
},
1616
"require-dev": {
1717
"tracy/tracy": "^2.9",

readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Install Dibi via Composer:
3434
composer require dibi/dibi
3535
```
3636

37-
The Dibi 5.0 requires PHP version 8.0 and supports PHP up to 8.4.
37+
The Dibi 5.0 requires PHP version 8.0 and supports PHP up to 8.5.
3838

3939

4040
Usage

src/Dibi/Connection.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -675,7 +675,7 @@ public function getDatabaseInfo(): Reflection\Database
675675
/**
676676
* Prevents unserialization.
677677
*/
678-
public function __wakeup()
678+
public function __unserialize($_)
679679
{
680680
throw new NotSupportedException('You cannot serialize or unserialize ' . static::class . ' instances.');
681681
}
@@ -684,7 +684,7 @@ public function __wakeup()
684684
/**
685685
* Prevents serialization.
686686
*/
687-
public function __sleep()
687+
public function __serialize()
688688
{
689689
throw new NotSupportedException('You cannot serialize or unserialize ' . static::class . ' instances.');
690690
}

0 commit comments

Comments
 (0)