mirror of
https://github.com/dg/dibi.git
synced 2025-08-10 08:04:32 +02:00
support for PHP 8.5
This commit is contained in:
2
.github/workflows/tests.yml
vendored
2
.github/workflows/tests.yml
vendored
@@ -11,7 +11,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
php: ['8.2', '8.3', '8.4']
|
||||
php: ['8.2', '8.3', '8.4', '8.5']
|
||||
|
||||
fail-fast: false
|
||||
|
||||
|
@@ -11,7 +11,7 @@
|
||||
}
|
||||
],
|
||||
"require": {
|
||||
"php": "8.2 - 8.4"
|
||||
"php": "8.2 - 8.5"
|
||||
},
|
||||
"require-dev": {
|
||||
"tracy/tracy": "^2.9",
|
||||
|
@@ -34,7 +34,7 @@ Install Dibi via Composer:
|
||||
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
|
||||
|
@@ -673,7 +673,7 @@ class Connection implements IConnection
|
||||
/**
|
||||
* Prevents unserialization.
|
||||
*/
|
||||
public function __wakeup()
|
||||
public function __unserialize($_)
|
||||
{
|
||||
throw new NotSupportedException('You cannot serialize or unserialize ' . static::class . ' instances.');
|
||||
}
|
||||
@@ -682,7 +682,7 @@ class Connection implements IConnection
|
||||
/**
|
||||
* Prevents serialization.
|
||||
*/
|
||||
public function __sleep()
|
||||
public function __serialize()
|
||||
{
|
||||
throw new NotSupportedException('You cannot serialize or unserialize ' . static::class . ' instances.');
|
||||
}
|
||||
|
Reference in New Issue
Block a user