Skip to content

Commit 05fec09

Browse files
committed
support for PHP 8.4
1 parent 90bf62a commit 05fec09

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

.github/workflows/tests.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
runs-on: ubuntu-latest
88
strategy:
99
matrix:
10-
php: ['8.0', '8.1', '8.2', '8.3']
10+
php: ['8.0', '8.1', '8.2', '8.3', '8.4']
1111

1212
fail-fast: false
1313

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
}
1616
],
1717
"require": {
18-
"php": "8.0 - 8.3",
18+
"php": "8.0 - 8.4",
1919
"ext-iconv": "*",
2020
"nette/utils": "^4.0"
2121
},

readme.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ Installation
3838
composer require nette/mail
3939
```
4040

41-
It requires PHP version 8.0 and supports PHP up to 8.3.
41+
It requires PHP version 8.0 and supports PHP up to 8.4.
4242

4343
 <!---->
4444

tests/Mail.DI/include.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ function createContainer($source, $config = null): Nette\DI\Container
1212
{
1313
$loader = new Nette\DI\Config\Loader;
1414
$config = $loader->load(Tester\FileMock::create($config, 'neon'));
15-
$class = 'Container' . md5((string) lcg_value());
15+
$class = 'Container' . @++$GLOBALS['counter'];
1616
$code = $source->addConfig((array) $config)->setClassName($class)->compile();
1717

1818
eval($code);

0 commit comments

Comments
 (0)