Skip to content

Commit 3dd1bf6

Browse files
committed
requires PHP 8.2
1 parent d4d0649 commit 3dd1bf6

5 files changed

Lines changed: 7 additions & 7 deletions

File tree

.github/workflows/static-analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
- uses: actions/checkout@v6
1414
- uses: shivammathur/setup-php@v2
1515
with:
16-
php-version: 8.0
16+
php-version: 8.2
1717
coverage: none
1818

1919
- run: composer install --no-progress --prefer-dist

.github/workflows/tests.yml

Lines changed: 3 additions & 3 deletions
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', '8.4', '8.5']
10+
php: ['8.2', '8.3', '8.4', '8.5']
1111

1212
fail-fast: false
1313

@@ -35,7 +35,7 @@ jobs:
3535
- uses: actions/checkout@v6
3636
- uses: shivammathur/setup-php@v2
3737
with:
38-
php-version: 8.0
38+
php-version: 8.2
3939
coverage: none
4040

4141
- run: composer update --no-progress --prefer-dist --prefer-lowest --prefer-stable
@@ -50,7 +50,7 @@ jobs:
5050
- uses: actions/checkout@v6
5151
- uses: shivammathur/setup-php@v2
5252
with:
53-
php-version: 8.0
53+
php-version: 8.2
5454
coverage: none
5555

5656
- run: composer install --no-progress --prefer-dist

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.5",
18+
"php": "8.2 - 8.5",
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.5.
30+
It requires PHP version 8.2 and supports PHP up to 8.5.

src/Bootstrap/Configurator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ public function loadContainer(): string
295295
$this->staticParameters['debugMode'],
296296
);
297297
return $loader->load(
298-
[$this, 'generateContainer'],
298+
$this->generateContainer(...),
299299
$this->generateContainerKey(),
300300
);
301301
}

0 commit comments

Comments
 (0)