Skip to content

Commit c930ca4

Browse files
committed
support for PHP 8.5
1 parent 5212c62 commit c930ca4

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
strategy:
99
matrix:
1010
os: [ubuntu-latest, windows-latest]
11-
php: ['8.0', '8.1', '8.2', '8.3', '8.4']
11+
php: ['8.0', '8.1', '8.2', '8.3', '8.4', '8.5']
1212

1313
fail-fast: false
1414

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
}
1616
],
1717
"require": {
18-
"php": "8.0 - 8.4"
18+
"php": "8.0 - 8.5"
1919
},
2020
"require-dev": {
2121
"nette/tester": "^2.5",

readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ The recommended way to install is via Composer:
4141
composer require nette/utils
4242
```
4343

44-
Nette Utils 4.0 is compatible with PHP 8.0 to 8.4.
44+
Nette Utils 4.0 is compatible with PHP 8.0 to 8.5.
4545

4646
 <!---->
4747

src/Utils/Image.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -796,7 +796,7 @@ private static function isPercent(int|string &$num): bool
796796
/**
797797
* Prevents serialization.
798798
*/
799-
public function __sleep(): array
799+
public function __serialize(): array
800800
{
801801
throw new Nette\NotSupportedException('You cannot serialize or unserialize ' . self::class . ' instances.');
802802
}

0 commit comments

Comments
 (0)