From e167cf5a3605da912f11ce028335f87a8a78597f Mon Sep 17 00:00:00 2001 From: John Wesely Date: Fri, 10 May 2024 08:25:46 -0600 Subject: [PATCH 1/8] update resource labels --- src/Filament/Resources/FilamentFormResource.php | 8 +++++++- .../FilamentFormResource/Pages/ListFilamentForms.php | 3 ++- src/Livewire/FilamentForm/Show.php | 3 ++- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/src/Filament/Resources/FilamentFormResource.php b/src/Filament/Resources/FilamentFormResource.php index d61a8f2..0941a7f 100644 --- a/src/Filament/Resources/FilamentFormResource.php +++ b/src/Filament/Resources/FilamentFormResource.php @@ -20,6 +20,11 @@ class FilamentFormResource extends Resource protected static ?int $navigationSort = 99; + public static function getBreadcrumb(): string + { + return config('filament-form-builder.admin-panel-resource-name-plural'); + } + public static function getNavigationGroup(): ?string { return config('filament-form-builder.admin-panel-group-name'); @@ -77,7 +82,8 @@ public static function table(Table $table): Table Tables\Actions\BulkActionGroup::make([ Tables\Actions\DeleteBulkAction::make(), ]), - ]); + ]) + ->emptyStateHeading('No '.config('filament-form-builder.admin-panel-resource-name-plural')); } public static function getRelations(): array diff --git a/src/Filament/Resources/FilamentFormResource/Pages/ListFilamentForms.php b/src/Filament/Resources/FilamentFormResource/Pages/ListFilamentForms.php index e293410..725e9a7 100644 --- a/src/Filament/Resources/FilamentFormResource/Pages/ListFilamentForms.php +++ b/src/Filament/Resources/FilamentFormResource/Pages/ListFilamentForms.php @@ -18,7 +18,8 @@ public function getTitle(): string protected function getHeaderActions(): array { return [ - Actions\CreateAction::make(), + Actions\CreateAction::make() + ->label('Create '.config('filament-form-builder.admin-panel-resource-name')), ]; } } diff --git a/src/Livewire/FilamentForm/Show.php b/src/Livewire/FilamentForm/Show.php index 3eb8ea4..159fd64 100644 --- a/src/Livewire/FilamentForm/Show.php +++ b/src/Livewire/FilamentForm/Show.php @@ -102,7 +102,8 @@ public function create() ], ); - return redirect(route(config('filament-form-builder.filament-form-user-show-route'), $entryModel)); + return redirect() + ->route(config('filament-form-builder.filament-form-user-show-route'), $entryModel); } public function parseValue(FilamentFormField $field, ?string $value): string From 9eb6e034fad374fb76b81003fb52d27cc6f34225 Mon Sep 17 00:00:00 2001 From: John Wesely Date: Fri, 10 May 2024 12:50:11 -0600 Subject: [PATCH 2/8] guest entries and user editable redirect urls --- UPGRADE.md | 20 +++++++++ ...eate_dynamic_filament_form_tables.php.stub | 2 +- src/Exports/FilamentFormUsersExport.php | 2 +- .../Resources/FilamentFormResource.php | 15 ++++--- .../FilamentFormUsersRelationManager.php | 2 +- src/Livewire/FilamentForm/Show.php | 44 +++++++++++++------ 6 files changed, 64 insertions(+), 21 deletions(-) create mode 100644 UPGRADE.md diff --git a/UPGRADE.md b/UPGRADE.md new file mode 100644 index 0000000..fa85bed --- /dev/null +++ b/UPGRADE.md @@ -0,0 +1,20 @@ +# Upgrade Guide +## Upgrading to to 1.1 from 1.0 +### Allow Guest Entries by Making User Nullable on FilamentFormUser +1.1 supports nullable user ids so that guest data can be collected by forms. If you are upgrading from 1.0 to 1.1, create a migration with the following methods to reflect this change. +``` + Schema::table('filament_form_user', function (Blueprint $table) { + $table->foreignId('user_id')->nullable()->change(); + }); + + Schema::table('filament_forms', function (Blueprint $table) { + $table->boolean('permit_guest_entries')->default(false); + }); +``` +### Support user configurable redirect URL +1.1 supports user configurable redirect URLs. When a redirect URL is present on the form model, the user will be redirected there instead of the redirect URL specified in the config. If you are upgrading from 1.0 to 1.1, create a migration with the following method to reflect this change. +``` + Schema::table('filament_forms', function (Blueprint $table) { + $table->text('redirect_url')->nullable(); + }); +``` diff --git a/database/migrations/create_dynamic_filament_form_tables.php.stub b/database/migrations/create_dynamic_filament_form_tables.php.stub index 21a4bdb..5e7b035 100644 --- a/database/migrations/create_dynamic_filament_form_tables.php.stub +++ b/database/migrations/create_dynamic_filament_form_tables.php.stub @@ -35,7 +35,7 @@ return new class extends Migration $table->id(); $table->timestamps(); $table->foreignId('filament_form_id')->constrained()->cascadeOnDelete(); - $table->foreignId('user_id')->constrained()->cascadeOnDelete(); + $table->foreignId('user_id')->nullable()->constrained()->cascadeOnDelete(); $table->json('entry'); }); } diff --git a/src/Exports/FilamentFormUsersExport.php b/src/Exports/FilamentFormUsersExport.php index a62bb2e..6b3557c 100644 --- a/src/Exports/FilamentFormUsersExport.php +++ b/src/Exports/FilamentFormUsersExport.php @@ -31,7 +31,7 @@ public function collection() public function map($entry): array { $mapping = [ - $entry->user->name, + $entry->user->name ?? 'Guest', $entry->created_at, $entry->updated_at, ]; diff --git a/src/Filament/Resources/FilamentFormResource.php b/src/Filament/Resources/FilamentFormResource.php index 0941a7f..854b509 100644 --- a/src/Filament/Resources/FilamentFormResource.php +++ b/src/Filament/Resources/FilamentFormResource.php @@ -3,16 +3,17 @@ namespace Tapp\FilamentFormBuilder\Filament\Resources; use Filament\Forms; -use Filament\Forms\Form; -use Filament\Resources\Resource; use Filament\Tables; +use Filament\Forms\Form; use Filament\Tables\Table; -use Tapp\FilamentFormBuilder\Filament\Resources\FilamentFormResource\Pages\CreateFilamentForm; +use Filament\Resources\Resource; +use Filament\Forms\Components\Toggle; +use Tapp\FilamentFormBuilder\Models\FilamentForm; use Tapp\FilamentFormBuilder\Filament\Resources\FilamentFormResource\Pages\EditFilamentForm; use Tapp\FilamentFormBuilder\Filament\Resources\FilamentFormResource\Pages\ListFilamentForms; -use Tapp\FilamentFormBuilder\Filament\Resources\FilamentFormResource\RelationManagers\FilamentFormFieldsRelationManager; +use Tapp\FilamentFormBuilder\Filament\Resources\FilamentFormResource\Pages\CreateFilamentForm; use Tapp\FilamentFormBuilder\Filament\Resources\FilamentFormResource\RelationManagers\FilamentFormUsersRelationManager; -use Tapp\FilamentFormBuilder\Models\FilamentForm; +use Tapp\FilamentFormBuilder\Filament\Resources\FilamentFormResource\RelationManagers\FilamentFormFieldsRelationManager; class FilamentFormResource extends Resource { @@ -52,6 +53,10 @@ public static function form(Form $form): Form Forms\Components\TextInput::make('name') ->required() ->maxLength(255), + Toggle::make('permit_guest_entries') + ->hint('Permit non registered users to submit this form'), + Forms\Components\TextInput::make('redirect_url') + ->hint('(optional) complete this field to provide a custom redirect url on form completion. Use a fully qualified URL including "https://" to redirect to an external link, otherwise url will be relative to this sites domain'), Forms\Components\Textarea::make('description') ->columnSpanFull(), ]); diff --git a/src/Filament/Resources/FilamentFormResource/RelationManagers/FilamentFormUsersRelationManager.php b/src/Filament/Resources/FilamentFormResource/RelationManagers/FilamentFormUsersRelationManager.php index 5e575ed..18c273a 100644 --- a/src/Filament/Resources/FilamentFormResource/RelationManagers/FilamentFormUsersRelationManager.php +++ b/src/Filament/Resources/FilamentFormResource/RelationManagers/FilamentFormUsersRelationManager.php @@ -66,7 +66,7 @@ public function table(Table $table): Table BulkAction::make('Export Selected') ->action(fn (Collection $records) => Excel::download( new FilamentFormUsersExport($records), - $this->getOwnerRecord()->name.'_form_entry_export'.now()->format('Y-m-dhis').'.csv') + urlencode($this->getOwnerRecord()->name).'_form_entry_export'.now()->format('Y-m-dhis').'.csv') ) ->icon('heroicon-o-document-chart-bar') ->deselectRecordsAfterCompletion(), diff --git a/src/Livewire/FilamentForm/Show.php b/src/Livewire/FilamentForm/Show.php index 159fd64..bbf2795 100644 --- a/src/Livewire/FilamentForm/Show.php +++ b/src/Livewire/FilamentForm/Show.php @@ -19,9 +19,13 @@ class Show extends Component implements HasForms public ?array $data = []; - public function mount(FilamentForm $form): void + public function mount(FilamentForm $form) { $this->filamentForm = $form->load('filamentFormFields'); + + if (!$this->filamentForm->permit_guest_entries && !auth()->check()) { + return redirect('/', 401); + } } public function form(Form $form): Form @@ -92,18 +96,32 @@ public function create() ]); } - $entryModel = FilamentFormUser::updateOrCreate( - [ - 'user_id' => auth()->user()->id, - 'filament_form_id' => $this->filamentForm->id, - ], - [ - 'entry' => $entry, - ], - ); - - return redirect() - ->route(config('filament-form-builder.filament-form-user-show-route'), $entryModel); + if (auth()->check()) { + $entryModel = FilamentFormUser::updateOrCreate( + [ + 'user_id' => auth()->user()->id ?? null, + 'filament_form_id' => $this->filamentForm->id, + ], + [ + 'entry' => $entry, + ], + ); + } else { + $entryModel = FilamentFormUser::create( + [ + 'filament_form_id' => $this->filamentForm->id, + 'entry' => $entry, + ], + ); + } + + if ($this->filamentForm->redirect_url) { + return redirect($this->filamentForm->redirect_url); + } else { + return redirect() + ->route(config('filament-form-builder.filament-form-user-show-route'), $entryModel); + } + } public function parseValue(FilamentFormField $field, ?string $value): string From 454827da6df7acdc4ee44ff1cf959db3de63454f Mon Sep 17 00:00:00 2001 From: johnwesely Date: Fri, 10 May 2024 18:50:44 +0000 Subject: [PATCH 3/8] Fix styling --- src/Filament/Resources/FilamentFormResource.php | 12 ++++++------ src/Livewire/FilamentForm/Show.php | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/Filament/Resources/FilamentFormResource.php b/src/Filament/Resources/FilamentFormResource.php index 854b509..483f2d6 100644 --- a/src/Filament/Resources/FilamentFormResource.php +++ b/src/Filament/Resources/FilamentFormResource.php @@ -3,17 +3,17 @@ namespace Tapp\FilamentFormBuilder\Filament\Resources; use Filament\Forms; -use Filament\Tables; +use Filament\Forms\Components\Toggle; use Filament\Forms\Form; -use Filament\Tables\Table; use Filament\Resources\Resource; -use Filament\Forms\Components\Toggle; -use Tapp\FilamentFormBuilder\Models\FilamentForm; +use Filament\Tables; +use Filament\Tables\Table; +use Tapp\FilamentFormBuilder\Filament\Resources\FilamentFormResource\Pages\CreateFilamentForm; use Tapp\FilamentFormBuilder\Filament\Resources\FilamentFormResource\Pages\EditFilamentForm; use Tapp\FilamentFormBuilder\Filament\Resources\FilamentFormResource\Pages\ListFilamentForms; -use Tapp\FilamentFormBuilder\Filament\Resources\FilamentFormResource\Pages\CreateFilamentForm; -use Tapp\FilamentFormBuilder\Filament\Resources\FilamentFormResource\RelationManagers\FilamentFormUsersRelationManager; use Tapp\FilamentFormBuilder\Filament\Resources\FilamentFormResource\RelationManagers\FilamentFormFieldsRelationManager; +use Tapp\FilamentFormBuilder\Filament\Resources\FilamentFormResource\RelationManagers\FilamentFormUsersRelationManager; +use Tapp\FilamentFormBuilder\Models\FilamentForm; class FilamentFormResource extends Resource { diff --git a/src/Livewire/FilamentForm/Show.php b/src/Livewire/FilamentForm/Show.php index bbf2795..286a539 100644 --- a/src/Livewire/FilamentForm/Show.php +++ b/src/Livewire/FilamentForm/Show.php @@ -23,7 +23,7 @@ public function mount(FilamentForm $form) { $this->filamentForm = $form->load('filamentFormFields'); - if (!$this->filamentForm->permit_guest_entries && !auth()->check()) { + if (! $this->filamentForm->permit_guest_entries && ! auth()->check()) { return redirect('/', 401); } } From 5509ac516fa24c80a21dfafd9328ac5fef8e7728 Mon Sep 17 00:00:00 2001 From: John Wesely Date: Mon, 13 May 2024 09:37:49 -0600 Subject: [PATCH 4/8] add copyable form link --- config/filament-form-builder.php | 2 ++ src/Filament/Resources/FilamentFormResource.php | 12 ++++++++++++ .../Pages/ListFilamentForms.php | 2 +- .../FilamentFormUsersRelationManager.php | 17 +++++++++++------ src/Models/FilamentForm.php | 5 +++++ 5 files changed, 31 insertions(+), 7 deletions(-) diff --git a/config/filament-form-builder.php b/config/filament-form-builder.php index eccf878..e2089b3 100644 --- a/config/filament-form-builder.php +++ b/config/filament-form-builder.php @@ -5,6 +5,8 @@ return [ 'filament-form-user-show-route' => 'filament-form-users.show', + 'filament-form-show-route' => 'filament-form-builder.show', + 'resources' => [ 'FilamentFormResource' => FilamentFormResource::class, ], diff --git a/src/Filament/Resources/FilamentFormResource.php b/src/Filament/Resources/FilamentFormResource.php index 854b509..0d1d357 100644 --- a/src/Filament/Resources/FilamentFormResource.php +++ b/src/Filament/Resources/FilamentFormResource.php @@ -8,6 +8,7 @@ use Filament\Tables\Table; use Filament\Resources\Resource; use Filament\Forms\Components\Toggle; +use Filament\Tables\Columns\IconColumn; use Tapp\FilamentFormBuilder\Models\FilamentForm; use Tapp\FilamentFormBuilder\Filament\Resources\FilamentFormResource\Pages\EditFilamentForm; use Tapp\FilamentFormBuilder\Filament\Resources\FilamentFormResource\Pages\ListFilamentForms; @@ -75,7 +76,18 @@ public static function table(Table $table): Table ->sortable() ->toggleable(isToggledHiddenByDefault: true), Tables\Columns\TextColumn::make('name') + ->sortable() ->searchable(), + Tables\Columns\TextColumn::make('form_link') + ->copyable() + ->copyMessage('Form link copied to clipboard') + ->copyMessageDuration(1500), + IconColumn::make('permit_guest_entries') + ->sortable() + ->getStateUsing(function ($record) { + return (bool) $record->permit_guest_entries; + }) + ->boolean(), ]) ->filters([ // diff --git a/src/Filament/Resources/FilamentFormResource/Pages/ListFilamentForms.php b/src/Filament/Resources/FilamentFormResource/Pages/ListFilamentForms.php index 725e9a7..3a52eed 100644 --- a/src/Filament/Resources/FilamentFormResource/Pages/ListFilamentForms.php +++ b/src/Filament/Resources/FilamentFormResource/Pages/ListFilamentForms.php @@ -12,7 +12,7 @@ class ListFilamentForms extends ListRecords public function getTitle(): string { - return config('filament-form-builder.admin-panel-resource-name'); + return config('filament-form-builder.admin-panel-resource-name-plural'); } protected function getHeaderActions(): array diff --git a/src/Filament/Resources/FilamentFormResource/RelationManagers/FilamentFormUsersRelationManager.php b/src/Filament/Resources/FilamentFormResource/RelationManagers/FilamentFormUsersRelationManager.php index 18c273a..3023329 100644 --- a/src/Filament/Resources/FilamentFormResource/RelationManagers/FilamentFormUsersRelationManager.php +++ b/src/Filament/Resources/FilamentFormResource/RelationManagers/FilamentFormUsersRelationManager.php @@ -3,14 +3,16 @@ namespace Tapp\FilamentFormBuilder\Filament\Resources\FilamentFormResource\RelationManagers; use Filament\Forms; -use Filament\Forms\Form; -use Filament\Resources\RelationManagers\RelationManager; use Filament\Tables; -use Filament\Tables\Actions\BulkAction; +use Filament\Forms\Form; use Filament\Tables\Table; -use Illuminate\Database\Eloquent\Collection; -use Illuminate\Database\Eloquent\Model; +use Filament\Tables\Filters\Filter; use Maatwebsite\Excel\Facades\Excel; +use Filament\Tables\Actions\BulkAction; +use Illuminate\Database\Eloquent\Model; +use Illuminate\Database\Eloquent\Builder; +use Illuminate\Database\Eloquent\Collection; +use Filament\Resources\RelationManagers\RelationManager; use Tapp\FilamentFormBuilder\Exports\FilamentFormUsersExport; class FilamentFormUsersRelationManager extends RelationManager @@ -53,7 +55,10 @@ public function table(Table $table): Table ]) ->recordUrl(fn ($record) => route(config('filament-form-builder.filament-form-user-show-route'), $record)) ->filters([ - // + Filter::make('guest_entries') + ->query(fn (Builder $query): Builder => $query->whereNull('user_id')), + Filter::make('user_entries') + ->query(fn (Builder $query): Builder => $query->whereNotNull('user_id')) ]) ->headerActions([ ]) diff --git a/src/Models/FilamentForm.php b/src/Models/FilamentForm.php index edf107b..92b1cdb 100644 --- a/src/Models/FilamentForm.php +++ b/src/Models/FilamentForm.php @@ -29,4 +29,9 @@ public function filamentFormUsers(): HasMany { return $this->hasMany(FilamentFormUser::class); } + + public function getFormLinkAttribute(): string + { + return route(config('filament-form-builder.filament-form-show-route'), $this->id); + } } From ad50e87689fabfa2fef3fdc3f9e3d662b65c65cc Mon Sep 17 00:00:00 2001 From: johnwesely Date: Mon, 13 May 2024 15:40:58 +0000 Subject: [PATCH 5/8] Fix styling --- src/Filament/Resources/FilamentFormResource.php | 14 +++++++------- .../FilamentFormUsersRelationManager.php | 14 +++++++------- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/src/Filament/Resources/FilamentFormResource.php b/src/Filament/Resources/FilamentFormResource.php index 3ac4ef6..ada7bce 100644 --- a/src/Filament/Resources/FilamentFormResource.php +++ b/src/Filament/Resources/FilamentFormResource.php @@ -3,21 +3,21 @@ namespace Tapp\FilamentFormBuilder\Filament\Resources; use Filament\Forms; +use Filament\Forms\Components\Toggle; use Filament\Forms\Form; -use Filament\Tables\Table; use Filament\Resources\Resource; -use Filament\Forms\Components\Toggle; +use Filament\Tables\Actions\BulkActionGroup; +use Filament\Tables\Actions\DeleteBulkAction; use Filament\Tables\Actions\EditAction; use Filament\Tables\Columns\IconColumn; use Filament\Tables\Columns\TextColumn; -use Filament\Tables\Actions\BulkActionGroup; -use Filament\Tables\Actions\DeleteBulkAction; -use Tapp\FilamentFormBuilder\Models\FilamentForm; +use Filament\Tables\Table; +use Tapp\FilamentFormBuilder\Filament\Resources\FilamentFormResource\Pages\CreateFilamentForm; use Tapp\FilamentFormBuilder\Filament\Resources\FilamentFormResource\Pages\EditFilamentForm; use Tapp\FilamentFormBuilder\Filament\Resources\FilamentFormResource\Pages\ListFilamentForms; -use Tapp\FilamentFormBuilder\Filament\Resources\FilamentFormResource\Pages\CreateFilamentForm; -use Tapp\FilamentFormBuilder\Filament\Resources\FilamentFormResource\RelationManagers\FilamentFormUsersRelationManager; use Tapp\FilamentFormBuilder\Filament\Resources\FilamentFormResource\RelationManagers\FilamentFormFieldsRelationManager; +use Tapp\FilamentFormBuilder\Filament\Resources\FilamentFormResource\RelationManagers\FilamentFormUsersRelationManager; +use Tapp\FilamentFormBuilder\Models\FilamentForm; class FilamentFormResource extends Resource { diff --git a/src/Filament/Resources/FilamentFormResource/RelationManagers/FilamentFormUsersRelationManager.php b/src/Filament/Resources/FilamentFormResource/RelationManagers/FilamentFormUsersRelationManager.php index 3023329..b83d4ce 100644 --- a/src/Filament/Resources/FilamentFormResource/RelationManagers/FilamentFormUsersRelationManager.php +++ b/src/Filament/Resources/FilamentFormResource/RelationManagers/FilamentFormUsersRelationManager.php @@ -3,16 +3,16 @@ namespace Tapp\FilamentFormBuilder\Filament\Resources\FilamentFormResource\RelationManagers; use Filament\Forms; -use Filament\Tables; use Filament\Forms\Form; -use Filament\Tables\Table; -use Filament\Tables\Filters\Filter; -use Maatwebsite\Excel\Facades\Excel; +use Filament\Resources\RelationManagers\RelationManager; +use Filament\Tables; use Filament\Tables\Actions\BulkAction; -use Illuminate\Database\Eloquent\Model; +use Filament\Tables\Filters\Filter; +use Filament\Tables\Table; use Illuminate\Database\Eloquent\Builder; use Illuminate\Database\Eloquent\Collection; -use Filament\Resources\RelationManagers\RelationManager; +use Illuminate\Database\Eloquent\Model; +use Maatwebsite\Excel\Facades\Excel; use Tapp\FilamentFormBuilder\Exports\FilamentFormUsersExport; class FilamentFormUsersRelationManager extends RelationManager @@ -58,7 +58,7 @@ public function table(Table $table): Table Filter::make('guest_entries') ->query(fn (Builder $query): Builder => $query->whereNull('user_id')), Filter::make('user_entries') - ->query(fn (Builder $query): Builder => $query->whereNotNull('user_id')) + ->query(fn (Builder $query): Builder => $query->whereNotNull('user_id')), ]) ->headerActions([ ]) From f9ce83943329786f7f58c576087f2d715cfaba4c Mon Sep 17 00:00:00 2001 From: John Wesely Date: Mon, 13 May 2024 09:42:27 -0600 Subject: [PATCH 6/8] update CI PHP version --- .github/workflows/phpstan.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/phpstan.yml b/.github/workflows/phpstan.yml index f495e76..d5db2f1 100644 --- a/.github/workflows/phpstan.yml +++ b/.github/workflows/phpstan.yml @@ -18,7 +18,7 @@ jobs: - name: Setup PHP uses: shivammathur/setup-php@v2 with: - php-version: '8.1' + php-version: '8.2' coverage: none - name: Install composer dependencies From 7b14679544dfc82ad9e28181f2ac9afdca930555 Mon Sep 17 00:00:00 2001 From: John Wesely Date: Wed, 5 Jun 2024 12:07:05 -0600 Subject: [PATCH 7/8] emit form entry on create --- src/Livewire/FilamentForm/Show.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Livewire/FilamentForm/Show.php b/src/Livewire/FilamentForm/Show.php index 286a539..bf654b9 100644 --- a/src/Livewire/FilamentForm/Show.php +++ b/src/Livewire/FilamentForm/Show.php @@ -115,6 +115,8 @@ public function create() ); } + $this->emit('entrySaved', $entryModel); + if ($this->filamentForm->redirect_url) { return redirect($this->filamentForm->redirect_url); } else { From bbd1acfe0f0f2dc2a4f6a17a1b1294a870fcc271 Mon Sep 17 00:00:00 2001 From: John Wesely Date: Wed, 5 Jun 2024 12:14:33 -0600 Subject: [PATCH 8/8] update phpstan.neon --- phpstan.neon.dist | 1 - 1 file changed, 1 deletion(-) diff --git a/phpstan.neon.dist b/phpstan.neon.dist index 489fa4e..de458d6 100644 --- a/phpstan.neon.dist +++ b/phpstan.neon.dist @@ -10,5 +10,4 @@ parameters: tmpDir: build/phpstan checkOctaneCompatibility: true checkModelProperties: true - checkMissingIterableValueType: false