Skip to content

Commit 3a1c1e5

Browse files
committed
Adjust yiisoft/strings version, update phpunit config format
1 parent bce7cb6 commit 3a1c1e5

File tree

2 files changed

+19
-27
lines changed

2 files changed

+19
-27
lines changed

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"psr/http-server-middleware": "^1.0",
2525
"yiisoft/http": "^1.0",
2626
"yiisoft/serializer": "^3.0@dev",
27-
"yiisoft/strings": "^1.1"
27+
"yiisoft/strings": "^2.0"
2828
},
2929
"require-dev": {
3030
"nyholm/psr7": "^1.3",

phpunit.xml.dist

+18-26
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,20 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
3-
<phpunit backupGlobals="false"
4-
colors="true"
5-
verbose="true"
6-
bootstrap="vendor/autoload.php"
7-
failOnRisky="true"
8-
failOnWarning="true">
9-
<php>
10-
<ini name="error_reporting" value="-1"/>
11-
</php>
12-
13-
<testsuites>
14-
<testsuite name="Yii Data response tests">
15-
<directory>./tests</directory>
16-
</testsuite>
17-
</testsuites>
18-
19-
<filter>
20-
<whitelist>
21-
<directory>./</directory>
22-
<exclude>
23-
<directory>./tests</directory>
24-
<directory>./vendor</directory>
25-
</exclude>
26-
</whitelist>
27-
</filter>
2+
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" backupGlobals="false" colors="true" verbose="true" bootstrap="vendor/autoload.php" failOnRisky="true" failOnWarning="true" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd">
3+
<coverage>
4+
<include>
5+
<directory>./</directory>
6+
</include>
7+
<exclude>
8+
<directory>./tests</directory>
9+
<directory>./vendor</directory>
10+
</exclude>
11+
</coverage>
12+
<php>
13+
<ini name="error_reporting" value="-1"/>
14+
</php>
15+
<testsuites>
16+
<testsuite name="Yii Data response tests">
17+
<directory>./tests</directory>
18+
</testsuite>
19+
</testsuites>
2820
</phpunit>

0 commit comments

Comments
 (0)