100% type coverage for psalm
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
12
backup
12
backup
@ -8,8 +8,12 @@ use Composer\InstalledVersions;
|
||||
$package = \Composer\InstalledVersions::getRootPackage();
|
||||
|
||||
$application = new Application('backup', $package['version']);
|
||||
try {
|
||||
$application->add(new App\CommandBackup());
|
||||
$application->add(new App\CommandShow());
|
||||
|
||||
$application->add(new App\CommandBackup());
|
||||
$application->add(new App\CommandShow());
|
||||
|
||||
$application->run();
|
||||
$application->run();
|
||||
} catch(Exception $e)
|
||||
{
|
||||
echo("Critical error: ". $e->getMessage());
|
||||
}
|
Reference in New Issue
Block a user