From da94d5c40025cb3acffafaa0ac281cf73adab4d2 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Fri, 27 Oct 2017 17:59:14 +0200 Subject: [PATCH] Fix if for foreach while spacing --- Helper/testGenerator.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Helper/testGenerator.php b/Helper/testGenerator.php index b0749a0..4b6857d 100644 --- a/Helper/testGenerator.php +++ b/Helper/testGenerator.php @@ -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); }