Skip to content

Commit 9098d25

Browse files
committed
drop the PHP 5.3 from test set the required 5.4+
1 parent 2b5fb5f commit 9098d25

3 files changed

Lines changed: 11 additions & 22 deletions

File tree

.travis.yml

Lines changed: 9 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,13 @@
11
language: php
2-
matrix:
3-
include:
4-
- php: 5.3
5-
dist: precise
6-
- php: 5.4
7-
dist: trusty
8-
- php: 5.5
9-
dist: trusty
10-
- php: 5.6
11-
dist: trusty
12-
- php: 7.0
13-
dist: trusty
14-
- php: 7.1
15-
dist: trusty
16-
- php: 7.2
17-
dist: trusty
18-
- php: nightly
19-
dist: trusty
20-
- php: hhvm
21-
dist: trusty
2+
php:
3+
- 5.4
4+
- 5.5
5+
- 5.6
6+
- 7.0
7+
- 7.1
8+
- 7.2
9+
- nightly
10+
- hhvm
2211
before_script:
2312
- composer install
2413
script: ./vendor/bin/phpunit

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"license": "MIT",
1212

1313
"require": {
14-
"php": ">=5.3.0"
14+
"php": ">=5.4"
1515
},
1616

1717
"suggest": {

tests/TarTestCase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -557,7 +557,7 @@ public function testBlockData()
557557
*/
558558
public function testGzipIsValid()
559559
{
560-
foreach (array('tgz', 'tar.gz') as $ext) {
560+
foreach (['tgz', 'tar.gz'] as $ext) {
561561
$input = glob(dirname(__FILE__) . '/../src/*');
562562
$archive = sys_get_temp_dir() . '/dwtartest' . md5(time()) . '.' . $ext;
563563
$extract = sys_get_temp_dir() . '/dwtartest' . md5(time() + 1);

0 commit comments

Comments
 (0)