Skip to content

Missing API stuff

Missing API stuff #797

Triggered via pull request April 24, 2025 20:05
Status Failure
Total duration 2m 8s
Artifacts

phpstan.yml

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

Annotations

10 errors
PHP 8.3: app/Observers/CampaignObserver.php#L195
Empty array passed to foreach.
PHP 8.3: app/Http/Controllers/Search/TemplateController.php#L35
Access to an undefined property App\Http\Controllers\Search\TemplateController::$search.
PHP 8.3: app/Http/Controllers/Gallery/UploadController.php#L54
Parameter #1 $files of method App\Services\Gallery\UploadService::files() expects array, Illuminate\Http\UploadedFile|null given.
PHP 8.3: app/Http/Controllers/EntityCreatorController.php#L125
Undefined variable: $new
PHP 8.3: app/Http/Controllers/EntityCreatorController.php#L125
Undefined variable: $new
PHP 8.3: app/Http/Controllers/EntityCreatorController.php#L124
Variable $new in isset() is never defined.
PHP 8.3: app/Http/Controllers/EntityCreatorController.php#L124
Result of && is always false.
PHP 8.3: app/Http/Controllers/EntityCreatorController.php#L75
Variable $new in isset() is never defined.
PHP 8.3: app/Http/Controllers/EntityCreatorController.php#L75
Result of && is always false.
PHP 8.3: app/Http/Controllers/Entity/InventoryController.php#L86
Argument of an invalid type string supplied for foreach, only iterables are supported.