chore: cleanup dead code + format with Pint
- Remove unused FeaturesController (empty stubs, no routes) - Remove ConvertSpatialFile CLI command (unused; service used in LayerManager) - Remove MigrateGeojsonToFeatures CLI command (one-shot migration, not referenced) - Remove .claude/worktrees/ (11 old agent worktrees from June) - Apply Laravel Pint formatting across 219 files (style only, no functional changes) Tests: 101 passing (319 assertions) API routes: unchanged (8 routes intact)
This commit is contained in:
@@ -20,18 +20,18 @@ class IssueStatusChangedNotification extends Notification
|
||||
public function toArray($notifiable): array
|
||||
{
|
||||
$label = [
|
||||
'open' => 'reabierta',
|
||||
'open' => 'reabierta',
|
||||
'in_review' => 'enviada a revisión',
|
||||
'resolved' => 'resuelta',
|
||||
'closed' => 'cerrada',
|
||||
'resolved' => 'resuelta',
|
||||
'closed' => 'cerrada',
|
||||
][$this->status] ?? $this->status;
|
||||
|
||||
return [
|
||||
'type' => 'issue_status_changed',
|
||||
'issue_id' => $this->issue->id,
|
||||
'type' => 'issue_status_changed',
|
||||
'issue_id' => $this->issue->id,
|
||||
'project_id' => $this->issue->project_id,
|
||||
'status' => $this->status,
|
||||
'message' => "La incidencia '{$this->issue->title}' ha sido {$label}",
|
||||
'status' => $this->status,
|
||||
'message' => "La incidencia '{$this->issue->title}' ha sido {$label}",
|
||||
];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user