Skip to content

Commit 2d80458

Browse files
committed
requires PHP 8.1
1 parent b347594 commit 2d80458

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

.github/workflows/static-analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
- uses: actions/checkout@v4
1111
- uses: shivammathur/setup-php@v2
1212
with:
13-
php-version: 8.0
13+
php-version: 8.1
1414
coverage: none
1515

1616
- 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.1', '8.2', '8.3', '8.4', '8.5']
1111

1212
fail-fast: false
1313

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

4141
- run: composer update --no-progress --prefer-dist --prefer-lowest --prefer-stable
@@ -49,7 +49,7 @@ jobs:
4949
- uses: actions/checkout@v4
5050
- uses: shivammathur/setup-php@v2
5151
with:
52-
php-version: 8.0
52+
php-version: 8.1
5353
coverage: none
5454

5555
- 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.1 - 8.5",
1919
"nette/utils": "^3.2.9 || ^4.0"
2020
},
2121
"require-dev": {

readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Download and install the library using the [Composer](https://doc.nette.org/en/b
2626
composer require nette/php-generator
2727
```
2828

29-
PhpGenerator 4.2 is compatible with PHP 8.0 to 8.5. Documentation can be found on the [library's website](https://doc.nette.org/php-generator).
29+
PhpGenerator 4.2 is compatible with PHP 8.1 to 8.5. Documentation can be found on the [library's website](https://doc.nette.org/php-generator).
3030

3131
 <!---->
3232

0 commit comments

Comments
 (0)