Skip to content

Fixed map marker bulk edit #705

Fixed map marker bulk edit

Fixed map marker bulk edit #705

Triggered via pull request January 16, 2025 18:41
Status Failure
Total duration 2m 12s
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/Api/v1/EntityApiController.php#L79
Parameter #1 $class of method App\Services\Api\BulkEntityCreatorService::class() expects App\Models\MiscModel, Illuminate\Database\Eloquent\Model given.
PHP 8.3: app/Http/Controllers/BulkController.php#L42
Unreachable statement - code above always terminates.
PHP 8.3: app/Http/Controllers/Maps/MarkerController.php#L78
Parameter #1 $source of static method App\Services\FormCopyService::source() expects App\Models\Entity|null, App\Models\MapMarker|Illuminate\Database\Eloquent\Collection<int, App\Models\MapMarker> given.
PHP 8.3: app/Models/CampaignDashboardWidget.php#L300
Using nullsafe property access on non-nullable type App\Models\EntityType. Use -> instead.
PHP 8.3: app/Models/CampaignDashboardWidget.php#L349
Using nullsafe property access on non-nullable type App\Models\EntityType. Use -> instead.
PHP 8.3: app/Services/Entity/TransformService.php#L56
Property App\Services\Entity\TransformService::$new (App\Models\Entity|App\Models\MiscModel) does not accept Illuminate\Database\Eloquent\Model.
PHP 8.3: app/Services/Entity/TransformService.php#L65
Access to an undefined property Illuminate\Database\Eloquent\Model::$campaign_id.
PHP 8.3: app/Services/Entity/TransformService.php#L286
Property App\Services\Entity\TransformService::$new (App\Models\Entity|App\Models\MiscModel) does not accept Illuminate\Database\Eloquent\Model.
PHP 8.3: app/Services/Entity/TransformService.php#L287
Access to an undefined property Illuminate\Database\Eloquent\Model::$name.
PHP 8.3: app/Services/Entity/TransformService.php#L288
Access to an undefined property Illuminate\Database\Eloquent\Model::$is_private.
PHP 8.3
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636