style updates

This commit is contained in:
Mark Gregory
2026-07-24 14:59:44 +01:00
parent 24ab771cd3
commit dd23205d0b
482 changed files with 7173 additions and 1435 deletions
@@ -37,6 +37,7 @@ final class ValidateThemeCommand extends Command
if ($issues === []) {
$this->info('Theme validation passed with no issues.');
return self::SUCCESS;
}
@@ -56,6 +57,7 @@ final class ValidateThemeCommand extends Command
return $errors > 0 ? self::FAILURE : self::SUCCESS;
} catch (\Throwable $exception) {
$this->error($exception->getMessage());
return self::FAILURE;
} finally {
if ($temporary !== null) {
@@ -75,7 +77,7 @@ final class ValidateThemeCommand extends Command
$temporary = storage_path('app/stylist/validate-'.bin2hex(random_bytes(8)));
$this->files->ensureDirectoryExists($temporary);
$zip = new ZipArchive();
$zip = new ZipArchive;
if ($zip->open($input) !== true) {
throw new RuntimeException('The theme ZIP could not be opened.');
}