Completed
Push — master ( 809810...fd6aea )
by Thiago Augustus de
07:38 queued 05:05
created

Tests/NoSpaceTest.php (1 issue)

Upgrade to new PHP Analysis Engine

These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more

1
<?php
2
3
class NoSpaceTest extends PHPUnit_Framework_TestCase
4
{
5
6
    function testNoXMLSpace() {
0 ignored issues
show
It is generally recommended to explicitly declare the visibility for methods.

Adding explicit visibility (private, protected, or public) is generally recommend to communicate to other developers how, and from where this method is intended to be used.

Loading history...
7
        $xml = simplexml_load_file( 'xml_file.xml' );
8
        $xml = NoXMLSpace::noSpace($xml);
9
        
10
        $this->assertEquals('Hello World', $xml->message);
11
    }
12
  
13
}
14