Skip to content

Commit 83f09c2

Browse files
HTTP -> HTTPS
1 parent c896779 commit 83f09c2

File tree

15 files changed

+39
-39
lines changed

15 files changed

+39
-39
lines changed

src/Report/Xml/BuildInformation.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -65,14 +65,14 @@ public function setRuntimeInformation(Runtime $runtime)
6565
private function getNodeByName($name)
6666
{
6767
$node = $this->contextNode->getElementsByTagNameNS(
68-
'http://schema.phpunit.de/coverage/1.0',
68+
'https://schema.phpunit.de/coverage/1.0',
6969
$name
7070
)->item(0);
7171

7272
if (!$node) {
7373
$node = $this->contextNode->appendChild(
7474
$this->contextNode->ownerDocument->createElementNS(
75-
'http://schema.phpunit.de/coverage/1.0',
75+
'https://schema.phpunit.de/coverage/1.0',
7676
$name
7777
)
7878
);

src/Report/Xml/Coverage.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public function __construct(\DOMElement $context, $line)
3535

3636
$this->writer = new \XMLWriter();
3737
$this->writer->openMemory();
38-
$this->writer->startElementNs(null, $context->nodeName, 'http://schema.phpunit.de/coverage/1.0');
38+
$this->writer->startElementNs(null, $context->nodeName, 'https://schema.phpunit.de/coverage/1.0');
3939
$this->writer->writeAttribute('nr', $line);
4040
}
4141

src/Report/Xml/File.php

+4-4
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public function getTotals()
5151
if (!$totalsContainer) {
5252
$totalsContainer = $this->contextNode->appendChild(
5353
$this->dom->createElementNS(
54-
'http://schema.phpunit.de/coverage/1.0',
54+
'https://schema.phpunit.de/coverage/1.0',
5555
'totals'
5656
)
5757
);
@@ -63,22 +63,22 @@ public function getTotals()
6363
public function getLineCoverage($line)
6464
{
6565
$coverage = $this->contextNode->getElementsByTagNameNS(
66-
'http://schema.phpunit.de/coverage/1.0',
66+
'https://schema.phpunit.de/coverage/1.0',
6767
'coverage'
6868
)->item(0);
6969

7070
if (!$coverage) {
7171
$coverage = $this->contextNode->appendChild(
7272
$this->dom->createElementNS(
73-
'http://schema.phpunit.de/coverage/1.0',
73+
'https://schema.phpunit.de/coverage/1.0',
7474
'coverage'
7575
)
7676
);
7777
}
7878

7979
$lineNode = $coverage->appendChild(
8080
$this->dom->createElementNS(
81-
'http://schema.phpunit.de/coverage/1.0',
81+
'https://schema.phpunit.de/coverage/1.0',
8282
'line'
8383
)
8484
);

src/Report/Xml/Node.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public function getTotals()
5050
if (!$totalsContainer) {
5151
$totalsContainer = $this->getContextNode()->appendChild(
5252
$this->dom->createElementNS(
53-
'http://schema.phpunit.de/coverage/1.0',
53+
'https://schema.phpunit.de/coverage/1.0',
5454
'totals'
5555
)
5656
);
@@ -62,7 +62,7 @@ public function getTotals()
6262
public function addDirectory($name)
6363
{
6464
$dirNode = $this->getDom()->createElementNS(
65-
'http://schema.phpunit.de/coverage/1.0',
65+
'https://schema.phpunit.de/coverage/1.0',
6666
'directory'
6767
);
6868

@@ -75,7 +75,7 @@ public function addDirectory($name)
7575
public function addFile($name, $href)
7676
{
7777
$fileNode = $this->getDom()->createElementNS(
78-
'http://schema.phpunit.de/coverage/1.0',
78+
'https://schema.phpunit.de/coverage/1.0',
7979
'file'
8080
);
8181

src/Report/Xml/Project.php

+6-6
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@ public function __construct($directory)
2424
private function init()
2525
{
2626
$dom = new \DOMDocument();
27-
$dom->loadXML('<?xml version="1.0" ?><phpunit xmlns="http://schema.phpunit.de/coverage/1.0"><build/><project/></phpunit>');
27+
$dom->loadXML('<?xml version="1.0" ?><phpunit xmlns="https://schema.phpunit.de/coverage/1.0"><build/><project/></phpunit>');
2828

2929
$this->setContextNode(
3030
$dom->getElementsByTagNameNS(
31-
'http://schema.phpunit.de/coverage/1.0',
31+
'https://schema.phpunit.de/coverage/1.0',
3232
'project'
3333
)->item(0)
3434
);
@@ -53,14 +53,14 @@ public function getProjectSourceDirectory()
5353
public function getBuildInformation()
5454
{
5555
$buildNode = $this->getDom()->getElementsByTagNameNS(
56-
'http://schema.phpunit.de/coverage/1.0',
56+
'https://schema.phpunit.de/coverage/1.0',
5757
'build'
5858
)->item(0);
5959

6060
if (!$buildNode) {
6161
$buildNode = $this->getDom()->documentElement->appendChild(
6262
$this->getDom()->createElementNS(
63-
'http://schema.phpunit.de/coverage/1.0',
63+
'https://schema.phpunit.de/coverage/1.0',
6464
'build'
6565
)
6666
);
@@ -72,14 +72,14 @@ public function getBuildInformation()
7272
public function getTests()
7373
{
7474
$testsNode = $this->getContextNode()->getElementsByTagNameNS(
75-
'http://schema.phpunit.de/coverage/1.0',
75+
'https://schema.phpunit.de/coverage/1.0',
7676
'tests'
7777
)->item(0);
7878

7979
if (!$testsNode) {
8080
$testsNode = $this->getContextNode()->appendChild(
8181
$this->getDom()->createElementNS(
82-
'http://schema.phpunit.de/coverage/1.0',
82+
'https://schema.phpunit.de/coverage/1.0',
8383
'tests'
8484
)
8585
);

src/Report/Xml/Report.php

+6-6
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ class Report extends File
1515
public function __construct($name)
1616
{
1717
$dom = new \DOMDocument();
18-
$dom->loadXML('<?xml version="1.0" ?><phpunit xmlns="http://schema.phpunit.de/coverage/1.0"><file /></phpunit>');
18+
$dom->loadXML('<?xml version="1.0" ?><phpunit xmlns="https://schema.phpunit.de/coverage/1.0"><file /></phpunit>');
1919

2020
$contextNode = $dom->getElementsByTagNameNS(
21-
'http://schema.phpunit.de/coverage/1.0',
21+
'https://schema.phpunit.de/coverage/1.0',
2222
'file'
2323
)->item(0);
2424

@@ -41,7 +41,7 @@ public function getFunctionObject($name)
4141
{
4242
$node = $this->getContextNode()->appendChild(
4343
$this->getDomDocument()->createElementNS(
44-
'http://schema.phpunit.de/coverage/1.0',
44+
'https://schema.phpunit.de/coverage/1.0',
4545
'function'
4646
)
4747
);
@@ -63,7 +63,7 @@ private function getUnitObject($tagName, $name)
6363
{
6464
$node = $this->getContextNode()->appendChild(
6565
$this->getDomDocument()->createElementNS(
66-
'http://schema.phpunit.de/coverage/1.0',
66+
'https://schema.phpunit.de/coverage/1.0',
6767
$tagName
6868
)
6969
);
@@ -74,14 +74,14 @@ private function getUnitObject($tagName, $name)
7474
public function getSource()
7575
{
7676
$source = $this->getContextNode()->getElementsByTagNameNS(
77-
'http://schema.phpunit.de/coverage/1.0',
77+
'https://schema.phpunit.de/coverage/1.0',
7878
'source'
7979
)->item(0);
8080

8181
if (!$source) {
8282
$source = $this->getContextNode()->appendChild(
8383
$this->getDomDocument()->createElementNS(
84-
'http://schema.phpunit.de/coverage/1.0',
84+
'https://schema.phpunit.de/coverage/1.0',
8585
'source'
8686
)
8787
);

src/Report/Xml/Tests.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public function addTest($test, array $result)
3333
{
3434
$node = $this->contextNode->appendChild(
3535
$this->contextNode->ownerDocument->createElementNS(
36-
'http://schema.phpunit.de/coverage/1.0',
36+
'https://schema.phpunit.de/coverage/1.0',
3737
'test'
3838
)
3939
);

src/Report/Xml/Totals.php

+5-5
Original file line numberDiff line numberDiff line change
@@ -50,27 +50,27 @@ public function __construct(\DOMElement $container)
5050
$dom = $container->ownerDocument;
5151

5252
$this->linesNode = $dom->createElementNS(
53-
'http://schema.phpunit.de/coverage/1.0',
53+
'https://schema.phpunit.de/coverage/1.0',
5454
'lines'
5555
);
5656

5757
$this->methodsNode = $dom->createElementNS(
58-
'http://schema.phpunit.de/coverage/1.0',
58+
'https://schema.phpunit.de/coverage/1.0',
5959
'methods'
6060
);
6161

6262
$this->functionsNode = $dom->createElementNS(
63-
'http://schema.phpunit.de/coverage/1.0',
63+
'https://schema.phpunit.de/coverage/1.0',
6464
'functions'
6565
);
6666

6767
$this->classesNode = $dom->createElementNS(
68-
'http://schema.phpunit.de/coverage/1.0',
68+
'https://schema.phpunit.de/coverage/1.0',
6969
'classes'
7070
);
7171

7272
$this->traitsNode = $dom->createElementNS(
73-
'http://schema.phpunit.de/coverage/1.0',
73+
'https://schema.phpunit.de/coverage/1.0',
7474
'traits'
7575
);
7676

src/Report/Xml/Unit.php

+5-5
Original file line numberDiff line numberDiff line change
@@ -44,14 +44,14 @@ public function setCrap($crap)
4444
public function setPackage($full, $package, $sub, $category)
4545
{
4646
$node = $this->contextNode->getElementsByTagNameNS(
47-
'http://schema.phpunit.de/coverage/1.0',
47+
'https://schema.phpunit.de/coverage/1.0',
4848
'package'
4949
)->item(0);
5050

5151
if (!$node) {
5252
$node = $this->contextNode->appendChild(
5353
$this->contextNode->ownerDocument->createElementNS(
54-
'http://schema.phpunit.de/coverage/1.0',
54+
'https://schema.phpunit.de/coverage/1.0',
5555
'package'
5656
)
5757
);
@@ -66,14 +66,14 @@ public function setPackage($full, $package, $sub, $category)
6666
public function setNamespace($namespace)
6767
{
6868
$node = $this->contextNode->getElementsByTagNameNS(
69-
'http://schema.phpunit.de/coverage/1.0',
69+
'https://schema.phpunit.de/coverage/1.0',
7070
'namespace'
7171
)->item(0);
7272

7373
if (!$node) {
7474
$node = $this->contextNode->appendChild(
7575
$this->contextNode->ownerDocument->createElementNS(
76-
'http://schema.phpunit.de/coverage/1.0',
76+
'https://schema.phpunit.de/coverage/1.0',
7777
'namespace'
7878
)
7979
);
@@ -86,7 +86,7 @@ public function addMethod($name)
8686
{
8787
$node = $this->contextNode->appendChild(
8888
$this->contextNode->ownerDocument->createElementNS(
89-
'http://schema.phpunit.de/coverage/1.0',
89+
'https://schema.phpunit.de/coverage/1.0',
9090
'method'
9191
)
9292
);

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0"?>
2-
<phpunit xmlns="http://schema.phpunit.de/coverage/1.0">
2+
<phpunit xmlns="https://schema.phpunit.de/coverage/1.0">
33
<file name="BankAccount.php" path="/">
44
<totals>
55
<lines total="33" comments="0" code="33" executable="10" executed="5" percent="50.00"/>

tests/_files/Report/XML/CoverageForBankAccount/index.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0"?>
2-
<phpunit xmlns="http://schema.phpunit.de/coverage/1.0">
2+
<phpunit xmlns="https://schema.phpunit.de/coverage/1.0">
33
<build time="%s" phpunit="%s" coverage="%s">
44
<runtime name="%s" version="%s" url="%s"/>
55
<driver name="%s" version="%s"/>

tests/_files/Report/XML/CoverageForClassWithAnonymousFunction/index.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0"?>
2-
<phpunit xmlns="http://schema.phpunit.de/coverage/1.0">
2+
<phpunit xmlns="https://schema.phpunit.de/coverage/1.0">
33
<build time="%s" phpunit="%s" coverage="%s">
44
<runtime name="%s" version="%s" url="%s"/>
55
<driver name="%s" version="%s"/>

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0"?>
2-
<phpunit xmlns="http://schema.phpunit.de/coverage/1.0">
2+
<phpunit xmlns="https://schema.phpunit.de/coverage/1.0">
33
<file name="source_with_class_and_anonymous_function.php" path="/">
44
<totals>
55
<lines total="19" comments="2" code="17" executable="8" executed="7" percent="87.50"/>

tests/_files/Report/XML/CoverageForFileWithIgnoredLines/index.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0"?>
2-
<phpunit xmlns="http://schema.phpunit.de/coverage/1.0">
2+
<phpunit xmlns="https://schema.phpunit.de/coverage/1.0">
33
<build time="%s" phpunit="%s" coverage="%s">
44
<runtime name="%s" version="%s" url="%s"/>
55
<driver name="%s" version="%s"/>

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0"?>
2-
<phpunit xmlns="http://schema.phpunit.de/coverage/1.0">
2+
<phpunit xmlns="https://schema.phpunit.de/coverage/1.0">
33
<file name="source_with_ignore.php" path="/">
44
<totals>
55
<lines total="37" comments="12" code="25" executable="2" executed="1" percent="50.00"/>

0 commit comments

Comments
 (0)