Skip to content

Commit e11d0f5

Browse files
committed
requires PHP 8.1
1 parent 80c0868 commit e11d0f5

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

.github/workflows/coding-style.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
- uses: actions/checkout@v3
1111
- uses: shivammathur/setup-php@v2
1212
with:
13-
php-version: 7.1
13+
php-version: 8.1
1414
coverage: none
1515

1616
- run: composer create-project nette/code-checker temp/code-checker ^3 --no-progress
@@ -24,7 +24,7 @@ jobs:
2424
- uses: actions/checkout@v3
2525
- uses: shivammathur/setup-php@v2
2626
with:
27-
php-version: 7.4
27+
php-version: 8.1
2828
coverage: none
2929

3030
- run: composer create-project nette/coding-standard temp/coding-standard ^3 --no-progress

.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@v3
1414
- uses: shivammathur/setup-php@v2
1515
with:
16-
php-version: 7.4
16+
php-version: 8.1
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: ['7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3']
10+
php: ['8.1', '8.2', '8.3']
1111

1212
fail-fast: false
1313

@@ -35,7 +35,7 @@ jobs:
3535
- uses: actions/checkout@v3
3636
- uses: shivammathur/setup-php@v2
3737
with:
38-
php-version: 7.1
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@v3
5050
- uses: shivammathur/setup-php@v2
5151
with:
52-
php-version: 7.4
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": ">=7.1",
18+
"php": "8.1 - 8.3",
1919
"nette/utils": "^2.5 || ^3.0 || ~4.0.0"
2020
},
2121
"require-dev": {

readme.md

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

31-
It requires PHP version 7.1 and supports PHP up to 8.3.
31+
It requires PHP version 8.1 and supports PHP up to 8.3.

0 commit comments

Comments
 (0)