Skip to content

Commit a7cd184

Browse files
authored
MCLOUD-5929: Upgrade PHPUnit to version 8 (#207)
1 parent 6d1c562 commit a7cd184

27 files changed

+7
-832
lines changed

.travis.yml

Lines changed: 2 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,8 @@ stages:
2323
jobs:
2424
include:
2525
- stage: static-unit
26-
php: '7.1'
27-
script: ./tests/travis/static-unit.sh;
28-
env:
29-
- TEST_SUITE=static-unit
30-
- script: ./tests/travis/static-unit.sh;
3126
php: '7.2'
27+
script: ./tests/travis/static-unit.sh;
3228
env:
3329
- TEST_SUITE=static-unit
3430
- script: ./tests/travis/static-unit.sh;
@@ -37,10 +33,6 @@ jobs:
3733
- TEST_SUITE=static-unit
3834
- stage: integration
3935
script: ./vendor/bin/phpunit --configuration ./tests/integration;
40-
php: '7.1'
41-
env:
42-
- TEST_SUITE=integration
43-
- script: ./vendor/bin/phpunit --configuration ./tests/integration;
4436
php: '7.2'
4537
env:
4638
- TEST_SUITE=integration
@@ -56,11 +48,6 @@ jobs:
5648
- if [ $TRAVIS_SECURE_ENV_VARS == "true" ]; then ./tests/travis/images.sh varnish; fi;
5749
- if [ $TRAVIS_SECURE_ENV_VARS == "true" ]; then ./tests/travis/images.sh elasticsearch; fi;
5850
- if [ $TRAVIS_SECURE_ENV_VARS == "true" ]; then ./tests/travis/images.sh nginx; fi;
59-
- script:
60-
- if [ $TRAVIS_SECURE_ENV_VARS == "true" ]; then ./tests/travis/images.sh php 7.1-cli; fi;
61-
- if [ $TRAVIS_SECURE_ENV_VARS == "true" ]; then ./tests/travis/images.sh php 7.1-fpm; fi;
62-
env:
63-
- TEST_SUITE=build-images
6451
- script:
6552
- if [ $TRAVIS_SECURE_ENV_VARS == "true" ]; then ./tests/travis/images.sh php 7.2-cli; fi;
6653
- if [ $TRAVIS_SECURE_ENV_VARS == "true" ]; then ./tests/travis/images.sh php 7.2-fpm; fi;
@@ -72,11 +59,7 @@ jobs:
7259
env:
7360
- TEST_SUITE=build-images
7461
- stage: test
75-
php: '7.1'
76-
dist: xenial
77-
env:
78-
- TEST_SUITE=functional
79-
- php: '7.2'
62+
php: '7.2'
8063
dist: xenial
8164
env:
8265
- TEST_SUITE=functional

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"AFL-3.0"
99
],
1010
"require": {
11-
"php": "^7.1.3",
11+
"php": "^7.2",
1212
"ext-json": "*",
1313
"composer/composer": "^1.0",
1414
"composer/semver": "^1.0",
@@ -21,9 +21,9 @@
2121
"require-dev": {
2222
"phpmd/phpmd": "@stable",
2323
"phpstan/phpstan": "^0.11",
24-
"phpunit/phpunit": "^7.2",
24+
"phpunit/phpunit": "^8.5",
2525
"squizlabs/php_codesniffer": "^3.0",
26-
"codeception/codeception": "^2.5.3",
26+
"codeception/codeception": "^4.1",
2727
"consolidation/robo": "^1.2"
2828
},
2929
"bin": [

images/php/7.1-cli/Dockerfile

Lines changed: 0 additions & 226 deletions
This file was deleted.

images/php/7.1-cli/bin/cloud-build

Lines changed: 0 additions & 41 deletions
This file was deleted.

images/php/7.1-cli/bin/cloud-deploy

Lines changed: 0 additions & 27 deletions
This file was deleted.

images/php/7.1-cli/bin/cloud-post-deploy

Lines changed: 0 additions & 11 deletions
This file was deleted.

images/php/7.1-cli/bin/ece-command

Lines changed: 0 additions & 7 deletions
This file was deleted.

images/php/7.1-cli/bin/magento-command

Lines changed: 0 additions & 7 deletions
This file was deleted.

0 commit comments

Comments
 (0)