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

Commit 8b64b7a

Browse files
committed
Add PHP 7.4 Travis build
Also replace mock-objects with PHP 5.6-7.4 compatible fork sminnee/phpunit-mock-objects
1 parent 639ed82 commit 8b64b7a

File tree

2 files changed

+14
-9
lines changed

2 files changed

+14
-9
lines changed

.travis.yml

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

1213
env:
1314
global:
@@ -47,7 +48,7 @@ matrix:
4748

4849
# Firefox with Geckodriver (W3C mode) inside Travis environment
4950
- name: 'Firefox latest on Travis (W3C protocol); no Selenium server'
50-
php: 7.3
51+
php: '7.3'
5152
env:
5253
- BROWSER_NAME="firefox"
5354
- GECKODRIVER="1"

composer.json

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,21 +13,22 @@
1313
"minimum-stability": "beta",
1414
"require": {
1515
"php": "^5.6 || ~7.0",
16-
"symfony/process": "^2.8 || ^3.1 || ^4.0 || ^5.0",
17-
"symfony/polyfill-mbstring": "^1.12",
1816
"ext-curl": "*",
17+
"ext-json": "*",
1918
"ext-zip": "*",
20-
"ext-json": "*"
19+
"symfony/polyfill-mbstring": "^1.12",
20+
"symfony/process": "^2.8 || ^3.1 || ^4.0 || ^5.0"
2121
},
2222
"require-dev": {
23+
"friendsofphp/php-cs-fixer": "^2.0",
24+
"jakub-onderka/php-parallel-lint": "^0.9.2",
25+
"php-coveralls/php-coveralls": "^2.0",
26+
"php-mock/php-mock-phpunit": "^1.1",
2327
"phpunit/phpunit": "^5.7",
2428
"sebastian/environment": "^1.3.4 || ^2.0 || ^3.0",
25-
"friendsofphp/php-cs-fixer": "^2.0",
29+
"sminnee/phpunit-mock-objects": "^3.4",
2630
"squizlabs/php_codesniffer": "^2.6",
27-
"php-mock/php-mock-phpunit": "^1.1",
28-
"php-coveralls/php-coveralls": "^2.0",
29-
"symfony/var-dumper": "^3.3 || ^4.0 || ^5.0",
30-
"jakub-onderka/php-parallel-lint": "^0.9.2"
31+
"symfony/var-dumper": "^3.3 || ^4.0 || ^5.0"
3132
},
3233
"suggest": {
3334
"ext-SimpleXML": "For Firefox profile creation"
@@ -57,6 +58,9 @@
5758
"vendor/bin/phpstan.phar analyze ./lib ./tests --level 2 -c phpstan.neon --ansi"
5859
]
5960
},
61+
"config": {
62+
"sort-packages": true
63+
},
6064
"extra": {
6165
"branch-alias": {
6266
"dev-community": "1.8.x-dev"

0 commit comments

Comments
 (0)