Skip to content

Commit 7bddae3

Browse files
committed
Fix phpunit.xml and psalm.xml
1 parent 7abc754 commit 7bddae3

File tree

2 files changed

+20
-16
lines changed

2 files changed

+20
-16
lines changed

phpunit.xml

Lines changed: 18 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -15,18 +15,22 @@
1515
~ License-Filename: LICENSE
1616
-->
1717

18-
<phpunit bootstrap="./vendor/autoload.php">
19-
<testsuites>
20-
<testsuite name="phpunit-throwable-asserts">
21-
<directory>./tests/Unit</directory>
22-
</testsuite>
23-
</testsuites>
24-
<filter>
25-
<whitelist>
26-
<directory suffix=".php">./src</directory>
27-
</whitelist>
28-
</filter>
29-
<logging>
30-
<log type="coverage-clover" target="clover.xml"/>
31-
</logging>
18+
<phpunit
19+
bootstrap="./vendor/autoload.php"
20+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
21+
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/7.4/phpunit.xsd"
22+
>
23+
<testsuites>
24+
<testsuite name="phpunit-throwable-asserts">
25+
<directory>./tests/Unit</directory>
26+
</testsuite>
27+
</testsuites>
28+
<filter>
29+
<whitelist>
30+
<directory suffix=".php">./src</directory>
31+
</whitelist>
32+
</filter>
33+
<logging>
34+
<log type="coverage-clover" target="clover.xml"/>
35+
</logging>
3236
</phpunit>

psalm.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<?xml version="1.0"?>
1+
<?xml version="1.0" encoding="utf-8" ?>
22
<!--
33
~ PHPUnitThrowableAssertions - Throwable-related PHPUnit assertions.
44
~
@@ -17,8 +17,8 @@
1717

1818
<psalm
1919
errorLevel="4"
20-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2120
xmlns="https://getpsalm.org/schema/config"
21+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2222
xsi:schemaLocation="https://getpsalm.org/schema/config vendor/vimeo/psalm/config.xsd"
2323
>
2424
<projectFiles>

0 commit comments

Comments
 (0)