Skip to content

Commit 724b233

Browse files
committed
Partial revert "Bump minimum version to PHP 7.1"
This reverts commit 2941ff6. Signed-off-by: William Desportes <williamdes@wdes.fr>
1 parent f2f621e commit 724b233

File tree

3 files changed

+14
-3
lines changed

3 files changed

+14
-3
lines changed

.travis.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,16 @@ language: php
33
dist: trusty
44

55
php:
6+
- 5.4
7+
- 5.5
8+
- 5.6
9+
- 7.0
610
- 7.1
711
- 7.2
812
- 7.3
13+
- hhvm-3.12
14+
- hhvm-3.18
15+
- hhvm-3.24
916
- nightly
1017

1118
matrix:
@@ -17,10 +24,13 @@ matrix:
1724
env: DOCS=yes
1825
- php: 7.1
1926
env: REQUIRE="phpmyadmin/motranslator:^3.0"
27+
- dist: precise
28+
php: 5.3
2029

2130
sudo: false
2231

2332
install:
33+
- if [ $(php -r "echo PHP_MAJOR_VERSION;") -lt 7 ] ; then sed -i '/sami/D' composer.json ; fi
2434
- if [ -n "$REQUIRE" ] ; then composer require "$REQUIRE" ; fi
2535
- composer install
2636

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@
1616
"source": "https://github.com/phpmyadmin/sql-parser"
1717
},
1818
"require": {
19-
"php": "^7.1",
19+
"php": ">=5.3.0",
2020
"symfony/polyfill-mbstring": "^1.3"
2121
},
2222
"require-dev": {
2323
"sami/sami": "^4.0",
2424
"phpunit/php-code-coverage": "*",
25-
"phpunit/phpunit": "^7.4",
25+
"phpunit/phpunit": "~4.8 || ~5.7 || ~6.5",
2626
"phpmyadmin/coding-standard": "^1.0"
2727
},
2828
"conflict": {

phpunit.xml.dist

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
convertNoticesToExceptions="true"
1010
convertWarningsToExceptions="true"
1111
processIsolation="false"
12-
stopOnFailure="false">
12+
stopOnFailure="false"
13+
syntaxCheck="false">
1314
<logging>
1415
<log type="coverage-clover" target="coverage.xml" />
1516
</logging>

0 commit comments

Comments
 (0)