Skip to content

Commit 453d27d

Browse files
committed
adjust tests
1 parent c9a346b commit 453d27d

File tree

8 files changed

+8
-8
lines changed

8 files changed

+8
-8
lines changed

tests/_files/Report/Cobertura/BankAccount-line.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<!DOCTYPE coverage SYSTEM "http://cobertura.sourceforge.net/xml/coverage-04.dtd">
33
<coverage line-rate="0.625" branch-rate="0" lines-covered="5" lines-valid="8" branches-covered="0" branches-valid="0" complexity="5" version="0.4" timestamp="%i">
44
<sources>
5-
<source>%s</source>
5+
<source xmlns="https://schema.phpunit.de/coverage/1.0">%s</source>
66
</sources>
77
<packages>
88
<package name="BankAccount.php" line-rate="0.625" branch-rate="0" complexity="5">

tests/_files/Report/Cobertura/BankAccount-path.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<!DOCTYPE coverage SYSTEM "http://cobertura.sourceforge.net/xml/coverage-04.dtd">
33
<coverage line-rate="0.625" branch-rate="0.42857142857143" lines-covered="5" lines-valid="8" branches-covered="3" branches-valid="7" complexity="5" version="0.4" timestamp="%i">
44
<sources>
5-
<source>%s</source>
5+
<source xmlns="https://schema.phpunit.de/coverage/1.0">%s</source>
66
</sources>
77
<packages>
88
<package name="BankAccount.php" line-rate="0.625" branch-rate="0.42857142857143" complexity="5">

tests/_files/Report/Cobertura/class-with-anonymous-function.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<!DOCTYPE coverage SYSTEM "http://cobertura.sourceforge.net/xml/coverage-04.dtd">
33
<coverage line-rate="1" branch-rate="0" lines-covered="8" lines-valid="8" branches-covered="0" branches-valid="0" complexity="1" version="0.4" timestamp="%i">
44
<sources>
5-
<source>%s</source>
5+
<source xmlns="https://schema.phpunit.de/coverage/1.0">%s</source>
66
</sources>
77
<packages>
88
<package name="source_with_class_and_anonymous_function.php" line-rate="1" branch-rate="0" complexity="1">

tests/_files/Report/Cobertura/class-with-outside-function.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<!DOCTYPE coverage SYSTEM "http://cobertura.sourceforge.net/xml/coverage-04.dtd">
33
<coverage line-rate="0.75" branch-rate="0" lines-covered="3" lines-valid="4" branches-covered="0" branches-valid="0" complexity="3" version="0.4" timestamp="%i">
44
<sources>
5-
<source>%s</source>
5+
<source xmlns="https://schema.phpunit.de/coverage/1.0">%s</source>
66
</sources>
77
<packages>
88
<package name="source_with_class_and_outside_function.php" line-rate="0.75" branch-rate="0" complexity="3">

tests/_files/Report/Cobertura/ignored-lines.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<!DOCTYPE coverage SYSTEM "http://cobertura.sourceforge.net/xml/coverage-04.dtd">
33
<coverage line-rate="1" branch-rate="0" lines-covered="1" lines-valid="1" branches-covered="0" branches-valid="0" complexity="2" version="0.4" timestamp="%i">
44
<sources>
5-
<source>%s</source>
5+
<source xmlns="https://schema.phpunit.de/coverage/1.0">%s</source>
66
</sources>
77
<packages>
88
<package name="source_with_ignore.php" line-rate="1" branch-rate="0" complexity="2">

tests/_files/Report/XML/CoverageForBankAccount/BankAccount.php.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
<covered by="BankAccountTest::testDepositWithdrawMoney"/>
3636
</line>
3737
</coverage>
38-
<source>
38+
<source xmlns="https://schema.phpunit.de/coverage/1.0">
3939
<line no="1">
4040
<token name="T_OPEN_TAG">&lt;?php</token>
4141
</line>

tests/_files/Report/XML/CoverageForClassWithAnonymousFunction/source_with_class_and_anonymous_function.php.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
<covered by="ClassWithAnonymousFunction"/>
3939
</line>
4040
</coverage>
41-
<source>
41+
<source xmlns="https://schema.phpunit.de/coverage/1.0">
4242
<line no="1">
4343
<token name="T_OPEN_TAG">&lt;?php</token>
4444
</line>

tests/_files/Report/XML/CoverageForFileWithIgnoredLines/source_with_ignore.php.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<covered by="FileWithIgnoredLines"/>
2323
</line>
2424
</coverage>
25-
<source>
25+
<source xmlns="https://schema.phpunit.de/coverage/1.0">
2626
<line no="1">
2727
<token name="T_OPEN_TAG">&lt;?php</token>
2828
</line>

0 commit comments

Comments
 (0)