Skip to content

Commit eda0cec

Browse files
committed
requires PHP 7.2
1 parent 022ae4d commit eda0cec

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

.github/workflows/coding-style.yml

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

1616
- run: composer create-project nette/code-checker temp/code-checker ^3 --no-progress

.github/workflows/tests.yml

Lines changed: 2 additions & 2 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: ['7.1', '7.2', '7.3', '7.4', '8.0']
10+
php: ['7.2', '7.3', '7.4', '8.0']
1111

1212
fail-fast: false
1313

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

4141
- run: composer update --no-progress --prefer-dist --prefer-lowest --prefer-stable

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": ">=7.1",
18+
"php": ">=7.2",
1919
"nette/utils": "^3.1.2"
2020
},
2121
"require-dev": {

readme.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ Installation
3333
composer require nette/php-generator
3434
```
3535

36+
- PhpGenerator 3.6 is compatible with PHP 7.2 to 8.0
3637
- PhpGenerator 3.2 – 3.5 is compatible with PHP 7.1 to 8.0
3738
- PhpGenerator 3.1 is compatible with PHP 7.1 to 7.3
3839
- PhpGenerator 3.0 is compatible with PHP 7.0 to 7.3

0 commit comments

Comments
 (0)