1
0
Fork 0

Merge branch 'master' into 2.0

pull/8561/head
Jordi Boggiano 2020-01-28 14:22:25 +01:00
commit 7e6fe585bc
No known key found for this signature in database
GPG Key ID: 7BBD42C429EC80BC
1 changed files with 3 additions and 3 deletions

View File

@ -308,7 +308,7 @@ class EventDispatcherTest extends TestCase
rmdir(__DIR__ . sprintf('%svendor', DIRECTORY_SEPARATOR));
chdir($currentDirectoryBkp);
putenv('COMPOSER_BIN_DIR=' . $composerBinDirBkp);
putenv('COMPOSER_BIN_DIR' . ($composerBinDirBkp === false ? '' : '=' . $composerBinDirBkp));
}
static public function createsVendorBinFolderChecksEnvDoesNotContainsBin()
@ -316,7 +316,7 @@ class EventDispatcherTest extends TestCase
mkdir(__DIR__ . sprintf('%svendor%sbin', DIRECTORY_SEPARATOR, DIRECTORY_SEPARATOR), 0700, true);
$val = getenv('PATH');
if ( ! $val ) {
if (!$val) {
$val = getenv('Path');
}
@ -327,7 +327,7 @@ class EventDispatcherTest extends TestCase
{
$val = getenv('PATH');
if ( ! $val ) {
if (!$val) {
$val = getenv('Path');
}