Skip to content

Fixed issues with the API and API Tests #507

Fixed issues with the API and API Tests

Fixed issues with the API and API Tests #507

Triggered via pull request May 22, 2024 20:36
Status Failure
Total duration 1m 47s
Artifacts

phpstan.yml

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

Annotations

10 errors and 1 warning
PHP 8.3: app/Http/Controllers/Entity/TooltipController.php#L24
Access to an undefined property Illuminate\Database\Eloquent\Model::$id.
PHP 8.3: app/Http/Controllers/Entity/TooltipController.php#L25
Access to an undefined property Illuminate\Database\Eloquent\Model::$slug.
PHP 8.3: app/Models/EntityEvent.php#L90
Method App\Models\EntityEvent::entity() should return Illuminate\Database\Eloquent\Relations\HasOne but returns Illuminate\Database\Eloquent\Relations\BelongsTo<App\Models\Entity, App\Models\EntityEvent>.
PHP 8.3: app/Models/MiscModel.php#L538
Access to an undefined property Illuminate\Database\Eloquent\Model::$id.
PHP 8.3: app/Models/MiscModel.php#L539
Access to an undefined property Illuminate\Database\Eloquent\Model::$slug.
PHP 8.3: app/Models/MiscModel.php#L541
Access to an undefined property Illuminate\Database\Eloquent\Model::$tag_id.
PHP 8.3: app/Services/Abilities/AbilityService.php#L111
Access to an undefined property Illuminate\Database\Eloquent\Model::$id.
PHP 8.3: app/Services/Abilities/AbilityService.php#L112
Access to an undefined property Illuminate\Database\Eloquent\Model::$slug.
PHP 8.3: app/Services/Abilities/AbilityService.php#L114
Access to an undefined property Illuminate\Database\Eloquent\Model::$tag_id.
PHP 8.3: app/Services/Entity/LoggerService.php#L108
Property App\Models\EntityLog::$changes (array|string) does not accept null.
PHP 8.3
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.