File tree Expand file tree Collapse file tree 5 files changed +11
-10
lines changed Expand file tree Collapse file tree 5 files changed +11
-10
lines changed Original file line number Diff line number Diff line change @@ -3,3 +3,4 @@ composer.phar
33phpunit.xml
44vendor /
55build /
6+ .phpunit.result.cache
Original file line number Diff line number Diff line change 1010 fast_finish : true
1111
1212before_script :
13- - composer install --dev -- prefer-source
13+ - composer install --prefer-source
1414
15- script : ./vendor/bin/phpunit --coverage-text
15+ script : ./vendor/bin/phpunit --coverage-text
Original file line number Diff line number Diff line change 22<phpunit bootstrap =" vendor/autoload.php"
33 colors =" true" >
44 <testsuites >
5- <testsuite >
5+ <testsuite name = " php-dom-wrapper testsuite " >
66 <directory >tests</directory >
77 </testsuite >
88 </testsuites >
2020<directory suffix =" .php" >src</directory >
2121 </whitelist >
2222 </filter >
23- </phpunit >
23+ </phpunit >
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ public function testDocumentSetHtmlEncoding() {
1616 public function testDocumentParent () {
1717 $ doc = $ this ->document ('<html></html> ' );
1818
19- $ this ->assertSame ( null , $ doc ->parent ());
19+ $ this ->assertNull ( $ doc ->parent ());
2020 }
2121
2222 public function testDocumentParents () {
@@ -35,6 +35,6 @@ public function testDocumentClone() {
3535 $ doc = $ this ->document ('<html></html> ' );
3636 $ clone = $ doc ->_clone ();
3737
38- $ this ->assertSame ( null , $ clone );
38+ $ this ->assertNull ( $ clone );
3939 }
40- }
40+ }
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ public function testEq() {
2626 $ this ->assertInstanceOf ('\DOMNode ' , $ nodes ->eq (3 ));
2727 $ this ->assertSame ('div ' , $ nodes ->eq (3 )->nodeName );
2828
29- $ this ->assertSame ( null , $ nodes ->eq (4 ));
29+ $ this ->assertNull ( $ nodes ->eq (4 ));
3030
3131 $ this ->assertInstanceOf ('\DOMNode ' , $ nodes ->eq (-1 ));
3232 $ this ->assertSame ('div ' , $ nodes ->eq (-1 )->nodeName );
@@ -41,6 +41,6 @@ public function testEq() {
4141 $ this ->assertSame ('div ' , $ nodes ->eq (-4 )->nodeName );
4242 $ this ->assertSame ('example ' , $ nodes ->eq (-4 )->attr ('class ' ));
4343
44- $ this ->assertSame ( null , $ nodes ->eq (-5 ));
44+ $ this ->assertNull ( $ nodes ->eq (-5 ));
4545 }
46- }
46+ }
You can’t perform that action at this time.
0 commit comments