Skip to content

Commit cfd9b7b

Browse files
committed
tested on PHP 8.0
1 parent e9bb0b1 commit cfd9b7b

File tree

3 files changed

+9
-8
lines changed

3 files changed

+9
-8
lines changed

.github/workflows/tests.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,33 +7,33 @@ jobs:
77
runs-on: ubuntu-latest
88
strategy:
99
matrix:
10-
php: ['7.1', '7.2', '7.3', '7.4']
10+
php: ['7.1', '7.2', '7.3', '7.4', '8.0']
1111

1212
fail-fast: false
1313

1414
name: PHP ${{ matrix.php }} tests
1515
steps:
1616
- uses: actions/checkout@v2
17-
- uses: shivammathur/setup-php@v1
17+
- uses: shivammathur/setup-php@v2
1818
with:
1919
php-version: ${{ matrix.php }}
2020
coverage: none
2121

2222
- run: composer install --no-progress --prefer-dist
2323
- run: vendor/bin/tester tests -s -C
2424
- if: failure()
25-
uses: actions/upload-artifact@v1
25+
uses: actions/upload-artifact@v2
2626
with:
2727
name: output
28-
path: tests/PhpGenerator/output
28+
path: tests/**/output
2929

3030

3131
lowest_dependencies:
3232
name: Lowest Dependencies
3333
runs-on: ubuntu-latest
3434
steps:
3535
- uses: actions/checkout@v2
36-
- uses: shivammathur/setup-php@v1
36+
- uses: shivammathur/setup-php@v2
3737
with:
3838
php-version: 7.1
3939
coverage: none
@@ -47,7 +47,7 @@ jobs:
4747
runs-on: ubuntu-latest
4848
steps:
4949
- uses: actions/checkout@v2
50-
- uses: shivammathur/setup-php@v1
50+
- uses: shivammathur/setup-php@v2
5151
with:
5252
php-version: 7.4
5353
coverage: none

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ php:
44
- 7.2
55
- 7.3
66
- 7.4
7+
- 8.0snapshot
78

89
before_install:
910
# turn off XDebug
@@ -62,7 +63,7 @@ jobs:
6263
- stage: Code Coverage
6364

6465

65-
sudo: false
66+
dist: xenial
6667

6768
cache:
6869
directories:

readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Installation:
2121
composer require nette/php-generator
2222
```
2323

24-
- PhpGenerator 3.2 – 3.4 is compatible with PHP 7.1 to 7.4
24+
- PhpGenerator 3.2 – 3.4 is compatible with PHP 7.1 to 8.0
2525
- PhpGenerator 3.1 is compatible with PHP 7.1 to 7.3
2626
- PhpGenerator 3.0 is compatible with PHP 7.0 to 7.3
2727
- PhpGenerator 2.6 is compatible with PHP 5.6 to 7.3

0 commit comments

Comments
 (0)