Skip to content

Attributes now have to have different names #706

Attributes now have to have different names

Attributes now have to have different names #706

Triggered via pull request January 17, 2025 15:13
Status Failure
Total duration 2m 9s
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/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/Http/Resources/EntityTypeResource.php#L21
No error to ignore is reported on line 21.
PHP 8.3: app/Http/Resources/EntityTypeResource.php#L23
No error to ignore is reported on line 23.
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/Api/BulkEntityCreatorService.php#L38
Property App\Services\Api\BulkEntityCreatorService::$new (App\Models\MiscModel) does not accept Illuminate\Database\Eloquent\Model.
PHP 8.3: app/Services/Api/BulkEntityCreatorService.php#L40
Access to an undefined property Illuminate\Database\Eloquent\Model::$campaign_id.
PHP 8.3: app/Services/Api/BulkEntityCreatorService.php#L42
Call to an undefined method Illuminate\Database\Eloquent\Model::crudSaved().
PHP 8.3: app/Services/Api/BulkEntityCreatorService.php#L43
Access to an undefined property Illuminate\Database\Eloquent\Model::$entity.
PHP 8.3
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636