Total Complexity | 3 |
Total Lines | 28 |
Duplicated Lines | 0 % |
Changes | 3 | ||
Bugs | 0 | Features | 3 |
1 | <?php |
||
11 | class XmlTest extends AbstractTest |
||
12 | { |
||
13 | public function test_validate_with_url() |
||
20 | ); |
||
21 | } |
||
22 | |||
23 | public function test_toObject() |
||
24 | { |
||
25 | $xml = file_get_contents(TEST_FIXTURE_PATH . '/Xml/request.xml'); |
||
26 | $object = Xml::toObject($xml); |
||
27 | self::assertInstanceOf(\SimpleXMLElement::class, $object); |
||
28 | } |
||
29 | |||
30 | public function test_fromArray() |
||
39 | ); |
||
40 | } |
||
42 |
This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.
This is most likely a typographical error or the method has been renamed.