Add doctor cache check and version management to ensure environment validation

This commit is contained in:
crazywhalecc
2026-02-28 10:32:50 +08:00
parent 7623b9e673
commit c218aef947
8 changed files with 94 additions and 0 deletions

View File

@@ -26,6 +26,7 @@ class DoctorCommand extends BaseCommand
};
$doctor = new Doctor($this->output, $fix_policy);
if ($doctor->checkAll()) {
Doctor::markPassed();
$this->output->writeln('<info>Doctor check complete !</info>');
return static::SUCCESS;
}