Fix if for foreach while spacing

This commit is contained in:
Dennis Eichhorn 2017-10-27 17:59:14 +02:00
parent de8d17b107
commit da94d5c400

View File

@ -49,7 +49,7 @@ foreach ($files as $file) {
$namespace = trim('Tests\PHPUnit\Framework\\' . trim(implode('\\', $namespace), '\\'), '\\');
$autoloader = str_repeat('/..', count(explode('\\', $namespace)));
if(!file_exists(dirname($testPath))) {
if (!file_exists(dirname($testPath))) {
mkdir(dirname($testPath), 0777, true);
}
@ -104,7 +104,7 @@ foreach ($files as $file) {
if (!file_exists($testPath)) {
$name = explode('/', $split[0]);
if(!file_exists(dirname($testPath))) {
if (!file_exists(dirname($testPath))) {
mkdir(dirname($testPath), 0777, true);
}