Replace emoji/Unicode characters with ASCII in migration commands
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -12,19 +12,19 @@ class Migrate_Check_Command extends Command
|
||||
|
||||
public function handle()
|
||||
{
|
||||
$this->info('🔍 Checking database schema standards...');
|
||||
$this->info(' Checking database schema standards...');
|
||||
$this->info('');
|
||||
|
||||
$checker = new SchemaQualityChecker();
|
||||
$violations = $checker->check();
|
||||
|
||||
if (!$checker->has_violations()) {
|
||||
$this->info('✅ Database schema passes all standards checks!');
|
||||
$this->info('[OK] Database schema passes all standards checks!');
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Display violations
|
||||
$this->error('❌ Found ' . $checker->get_violation_count() . ' schema violation(s):');
|
||||
$this->error('[ERROR] Found ' . $checker->get_violation_count() . ' schema violation(s):');
|
||||
$this->info('');
|
||||
|
||||
$grouped = $checker->get_violations_by_severity();
|
||||
@@ -40,7 +40,7 @@ class Migrate_Check_Command extends Command
|
||||
}
|
||||
|
||||
$this->info('');
|
||||
$this->warn('⚠️ Fix these violations before committing migrations.');
|
||||
$this->warn('[WARNING] Fix these violations before committing migrations.');
|
||||
|
||||
// Return non-zero exit code if violations found
|
||||
return 1;
|
||||
|
||||
Reference in New Issue
Block a user