We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c45801 commit 977904fCopy full SHA for 977904f
tests/PhpArrayToXmlTest.php
@@ -11,7 +11,7 @@ class PhpArrayToXmlTest extends TestCase
11
*/
12
protected function getXmlStub($name)
13
{
14
- return file_get_contents('stubs' . DIRECTORY_SEPARATOR . $name . '.xml');
+ return file_get_contents(__DIR__ . DIRECTORY_SEPARATOR . 'stubs' . DIRECTORY_SEPARATOR . $name . '.xml');
15
}
16
17
/**
@@ -20,7 +20,7 @@ protected function getXmlStub($name)
20
21
protected function getArrayStub($name)
22
23
- return include('stubs' . DIRECTORY_SEPARATOR . $name . '.php');
+ return include(__DIR__ . DIRECTORY_SEPARATOR . 'stubs' . DIRECTORY_SEPARATOR . $name . '.php');
24
25
26
/** @test */
0 commit comments