continue;
} self::
recursiveMirror($dependency['from'
],
$dependency['to'
]);
if (isset($dependency['license'
])) { $license =
basename($dependency['license'
]);
copy($dependency['license'
],
$dependency['to'
] . '/' .
$license);
} } self::
copyKintInitFiles();
self::
recursiveDelete(self::
$dependencies['psr-log'
]['to'
] . 'Test/'
);
} /**
* Recursively remove the contents of the previous `system/ThirdParty`.
*/
private static function recursiveDelete(string
$directory): void
{ if (!
is_dir($directory)) { echo sprintf('Cannot recursively delete "%s" as it does not exist.',
$directory) . PHP_EOL;