Skip to content

Commit 2de9a08

Browse files
committed
fix phpunit conf and infection github workflow
1 parent 08ab9c5 commit 2de9a08

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/infection.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ jobs:
2323

2424
- name: Infection
2525
run: |
26-
wget -q https://github.com/infection/infection/releases/download/0.26.18/infection.phar
27-
wget -q https://github.com/infection/infection/releases/download/0.26.18/infection.phar.asc
26+
wget -q https://github.com/infection/infection/releases/download/0.27.0/infection.phar
27+
wget -q https://github.com/infection/infection/releases/download/0.27.0/infection.phar.asc
2828
chmod +x infection.phar
2929
./infection.phar
3030

phpunit.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0"?>
22
<phpunit
33
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4-
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.0/phpunit.xsd"
4+
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.1/phpunit.xsd"
55
backupGlobals="true"
66
colors="false"
77
processIsolation="false"
@@ -30,11 +30,11 @@
3030
<exclude>vendor/</exclude>
3131
</testsuite>
3232
</testsuites>
33-
<coverage>
33+
<source restrictDeprecations="true" restrictNotices="true" restrictWarnings="true">
3434
<include>
35-
<directory suffix=".php">src</directory>
35+
<directory>src</directory>
3636
</include>
37-
</coverage>
37+
</source>
3838
<php>
3939
<ini name="allow_url_include" value="1" />
4040
</php>

0 commit comments

Comments
 (0)