Skip to content

Commit

Permalink
Minimal PHP version is 5.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
milo committed Mar 22, 2016
1 parent 7f01b4c commit 077c3a9
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 20 deletions.
5 changes: 0 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
language: php
php:
- 5.3
- 5.3.3
- 5.4
- 5.5
- 5.6
Expand All @@ -17,9 +15,6 @@ matrix:
- php: hhvm

exclude:
- php: 5.3
env: TESTER_PHP_BIN=php-cgi

- php: hhvm
env: TESTER_PHP_BIN=php-cgi

Expand Down
11 changes: 0 additions & 11 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 5.3
- IF EXIST c:\php\53 (SET PHP=0) ELSE (SET PHP=1)
- IF %PHP%==1 mkdir c:\php\53
- IF %PHP%==1 cd c:\php\53
- IF %PHP%==1 appveyor DownloadFile http://windows.php.net/downloads/releases/archives/php-5.3.29-Win32-VC9-x86.zip
- IF %PHP%==1 7z x php-5.3.29-Win32-VC9-x86.zip >nul
- IF %PHP%==1 del /Q *.zip

# Install PHP 5.4
- IF EXIST c:\php\54 (SET PHP=0) ELSE (SET PHP=1)
- IF %PHP%==1 mkdir c:\php\54
Expand Down Expand Up @@ -59,9 +51,6 @@ install:
- cd c:\projects\tester

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

- c:\php\54\php src\tester tests -s -p c:\php\54\php
- c:\php\54\php src\tester tests -s -p c:\php\54\php-cgi

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": ">=5.3.0"
"php": ">=5.4.0"
},
"autoload": {
"classmap": ["src/"]
Expand Down
4 changes: 2 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ or use a Composer:
php composer.phar require --dev nette/tester
```

Nette Tester requires PHP 5.3.0 or later. Collecting and processing
Nette Tester requires PHP 5.4.0 or later. Collecting and processing
code coverage information depends on Xdebug.


Expand Down Expand Up @@ -66,7 +66,7 @@ Now we run tests from command-line using the `tester` command:
|_ _/ __)( __/_ _/ __)| _ )
|_| \___ /___) |_| \___ |_|_\ v2.0.x
PHP 5.3.16 | "php-cgi" -n | 8 threads
PHP 5.4.0 | "php-cgi" -n | 8 threads
.
OK (1 tests, 0 skipped, 0.0 seconds)
```
Expand Down
2 changes: 1 addition & 1 deletion tests/Runner/annotations/phpversion.match.phptx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php

/**
* @phpversion >= 5.3
* @phpversion >= 5.4
*/

0 comments on commit 077c3a9

Please sign in to comment.