From b6aaf6b2e1f160d94a47932cb5f5ecf69e87c70d Mon Sep 17 00:00:00 2001 From: philipp lang Date: Thu, 4 Jul 2024 23:56:47 +0200 Subject: [PATCH] Add todos --- app/Form/Models/Form.php | 1 + app/Lib/Editor/EditorData.php | 1 + app/View/Mail/Editor.php | 1 + tests/Feature/Member/PreventionTest.php | 1 - 4 files changed, 3 insertions(+), 1 deletion(-) diff --git a/app/Form/Models/Form.php b/app/Form/Models/Form.php index 99245f00..554eb063 100644 --- a/app/Form/Models/Form.php +++ b/app/Form/Models/Form.php @@ -16,6 +16,7 @@ use Spatie\MediaLibrary\InteractsWithMedia; use Spatie\MediaLibrary\MediaCollections\Models\Media; use Zoomyboy\MedialibraryHelper\DefersUploads; +/** @todo replace editor content with EditorData cast */ class Form extends Model implements HasMedia { use HasFactory; diff --git a/app/Lib/Editor/EditorData.php b/app/Lib/Editor/EditorData.php index 87f7f4a2..ba2c4378 100644 --- a/app/Lib/Editor/EditorData.php +++ b/app/Lib/Editor/EditorData.php @@ -4,6 +4,7 @@ namespace App\Lib\Editor; use Spatie\LaravelData\Data; +/** @todo replace blocks with actual block data classes */ class EditorData extends Data { diff --git a/app/View/Mail/Editor.php b/app/View/Mail/Editor.php index 987a300c..b60e0018 100644 --- a/app/View/Mail/Editor.php +++ b/app/View/Mail/Editor.php @@ -4,6 +4,7 @@ namespace App\View\Mail; use Illuminate\View\Component; +/** @todo replace content with EditorData */ class Editor extends Component { /** diff --git a/tests/Feature/Member/PreventionTest.php b/tests/Feature/Member/PreventionTest.php index 85eb3bbc..93f351ff 100644 --- a/tests/Feature/Member/PreventionTest.php +++ b/tests/Feature/Member/PreventionTest.php @@ -13,7 +13,6 @@ use App\Prevention\Mails\PreventionRememberMail; use App\Member\Member; use App\Member\Membership; use App\Prevention\PreventionSettings; -use BillSettings; use Generator; use Illuminate\Foundation\Testing\DatabaseTransactions; use Illuminate\Support\Facades\Mail;