1
0
mirror of https://github.com/dg/dibi.git synced 2025-08-13 17:44:11 +02:00

support for PHP 8.5

This commit is contained in:
David Grudl
2025-08-01 04:25:01 +02:00
parent c7fe0fef21
commit 658dbe388a
4 changed files with 5 additions and 5 deletions

View File

@@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy: strategy:
matrix: matrix:
php: ['8.2', '8.3', '8.4'] php: ['8.2', '8.3', '8.4', '8.5']
fail-fast: false fail-fast: false

View File

@@ -11,7 +11,7 @@
} }
], ],
"require": { "require": {
"php": "8.2 - 8.4" "php": "8.2 - 8.5"
}, },
"require-dev": { "require-dev": {
"tracy/tracy": "^2.9", "tracy/tracy": "^2.9",

View File

@@ -34,7 +34,7 @@ Install Dibi via Composer:
composer require dibi/dibi composer require dibi/dibi
``` ```
The Dibi 5.1 requires PHP version 8.2 and supports PHP up to 8.4. The Dibi 5.1 requires PHP version 8.2 and supports PHP up to 8.5.
Usage Usage

View File

@@ -673,7 +673,7 @@ class Connection implements IConnection
/** /**
* Prevents unserialization. * Prevents unserialization.
*/ */
public function __wakeup() public function __unserialize($_)
{ {
throw new NotSupportedException('You cannot serialize or unserialize ' . static::class . ' instances.'); throw new NotSupportedException('You cannot serialize or unserialize ' . static::class . ' instances.');
} }
@@ -682,7 +682,7 @@ class Connection implements IConnection
/** /**
* Prevents serialization. * Prevents serialization.
*/ */
public function __sleep() public function __serialize()
{ {
throw new NotSupportedException('You cannot serialize or unserialize ' . static::class . ' instances.'); throw new NotSupportedException('You cannot serialize or unserialize ' . static::class . ' instances.');
} }