Skip to content

Commit

Permalink
requires PHP 8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
dg committed Sep 28, 2021
1 parent 13d2e1d commit da5e015
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/coding-style.yml
Expand Up @@ -10,7 +10,7 @@ jobs:
- uses: actions/checkout@v2
- uses: shivammathur/setup-php@v2
with:
php-version: 7.2
php-version: 8.0
coverage: none

- run: composer create-project nette/code-checker temp/code-checker ^3 --no-progress
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/static-analysis.yml
Expand Up @@ -13,7 +13,7 @@ jobs:
- uses: actions/checkout@v2
- uses: shivammathur/setup-php@v2
with:
php-version: 7.4
php-version: 8.0
coverage: none

- run: composer install --no-progress --prefer-dist
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/tests.yml
Expand Up @@ -7,7 +7,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
php: ['7.2', '7.3', '7.4', '8.0', '8.1']
php: ['8.0', '8.1']

fail-fast: false

Expand Down Expand Up @@ -35,7 +35,7 @@ jobs:
- uses: actions/checkout@v2
- uses: shivammathur/setup-php@v2
with:
php-version: 7.2
php-version: 8.0
coverage: none

- run: composer update --no-progress --prefer-dist --prefer-lowest --prefer-stable
Expand All @@ -49,7 +49,7 @@ jobs:
- uses: actions/checkout@v2
- uses: shivammathur/setup-php@v2
with:
php-version: 7.4
php-version: 8.0
coverage: none

- run: composer install --no-progress --prefer-dist
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Expand Up @@ -15,7 +15,7 @@
}
],
"require": {
"php": ">=7.2 <8.2",
"php": ">=8.0 <8.2",
"ext-tokenizer": "*",
"nette/neon": "^3.0",
"nette/php-generator": "^3.3.3",
Expand Down
2 changes: 1 addition & 1 deletion readme.md
Expand Up @@ -37,7 +37,7 @@ The recommended way to install is via Composer:
composer require nette/di
```

It requires PHP version 7.2 and supports PHP up to 8.1.
It requires PHP version 8.0 and supports PHP up to 8.1.


Usage
Expand Down

0 comments on commit da5e015

Please sign in to comment.