Skip to content

Commit e77455e

Browse files
committed
Upgrade phpunit.xml
1 parent b7bd120 commit e77455e

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

phpunit.xml

+9-9
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" bootstrap="vendor/autoload.php" backupGlobals="false" colors="true" processIsolation="false" stopOnFailure="false" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.0/phpunit.xsd" cacheDirectory=".phpunit.cache" backupStaticProperties="false">
3-
<coverage>
4-
<include>
5-
<directory suffix=".php">src/</directory>
6-
</include>
7-
</coverage>
2+
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" bootstrap="vendor/autoload.php" backupGlobals="false" colors="true" processIsolation="false" stopOnFailure="false" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.5/phpunit.xsd" cacheDirectory=".phpunit.cache" backupStaticProperties="false">
83
<testsuites>
94
<testsuite name="Test Suite">
105
<directory>tests</directory>
11-
<exclude>./tests/Stubs/Tests/DemoBrowserKit.php</exclude>
12-
<exclude>./tests/Stubs/Tests/DemoDuskTest.php</exclude>
13-
<exclude>./tests/Stubs/Tests/DemoUnitTest.php</exclude>
6+
<exclude>./tests/Stubs/Tests/DemoBrowserKit.php</exclude>
7+
<exclude>./tests/Stubs/Tests/DemoDuskTest.php</exclude>
8+
<exclude>./tests/Stubs/Tests/DemoUnitTest.php</exclude>
149
</testsuite>
1510
</testsuites>
11+
<source>
12+
<include>
13+
<directory suffix=".php">src/</directory>
14+
</include>
15+
</source>
1616
</phpunit>

tests/Statistics/ProjectStatisticsTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ public function it_returns_total_number_of_lines_of_code_for_a_given_project():
5959
{
6060
$statistic = new ProjectStatistic($this->getTestProject());
6161

62-
$this->assertEquals(133, $statistic->getLinesOfCode());
62+
$this->assertEquals(135, $statistic->getLinesOfCode());
6363
}
6464

6565
#[Test]

0 commit comments

Comments
 (0)