Skip to content

Bulk Relation Creation #346

Bulk Relation Creation

Bulk Relation Creation #346

Triggered via pull request December 5, 2023 22:23
Status Failure
Total duration 1m 38s
Artifacts

phpstan.yml

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

Annotations

10 errors
PHP 8.2: app/Http/Controllers/Api/v1/EntityRelationApiController.php#L63
Method App\Http\Controllers\Api\v1\EntityRelationApiController::store() should return App\Http\Resources\RelationResource but returns Illuminate\Http\Resources\Json\AnonymousResourceCollection.
PHP 8.2: app/Http/Controllers/RelationController.php#L108
Variable $new might not be defined.
PHP 8.2: app/Http/Controllers/RelationController.php#L109
Variable $new might not be defined.
PHP 8.2: app/Http/Controllers/RelationController.php#L119
Variable $new might not be defined.
PHP 8.2: app/Http/Controllers/RelationController.php#L122
Variable $new might not be defined.
PHP 8.2: app/Http/Controllers/RelationController.php#L125
Variable $new might not be defined.
PHP 8.2: app/Http/Controllers/RelationController.php#L128
Variable $new might not be defined.
PHP 8.2: app/Http/Controllers/Tags/ChildController.php#L78
Method App\Http\Controllers\Tags\ChildController::store() should return Illuminate\Http\RedirectResponse but returns Illuminate\Http\JsonResponse.
PHP 8.2: app/Http/Requests/StoreRelation.php#L31
Array has 2 duplicate keys with value 'targets' ('targets', 'targets').
PHP 8.2: app/Http/Requests/StoreTagEntity.php#L28
Array has 2 duplicate keys with value 'entities' ('entities', 'entities').