8000 minor #90 Fix CI failures with Xdebug 3 and test on PHP 7.4/8.0 as we… · symfony/symfony@488df9b · GitHub
[go: up one dir, main page]

Skip to content

Commit 488df9b

Browse files
committed
minor #90 Fix CI failures with Xdebug 3 and test on PHP 7.4/8.0 as well (derrabus)
This PR was merged into the 2.0-dev branch. Discussion ---------- Fix CI failures with Xdebug 3 and test on PHP 7.4/8.0 as well Commits ------- a6697fd Fix CI failures with Xdebug 3 and test on PHP 7.4/8.0 as well
2 parents c62f7d0 + a6697fd commit 488df9b

File tree

3 files changed

+10
-5
lines changed

3 files changed

+10
-5
lines changed

.travis.yml

+8-3
Original file line numberDiff line numberDiff line change
@@ -8,22 +8,27 @@ cache:
88
env:
99
global:
1010
- PHPUNIT_FLAGS="-v"
11+
- SYMFONY_PHPUNIT_VERSION=9.5
1112
- SYMFONY_PHPUNIT_DIR="$HOME/symfony-bridge/.phpunit"
1213

1314
matrix:
1415
fast_finish: true
1516
include:
1617
# Minimum supported dependencies with the latest and oldest PHP version
17-
- php: 7.3
18+
- php: 7.4
1819
env: COMPOSER_FLAGS="--prefer-stable --prefer-lowest" SYMFONY_DEPRECATIONS_HELPER="weak_vendors"
1920

2021
- php: 7.1
22+
env: SYMFONY_PHPUNIT_VERSION=7.5
2123
- php: 7.2
24+
env: SYMFONY_PHPUNIT_VERSION=8.5
2225
- php: 7.3
23-
env: COVERAGE=true PHPUNIT_FLAGS="-v --coverage-text"
26+
- php: 7.4
27+
env: COVERAGE=true PHPUNIT_FLAGS="-v --coverage-text" XDEBUG_MODE=coverage
28+
- php: 8.0
2429

2530
# Latest commit to master
26-
- php: 7.3
31+
- php: 7.4
2732
env: STABILITY="dev"
2833

2934
allow_failures:

Tests/Factory/AbstractHttpMessageFactoryTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ public function testCreateResponse()
152152
$cookieHeader = $psrResponse->getHeader('Set-Cookie');
153153
$this->assertIsArray($cookieHeader);
154154
$this->assertCount(1, $cookieHeader);
155-
$this->assertRegExp('{city=Lille; expires=Wed, 13-Jan-2021 22:23:01 GMT;( max-age=\d+;)? path=/; httponly}i', $cookieHeader[0]);
155+
$this->assertMatchesRegularExpression('{city=Lille; expires=Wed, 13-Jan-2021 22:23:01 GMT;( max-age=\d+;)? path=/; httponly}i', $cookieHeader[0]);
156156
}
157157

158158
public function testCreateResponseFromStreamed()

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"symfony/http-foundation": "^4.4 || ^5.0"
2222
},
2323
"require-dev": {
24-
"symfony/phpunit-bridge": "^4.4 || ^5.0",
24+
"symfony/phpunit-bridge": "^4.4.19 || ^5.2",
2525
"nyholm/psr7": "^1.1"
2626
},
2727
"suggest": {

0 commit comments

Comments
 (0)
0