mirror of
https://github.com/Karaka-Management/Build.git
synced 2026-05-25 05:18:40 +00:00
Fix if for foreach while spacing
This commit is contained in:
parent
de8d17b107
commit
da94d5c400
|
|
@ -49,7 +49,7 @@ foreach ($files as $file) {
|
||||||
$namespace = trim('Tests\PHPUnit\Framework\\' . trim(implode('\\', $namespace), '\\'), '\\');
|
$namespace = trim('Tests\PHPUnit\Framework\\' . trim(implode('\\', $namespace), '\\'), '\\');
|
||||||
$autoloader = str_repeat('/..', count(explode('\\', $namespace)));
|
$autoloader = str_repeat('/..', count(explode('\\', $namespace)));
|
||||||
|
|
||||||
if(!file_exists(dirname($testPath))) {
|
if (!file_exists(dirname($testPath))) {
|
||||||
mkdir(dirname($testPath), 0777, true);
|
mkdir(dirname($testPath), 0777, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -104,7 +104,7 @@ foreach ($files as $file) {
|
||||||
if (!file_exists($testPath)) {
|
if (!file_exists($testPath)) {
|
||||||
$name = explode('/', $split[0]);
|
$name = explode('/', $split[0]);
|
||||||
|
|
||||||
if(!file_exists(dirname($testPath))) {
|
if (!file_exists(dirname($testPath))) {
|
||||||
mkdir(dirname($testPath), 0777, true);
|
mkdir(dirname($testPath), 0777, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user