Skip to content

Commit ec4c56a

Browse files
Big-Sharkdbu
authored andcommitted
Update phpspec (#157)
Update phpspec and phpspec-code-coverage
1 parent e7bbae4 commit ec4c56a

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

Diff for: .travis.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,9 @@ matrix:
2525
fast_finish: true
2626
include:
2727
- php: 7.0
28-
env: COMPOSER_FLAGS="--prefer-stable --prefer-lowest" COVERAGE=true TEST_COMMAND="composer test-ci"
28+
env: COMPOSER_FLAGS="--prefer-stable --prefer-lowest"
29+
- php: 7.4
30+
env: COVERAGE=true TEST_COMMAND="composer test-ci"
2931

3032
before_install:
3133
- if [[ $COVERAGE != true ]]; then phpenv config-rm xdebug.ini || true; fi

Diff for: composer.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121
"php-http/promise": "^1.0"
2222
},
2323
"require-dev": {
24-
"phpspec/phpspec": "^2.4",
25-
"henrikbjorn/phpspec-code-coverage" : "^1.0"
24+
"phpspec/phpspec": "^4.3.4|^5.0|^6.0",
25+
"friends-of-phpspec/phpspec-code-coverage" : "^4.1"
2626
},
2727
"autoload": {
2828
"psr-4": {

Diff for: phpspec.ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ suites:
44
psr4_prefix: Http\Client
55
formatter.name: pretty
66
extensions:
7-
- PhpSpec\Extension\CodeCoverageExtension
7+
FriendsOfPhpSpec\PhpSpec\CodeCoverage\CodeCoverageExtension: ~
88
code_coverage:
99
format: clover
1010
output: build/coverage.xml

0 commit comments

Comments
 (0)