Completed
Push — output_parsers_refactor ( cf2136...710907 )
by Alessandro
02:32
created

PHPUnitUtilXMLProxy   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 0%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
c 1
b 0
f 0
lcom 0
cbo 1
dl 0
loc 15
ccs 0
cts 2
cp 0
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A loadFile() 0 4 1
1
<?php
2
3
namespace Paraunit\Proxy;
4
5
/**
6
 * Class PHPUnitUtilXMLProxy.
7
 *
8
 * This class exists just as a proxy, 'cause you can't mock a static method with Prophecy
9
 */
10
class PHPUnitUtilXMLProxy
11
{
12
    /**
13
     * @param $filename
14
     * @param bool|false $isHtml
15
     * @param bool|false $xinclude
16
     * @param bool|false $strict
17
     *
18
     * @return \DOMDocument
19
     */
20
    public function loadFile($filename, $isHtml = false, $xinclude = false, $strict = false)
21
    {
22
        return \PHPUnit_Util_XML::loadFile($filename, $isHtml, $xinclude, $strict);
23
    }
24
}
25