Skip to content
This repository was archived by the owner on Mar 4, 2020. It is now read-only.

Commit d600f7e

Browse files
committed
Finally run Travis on PHP 7.4; also bump some dependencies
1 parent 5018547 commit d600f7e

File tree

3 files changed

+9
-4
lines changed

3 files changed

+9
-4
lines changed

.travis-php74.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
extension=libzip.so

.travis.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ php:
88
- '7.1'
99
- '7.2'
1010
- '7.3'
11-
- '7.4snapshot'
11+
- '7.4'
1212

1313
env:
1414
global:
@@ -20,10 +20,11 @@ matrix:
2020
include:
2121
# Codestyle check build
2222
- name: 'Code style and static analysis'
23-
php: '7.3'
23+
php: '7.4'
2424
env: CHECK_CODESTYLE=1
2525
before_install:
2626
- phpenv config-rm xdebug.ini
27+
- phpenv config-add .travis-php74.ini
2728
before_script: ~
2829
script:
2930
- composer require phpstan/phpstan # Not part of require-dev, because it won't install on PHP 5.6
@@ -131,6 +132,9 @@ cache:
131132
directories:
132133
- $HOME/.composer/cache
133134

135+
before_install:
136+
- if [ "$TRAVIS_PHP_VERSION" == "7.4" ]; then phpenv config-add .travis-php74.ini; fi
137+
134138
install:
135139
- travis_retry composer self-update
136140
- travis_retry composer update --no-interaction $DEPENDENCIES

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,13 @@
2121
},
2222
"require-dev": {
2323
"friendsofphp/php-cs-fixer": "^2.0",
24-
"jakub-onderka/php-parallel-lint": "^0.9.2",
24+
"jakub-onderka/php-parallel-lint": "^1.0",
2525
"php-coveralls/php-coveralls": "^2.0",
2626
"php-mock/php-mock-phpunit": "^1.1",
2727
"phpunit/phpunit": "^5.7",
2828
"sebastian/environment": "^1.3.4 || ^2.0 || ^3.0",
2929
"sminnee/phpunit-mock-objects": "^3.4",
30-
"squizlabs/php_codesniffer": "^2.6",
30+
"squizlabs/php_codesniffer": "^3.5",
3131
"symfony/var-dumper": "^3.3 || ^4.0 || ^5.0"
3232
},
3333
"suggest": {

0 commit comments

Comments
 (0)