Aplicar Pint aos 18 ficheiros que falhavam lint:check
Só formatação. 16 já falhavam em fase5-producao; 2 vêm de c9bd6db.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -32,7 +32,7 @@ $fingerprints = function () use ($db) {
|
||||
$hashes[$t->tablename] = hash('sha256', json_encode(array_column($rows, 'data'), JSON_THROW_ON_ERROR));
|
||||
}
|
||||
|
||||
return $hashes;
|
||||
return $hashes;
|
||||
});
|
||||
};
|
||||
$action = $argv[1] ?? '';
|
||||
@@ -97,11 +97,11 @@ if ($action === 'prepare') {
|
||||
} elseif (in_array($action, ['apply', 'reapply'], true)) {
|
||||
$plan = $deploy->plan($candidate['directory'], $candidate['archive']['manifest_sha256']);
|
||||
$result = $deploy->apply($candidate['directory'], $candidate['archive']['manifest_sha256'], $plan['target_sha256'], 'Authorised read-only visibility correction 8039', true);
|
||||
file_put_contents($recovery.'/'.($action === 'apply' ? 'applied' : 'reapplied').'.json',json_encode($result,JSON_PRETTY_PRINT));
|
||||
file_put_contents($recovery.'/'.($action === 'apply' ? 'applied' : 'reapplied').'.json', json_encode($result, JSON_PRETTY_PRINT));
|
||||
} else {
|
||||
throw new RuntimeException('Use prepare/apply/rollback/reapply/verify');
|
||||
}
|
||||
unlink($host.'/storage/framework/down');
|
||||
echo json_encode($result,JSON_PRETTY_PRINT);
|
||||
echo json_encode($result, JSON_PRETTY_PRINT);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user