Skip to content

Bulk Relation Creation #347

Bulk Relation Creation

Bulk Relation Creation #347

Triggered via pull request December 6, 2023 18:14
Status Failure
Total duration 1m 46s
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#L59
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/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').
PHP 8.2: app/Services/Entity/RelationService.php#L41
Variable $new might not be defined.
PHP 8.2: app/Services/Users/PurgeService.php#L110
No error to ignore is reported on line 110.
PHP 8.2: app/Services/Users/PurgeService.php#L112
No error to ignore is reported on line 112.
PHP 8.2: app/Services/Users/PurgeService.php#L114
No error to ignore is reported on line 114.
PHP 8.2
Internal error: Internal error: Method newEloquentBuilder() was not found in reflection of class Staudenmeir\LaravelAdjacencyList\Eloquent\Relations\Descendants. while analysing file /home/runner/work/kanka/kanka/app/Models/Location.php Run PHPStan with -v option and post the stack trace to: https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml
PHP 8.2
Child process error (exit code 1):