RickDB
Upgrade L9 to L10
Hi,
I upgraded our filament project from laravel 9 to laravel 10, however PHPStan is going crazy now.
Every resource has these kind of errors
Does anyone have an idea?
Line Filament/Resources/SoerOrderResource/Pages/CreateSoerOrder.php
------ -------------------------------------------------------------------
26 Access to an undefined property App\Models\User::$email.
27 Call to an undefined static method App\Models\Soer\Order::find().
------ -------------------------------------------------------------------
------ -----------------------------------------------------------------------
Line Filament/Resources/StockCountPresetResource.php
------ -----------------------------------------------------------------------
47 Call to an undefined static method App\Models\ItemSync\Item::pluck().
53 Call to an undefined static method App\Models\ItemSync\Item::pluck().
61 Call to an undefined static method App\Models\ItemSync\Item::pluck().
Line Filament/Resources/SoerOrderResource/Pages/CreateSoerOrder.php
------ -------------------------------------------------------------------
26 Access to an undefined property App\Models\User::$email.
27 Call to an undefined static method App\Models\Soer\Order::find().
------ -------------------------------------------------------------------
------ -----------------------------------------------------------------------
Line Filament/Resources/StockCountPresetResource.php
------ -----------------------------------------------------------------------
47 Call to an undefined static method App\Models\ItemSync\Item::pluck().
53 Call to an undefined static method App\Models\ItemSync\Item::pluck().
61 Call to an undefined static method App\Models\ItemSync\Item::pluck().
8 replies