chore: lots of changes #15
Annotations
13 errors
UndefinedConstant:
app/Console/Commands/SetupDummyAccount.php#L119
app/Console/Commands/SetupDummyAccount.php:119:34: UndefinedConstant: Constant App\Models\User::ROLE_ACCOUNT_MANAGER is not defined (see https://psalm.dev/020)
|
UndefinedClass:
app/Http/Controllers/FavoriteController.php#L12
app/Http/Controllers/FavoriteController.php:12:28: UndefinedClass: Class, interface or enum named Request does not exist (see https://psalm.dev/019)
|
psalm
Process completed with exit code 2.
|
phpstan:
app/Console/Commands/SetupDummyAccount.php#L102
Unknown parameter $firstName in call to App\Services\CreateAccount constructor.
|
phpstan:
app/Console/Commands/SetupDummyAccount.php#L103
Unknown parameter $lastName in call to App\Services\CreateAccount constructor.
|
phpstan:
app/Console/Commands/SetupDummyAccount.php#L104
Unknown parameter $organizationName in call to App\Services\CreateAccount constructor.
|
phpstan:
app/Console/Commands/SetupDummyAccount.php#L119
Access to undefined constant App\Models\User::ROLE_ACCOUNT_MANAGER.
|
phpstan:
app/Console/Commands/SetupDummyAccount.php#L122
Access to an undefined property App\Models\User::$organization_id.
|
phpstan:
app/Http/Controllers/FavoriteController.php#L12
Method App\Http\Controllers\FavoriteController::update() has no return type specified.
|
phpstan:
app/Http/Controllers/FavoriteController.php#L15
Access to an undefined property Illuminate\Support\Facades\Request::$attributes.
|
phpstan:
app/Http/Controllers/SearchController.php#L35
Unreachable statement - code above always terminates.
|
phpstan:
app/Http/Middleware/Locale.php#L26
Access to an undefined property App\Models\User::$locale.
|
phpstan:
app/Http/ViewModels/Search/SearchViewModel.php#L12
Method Laravel\Scout\Builder::where() invoked with 3 parameters, 2 required.
|