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 Mar 2, 2023
1 parent ce318dd commit f7d0100
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/coding-style.yml
Expand Up @@ -10,7 +10,7 @@ jobs:
- uses: actions/checkout@v2
- uses: shivammathur/setup-php@v1
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 All @@ -24,7 +24,7 @@ jobs:
- uses: actions/checkout@v2
- uses: shivammathur/setup-php@v1
with:
php-version: 7.4
php-version: 8.0
coverage: none

- run: composer create-project nette/coding-standard temp/coding-standard ^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@v1
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 @@ -8,7 +8,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
php: ['7.2', '7.3', '7.4', '8.0', '8.1', '8.2']
php: ['8.0', '8.1', '8.2']

fail-fast: false

Expand Down Expand Up @@ -40,7 +40,7 @@ jobs:
# - uses: actions/checkout@v2
# - uses: shivammathur/setup-php@v1
# with:
# php-version: 7.4
# php-version: 8.0
# coverage: none

# - run: composer install --no-progress --prefer-dist
Expand All @@ -54,7 +54,7 @@ jobs:
- uses: actions/checkout@v2
- uses: shivammathur/setup-php@v2
with:
php-version: 7.4
php-version: 8.0
extensions: simplexml
coverage: none

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Expand Up @@ -19,7 +19,7 @@
}
],
"require": {
"php": ">=7.2 <8.3"
"php": ">=8.0 <8.3"
},
"require-dev": {
"ext-simplexml": "*",
Expand Down
3 changes: 2 additions & 1 deletion readme.md
Expand Up @@ -39,6 +39,7 @@ composer require nette/tester --dev

Alternatively, you can download the [tester.phar](https://github.com/nette/tester/releases) file.

- Nette Tester 2.5 is compatible with PHP 8.0 to 8.2
- Nette Tester 2.4 is compatible with PHP 7.2 to 8.2
- Nette Tester 2.3 is compatible with PHP 7.1 to 8.0
- Nette Tester 2.1 & 2.2 is compatible with PHP 7.1 to 7.3
Expand Down Expand Up @@ -88,7 +89,7 @@ Now we run tests from command-line using the `tester` command:
|_ _/ __)( __/_ _/ __)| _ )
|_| \___ /___) |_| \___ |_|_\ v2.5
PHP 7.3.3 | php -n | 8 threads
PHP 8.2.0 | php -n | 8 threads
.
OK (1 tests, 0 skipped, 0.0 seconds)
```
Expand Down

0 comments on commit f7d0100

Please sign in to comment.