Skip to content

Commit

Permalink
requires PHP 7.2
Browse files Browse the repository at this point in the history
  • Loading branch information
dg committed Mar 1, 2021
1 parent 68908f0 commit 50d6c54
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/coding-style.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
- uses: actions/checkout@v2
- uses: shivammathur/setup-php@v1
with:
php-version: 7.1
php-version: 7.2
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/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
php: ['7.1', '7.2', '7.3', '7.4', '8.0']
php: ['7.2', '7.3', '7.4', '8.0']

fail-fast: false

Expand Down
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
language: php
php:
- 7.1
- 7.2
- 7.3
- 7.4
Expand Down
12 changes: 0 additions & 12 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,6 @@ init:
- SET ANSICON=121x90 (121x90)

install:
# Install PHP 7.1
- IF EXIST c:\php\71 (SET PHP=0) ELSE (SET PHP=1)
- IF %PHP%==1 mkdir c:\php\71
- IF %PHP%==1 cd c:\php\71
- IF %PHP%==1 curl https://windows.php.net/downloads/releases/archives/php-7.1.6-Win32-VC14-x64.zip --output php.zip
- IF %PHP%==1 7z x php.zip >nul
- IF %PHP%==1 del /Q *.zip

# Install PHP 7.2
- IF EXIST c:\php\72 (SET PHP=0) ELSE (SET PHP=1)
- IF %PHP%==1 mkdir c:\php\72
Expand All @@ -27,10 +19,6 @@ install:
- cd c:\projects\tester

test_script:
- c:\php\71\php src\tester tests -s -p c:\php\71\php
- c:\php\71\php src\tester tests -s -p c:\php\71\php-cgi
- c:\php\71\php src\tester tests -s -p c:\php\71\phpdbg

- c:\php\72\php src\tester tests -s -p c:\php\72\php
- c:\php\72\php src\tester tests -s -p c:\php\72\php-cgi
- c:\php\72\php src\tester tests -s -p c:\php\72\phpdbg
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
}
],
"require": {
"php": ">=7.1"
"php": ">=7.2 <8.1"
},
"require-dev": {
"ext-simplexml": "*",
Expand Down
1 change: 1 addition & 0 deletions readme.md
Original file line number Diff line number Diff line change
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.4 is compatible with PHP 7.2 to 8.0
- 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
- Nette Tester 2.0 is compatible with PHP 5.6 to 7.3
Expand Down

0 comments on commit 50d6c54

Please sign in to comment.