Skip to content
This repository was archived by the owner on Jan 8, 2024. It is now read-only.

Commit 004bccc

Browse files
committed
Upgrade PHPUnit.
1 parent f578eea commit 004bccc

File tree

3 files changed

+13
-8
lines changed

3 files changed

+13
-8
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,6 @@ composer.lock
44
phpspec.yml
55
phpunit.xml
66
.phpunit.result.cache
7+
.phpunit.cache/
78
vendor/
89
.idea/

composer.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"cakephp/cakephp": "^5.0"
2727
},
2828
"require-dev": {
29-
"phpunit/phpunit": "^9.5",
29+
"phpunit/phpunit": "^10.3",
3030
"php-http/message-factory": "^1.0.2",
3131
"spryker/code-sniffer": "^0.17.15"
3232
},
@@ -57,12 +57,13 @@
5757
"prefer-stable": true,
5858
"config": {
5959
"allow-plugins": {
60-
"dealerdirect/phpcodesniffer-composer-installer": true
60+
"dealerdirect/phpcodesniffer-composer-installer": true,
61+
"php-http/discovery": true
6162
}
6263
},
6364
"extra": {
6465
"branch-alias": {
65-
"dev-master": "0.3-dev"
66+
"dev-master": "0.4-dev"
6667
}
6768
}
6869
}

phpunit.xml.dist

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<phpunit colors="true" bootstrap="vendor/autoload.php">
2+
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" colors="true" bootstrap="vendor/autoload.php" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.3/phpunit.xsd" cacheDirectory=".phpunit.cache">
3+
34
<testsuites>
45
<testsuite name="Guzzle 5 Adapter Test Suite">
56
<directory>tests/</directory>
@@ -8,9 +9,11 @@
89
<php>
910
<server name="TEST_SERVER" value="http://127.0.0.1:10000/server.php"/>
1011
</php>
11-
<filter>
12-
<whitelist>
12+
13+
<source>
14+
<include>
1315
<directory suffix=".php">src/</directory>
14-
</whitelist>
15-
</filter>
16+
</include>
17+
</source>
18+
1619
</phpunit>

0 commit comments

Comments
 (0)