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:
@@ -11,8 +11,11 @@ use Livewire\Component;
|
||||
class ProjectCompanies extends Component
|
||||
{
|
||||
public Project $project;
|
||||
|
||||
public $allCompanies = [];
|
||||
|
||||
public $selectedCompanyId = '';
|
||||
|
||||
public $selectedRole = 'other';
|
||||
|
||||
public function mount(Project $project)
|
||||
@@ -41,7 +44,7 @@ class ProjectCompanies extends Component
|
||||
|
||||
$this->validate([
|
||||
'selectedCompanyId' => 'required|exists:companies,id',
|
||||
'selectedRole' => 'required|in:' . implode(',', array_keys(ProjectCompaniesTable::ROLES)),
|
||||
'selectedRole' => 'required|in:'.implode(',', array_keys(ProjectCompaniesTable::ROLES)),
|
||||
]);
|
||||
|
||||
$this->project->companies()->attach($this->selectedCompanyId, [
|
||||
|
||||
Reference in New Issue
Block a user