Bring code into standard
This commit is contained in:
parent
9f4313cf6f
commit
4cf50e8d30
@ -120,12 +120,12 @@ class ExecutableFinderTest extends \PHPUnit_Framework_TestCase
|
|||||||
$this->markTestSkipped('Requires the PHP_BINARY constant');
|
$this->markTestSkipped('Requires the PHP_BINARY constant');
|
||||||
}
|
}
|
||||||
|
|
||||||
$execPath = __DIR__.DIRECTORY_SEPARATOR.'SignalListener.php';
|
$execPath = __DIR__.'/SignalListener.php';
|
||||||
|
|
||||||
$this->setPath('');
|
$this->setPath('');
|
||||||
ini_set('open_basedir', PHP_BINARY.PATH_SEPARATOR.'/');
|
ini_set('open_basedir', PHP_BINARY.PATH_SEPARATOR.'/');
|
||||||
|
|
||||||
$finder = new ExecutableFinder;
|
$finder = new ExecutableFinder();
|
||||||
$result = $finder->find($this->getPhpBinaryName(), false);
|
$result = $finder->find($this->getPhpBinaryName(), false);
|
||||||
|
|
||||||
$this->assertSamePath(PHP_BINARY, $result);
|
$this->assertSamePath(PHP_BINARY, $result);
|
||||||
|
Reference in New Issue
Block a user