Skip to content

Silly bug fix

Silly bug fix #376

Triggered via pull request January 19, 2024 04:27
Status Failure
Total duration 1m 37s
Artifacts

phpstan.yml

on: pull_request
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

10 errors
PHP 8.3: app/Http/Controllers/Api/v1/CampaignApiController.php#L14
No error to ignore is reported on line 14.
PHP 8.3: app/Http/Controllers/Campaign/ImportController.php#L27
Relation 'user' is not found in App\Models\CampaignImport model.
PHP 8.3: app/Http/Controllers/Campaign/RoleUserController.php#L59
Method App\Http\Controllers\Campaign\RoleUserController::store() should return Illuminate\Http\RedirectResponse but returns Illuminate\Http\JsonResponse.
PHP 8.3: app/Http/Controllers/Settings/SubscriptionController.php#L98
Call to function compact() contains undefined variable $tier.
PHP 8.3: app/Models/Campaign.php#L160
Relation 'user' is not found in App\Models\CampaignRoleUser model.
PHP 8.3: app/Models/Relations/CampaignRelations.php (in context of class App/Models/Campaign)#L216
PHPDoc tag @return with type mixed is not subtype of native type Illuminate\Database\Eloquent\Relations\HasMany.
PHP 8.3: app/Observers/CampaignObserver.php#L238
PHPDoc tag @var for variable $systems contains unknown class App\Observers\GameSystems.