Aplicar Pint e formatação de frontend; delimitar o âmbito do lint
Só formatação automática (pint, vp check --fix), sem alterar comportamento. Excluídos da formatação os registos e artefactos com bytes fixos: docs/, integrations/, storage/, tmp/, output/, resources/data/, tests/Fixtures/, compras-release.json e AGENTS*.md. Scripts operacionais, integrations e auxiliares de teste ficam fora do lint (usam new Function; limpeza na fase 2). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -54,5 +54,5 @@ try {
|
||||
$event = app(WarehouseFulfilment::class)->command($actor, $data['request'], $data['input']);
|
||||
echo json_encode(['result' => 'saved', 'event' => $event->id], JSON_THROW_ON_ERROR);
|
||||
} catch (ValidationException $error) {
|
||||
echo json_encode(['result' => 'rejected'],JSON_THROW_ON_ERROR);
|
||||
echo json_encode(['result' => 'rejected'], JSON_THROW_ON_ERROR);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user