Skip to content

Commit 4b5c716

Browse files
committed
support for PHP 8.4
1 parent 0833a0b commit 4b5c716

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
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.1', '8.2', '8.3']
10+
php: ['8.1', '8.2', '8.3', '8.4']
1111

1212
fail-fast: false
1313

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.1 - 8.3",
18+
"php": "8.1 - 8.4",
1919
"ext-tokenizer": "*",
2020
"ext-ctype": "*",
2121
"nette/neon": "^3.3 || ^4.0",

readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ The recommended way to install is via Composer:
3939
composer require nette/di
4040
```
4141

42-
It requires PHP version 8.1 and supports PHP up to 8.3.
42+
It requires PHP version 8.1 and supports PHP up to 8.4.
4343

4444
 <!---->
4545

tests/DI/Compiler.configOverride.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class Ipsum
2121
}
2222
}
2323

24-
$class = 'Container' . md5((string) lcg_value());
24+
$class = 'Container';
2525
$compiler = new DI\Compiler;
2626
$compiler->addConfig([
2727
'services' => [

tests/bootstrap.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ public static function fetch(): array
5959

6060
function createContainer($source, $config = null, array $params = []): ?Nette\DI\Container
6161
{
62-
$class = 'Container' . md5((string) lcg_value());
62+
$class = 'Container' . @++$GLOBALS['counter'];
6363
if ($source instanceof Nette\DI\ContainerBuilder) {
6464
$source->complete();
6565
$code = (new Nette\DI\PhpGenerator($source))->generate($class);

0 commit comments

Comments
 (0)