mirror of
https://github.com/pestphp/pest.git
synced 2026-03-07 00:07:22 +01:00
fix: spacing in init
This commit is contained in:
@ -66,7 +66,7 @@ final class Init implements HandlesArguments
|
||||
/**
|
||||
* Initializes the tests directory.
|
||||
*/
|
||||
private function init(): never
|
||||
private function init(): void
|
||||
{
|
||||
$testsBaseDir = "{$this->testSuite->rootPath}/tests";
|
||||
|
||||
@ -97,7 +97,9 @@ final class Init implements HandlesArguments
|
||||
continue;
|
||||
}
|
||||
|
||||
@mkdir(dirname($toPath));
|
||||
if (! is_dir(dirname($toPath))) {
|
||||
mkdir(dirname($toPath));
|
||||
}
|
||||
|
||||
copy($fromPath, $toPath);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user