Skip to content

Commit 98a493a

Browse files
Merge pull request #220 from mauriciofauth/php71
Bump minimum version to PHP 7.1
2 parents 591608f + 2941ff6 commit 98a493a

File tree

4 files changed

+12
-21
lines changed

4 files changed

+12
-21
lines changed

.travis.yml

+7-16
Original file line numberDiff line numberDiff line change
@@ -3,33 +3,24 @@ language: php
33
dist: trusty
44

55
php:
6-
- "5.4"
7-
- "5.5"
8-
- "5.6"
9-
- "7.0"
10-
- "7.1"
11-
- "7.2"
12-
- "hhvm-3.12"
13-
- "hhvm-3.18"
14-
- "hhvm-3.24"
15-
- "nightly"
6+
- 7.1
7+
- 7.2
8+
- 7.3
9+
- nightly
1610

1711
matrix:
1812
fast_finish: true
1913
allow_failures:
20-
- php: "nightly"
14+
- php: nightly
2115
include:
22-
- php: "7.2"
16+
- php: 7.2
2317
env: DOCS=yes
24-
- php: "7.1"
18+
- php: 7.1
2519
env: REQUIRE="phpmyadmin/motranslator:^3.0"
26-
- dist: precise
27-
php: "5.3"
2820

2921
sudo: false
3022

3123
install:
32-
- if [ $(php -r "echo PHP_MAJOR_VERSION;") -lt 7 ] ; then sed -i '/sami/D' composer.json ; fi
3324
- if [ -n "$REQUIRE" ] ; then composer require "$REQUIRE" ; fi
3425
- composer install
3526

CHANGELOG.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
## [Unreleased]
44

5+
* Drop support for PHP 5.3, PHP 5.4, PHP 5.5, PHP 5.6, PHP 7.0 and HHVM
6+
57
## [4.3.1] - 2019-01-05
68

79
* Fixed incorrect error thrown on DEFAULT keyword in ALTER statement (#218)
@@ -333,4 +335,3 @@ __Breaking changes:__
333335
## [1.0.0] - 2015-08-20
334336

335337
* First release of this library.
336-

composer.json

+2-2
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": ">=5.3.0",
19+
"php": "^7.1",
2020
"symfony/polyfill-mbstring": "^1.3"
2121
},
2222
"require-dev": {
2323
"sami/sami": "^4.0",
2424
"phpunit/php-code-coverage": "*",
25-
"phpunit/phpunit": "~4.8 || ~5.7 || ~6.5"
25+
"phpunit/phpunit": "^7.4"
2626
},
2727
"conflict": {
2828
"phpmyadmin/motranslator": "<3.0"

phpunit.xml.dist

+1-2
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@
99
convertNoticesToExceptions="true"
1010
convertWarningsToExceptions="true"
1111
processIsolation="false"
12-
stopOnFailure="false"
13-
syntaxCheck="false">
12+
stopOnFailure="false">
1413
<logging>
1514
<log type="coverage-clover" target="coverage.xml" />
1615
</logging>

0 commit comments

Comments
 (0)