Skip to content

Commit 4876d25

Browse files
committed
support for PHP 8.4
1 parent 35dbb95 commit 4876d25

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
@@ -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

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.3",
18+
"php": "8.0 - 8.4",
1919
"nette/di": "^3.1",
2020
"nette/utils": "^3.2.1 || ^4.0"
2121
},

readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,4 @@ The recommended way to install is via Composer:
2727
composer require nette/bootstrap
2828
```
2929

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

src/Bootstrap/Configurator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@ protected function getCacheDirectory(): string
344344
/**
345345
* Detects debug mode by IP addresses or computer names whitelist detection.
346346
*/
347-
public static function detectDebugMode(string|array $list = null): bool
347+
public static function detectDebugMode(string|array|null $list = null): bool
348348
{
349349
$addr = $_SERVER['REMOTE_ADDR'] ?? php_uname('n');
350350
$secret = is_string($_COOKIE[self::CookieSecret] ?? null)

0 commit comments

Comments
 (0)