Commit workspace changes

This commit is contained in:
2026-04-05 19:42:33 +02:00
parent 148a3bbe43
commit 08ad757bcb
312 changed files with 35149 additions and 399 deletions

View File

@@ -0,0 +1,27 @@
<?php
declare(strict_types=1);
namespace App\Http\Requests\Groups;
use Illuminate\Foundation\Http\FormRequest;
class StoreGroupMilestoneRequest extends FormRequest
{
public function authorize(): bool
{
return $this->user() !== null;
}
public function rules(): array
{
return [
'title' => ['required', 'string', 'min:2', 'max:180'],
'summary' => ['nullable', 'string', 'max:320'],
'status' => ['nullable', 'in:' . implode(',', (array) config('groups.milestones.statuses', []))],
'due_date' => ['nullable', 'date'],
'owner_user_id' => ['nullable', 'integer'],
'notes' => ['nullable', 'string', 'max:40000'],
];
}
}