mirror of
https://github.com/composer/composer
synced 2025-05-09 16:42:57 +00:00
Don't do (new Foo())->bar() - not 5.3-compatible
This commit is contained in:
parent
1b196720bf
commit
bac2ef3dfd
1 changed files with 2 additions and 1 deletions
|
@ -49,7 +49,8 @@ class PlatformRepositoryTest extends TestCase {
|
|||
$this->markTestSkipped('Test does not run on Windows');
|
||||
return;
|
||||
}
|
||||
$hhvm = (new ExecutableFinder())->find('hhvm');
|
||||
$finder = new ExecutableFinder();
|
||||
$hhvm = $finder->find('hhvm');
|
||||
if ($hhvm === null) {
|
||||
$this->markTestSkipped('HHVM is not installed');
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue