test(timetable): Phase C — artist domain coverage + cross-cutting fixes

New Phase C test files:
- tests/Unit/Models/Artist/ArtistDomainModelsTest.php — relationships,
  casts, soft-delete trait presence, slug uniqueness within/across
  organisations, isParked() helper, AdvanceSection's primary scope,
  PURPOSE_SUBJECT_FQCN['artist'] resolves to instantiable class.
- tests/Feature/Artist/ArtistEngagementObserverTest.php — auto-fill
  organisation_id from artist, cross-tenant guard throws, soft-delete
  cascades to performances + hard-deletes advance_sections.
- tests/Feature/Artist/PerformanceObserverTest.php — version starts
  at 0, increments by 1 per UPDATE, no bump on no-op save.
- tests/Feature/Artist/ArtistDomainScopeLeakageTest.php — 5 scoped
  models (Artist/Genre/Engagement direct + Stage/Performance FK-chain)
  isolate cross-org queries.
- tests/Feature/Artist/ArtistTimetableDevSeederTest.php — fixture-count
  smoke (4 stages, 12 stage_days, 6 artists, 12 engagements,
  13 performances incl. 1 parked).

Cross-cutting fixes that Phase C surfaced:
- AppServiceProvider: morph-map block 2 extended with the 8 new
  artist-domain models (artist_engagement, artist_contact, genre,
  stage, stage_day, performance, advance_section, advance_submission).
  Block 1 'artist' alias was already wired via PurposeRegistry.
- 5 form-builder backfill tests bumped --step rollback counts by +10
  to account for the 10 new May 8 migrations sitting at HEAD between
  the test's calibration point and current head.
- phpstan-baseline.neon regenerated (1631 entries) — all errors are
  same patterns existing baselined code already exhibits
  (Factory generic typing, Model property docblock gaps). Tracked
  systematically under TECH-LARASTAN-* in BACKLOG.

Tests: 1646 passing (was 1624 pre-Session-1 → +22 net, no losses).
Larastan: 0 errors over baseline.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-05-08 19:15:38 +02:00
parent 64878f2734
commit e43dd60756
12 changed files with 942 additions and 25 deletions

View File

@@ -1,5 +1,17 @@
parameters:
ignoreErrors:
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$organisation_id\.$#'
identifier: property.notFound
count: 2
path: app/Exceptions/Artist/CrossTenantEngagementException.php
-
message: '#^Using nullsafe property access "\?\-\>organisation_id" on left side of \?\? is unnecessary\. Use \-\> instead\.$#'
identifier: nullsafe.neverNull
count: 2
path: app/Exceptions/Artist/CrossTenantEngagementException.php
-
message: '#^Using nullsafe property access "\?\-\>id" on left side of \?\? is unnecessary\. Use \-\> instead\.$#'
identifier: nullsafe.neverNull
@@ -3414,12 +3426,156 @@ parameters:
count: 1
path: app/Mail/TransactionalMail.php
-
message: '#^Class App\\Models\\AdvanceSection uses generic trait Illuminate\\Database\\Eloquent\\Factories\\HasFactory but does not specify its types\: TFactory$#'
identifier: missingType.generics
count: 1
path: app/Models/AdvanceSection.php
-
message: '#^Method App\\Models\\AdvanceSection\:\:engagement\(\) return type with generic class Illuminate\\Database\\Eloquent\\Relations\\BelongsTo does not specify its types\: TRelatedModel, TDeclaringModel$#'
identifier: missingType.generics
count: 1
path: app/Models/AdvanceSection.php
-
message: '#^Method App\\Models\\AdvanceSection\:\:submissions\(\) return type with generic class Illuminate\\Database\\Eloquent\\Relations\\HasMany does not specify its types\: TRelatedModel, TDeclaringModel$#'
identifier: missingType.generics
count: 1
path: app/Models/AdvanceSection.php
-
message: '#^Class App\\Models\\AdvanceSubmission uses generic trait Illuminate\\Database\\Eloquent\\Factories\\HasFactory but does not specify its types\: TFactory$#'
identifier: missingType.generics
count: 1
path: app/Models/AdvanceSubmission.php
-
message: '#^Method App\\Models\\AdvanceSubmission\:\:reviewer\(\) return type with generic class Illuminate\\Database\\Eloquent\\Relations\\BelongsTo does not specify its types\: TRelatedModel, TDeclaringModel$#'
identifier: missingType.generics
count: 1
path: app/Models/AdvanceSubmission.php
-
message: '#^Method App\\Models\\AdvanceSubmission\:\:section\(\) return type with generic class Illuminate\\Database\\Eloquent\\Relations\\BelongsTo does not specify its types\: TRelatedModel, TDeclaringModel$#'
identifier: missingType.generics
count: 1
path: app/Models/AdvanceSubmission.php
-
message: '#^Class App\\Models\\Artist uses generic trait Illuminate\\Database\\Eloquent\\Factories\\HasFactory but does not specify its types\: TFactory$#'
identifier: missingType.generics
count: 1
path: app/Models/Artist.php
-
message: '#^Method App\\Models\\Artist\:\:agentCompany\(\) return type with generic class Illuminate\\Database\\Eloquent\\Relations\\BelongsTo does not specify its types\: TRelatedModel, TDeclaringModel$#'
identifier: missingType.generics
count: 1
path: app/Models/Artist.php
-
message: '#^Method App\\Models\\Artist\:\:contacts\(\) return type with generic class Illuminate\\Database\\Eloquent\\Relations\\HasMany does not specify its types\: TRelatedModel, TDeclaringModel$#'
identifier: missingType.generics
count: 1
path: app/Models/Artist.php
-
message: '#^Method App\\Models\\Artist\:\:defaultGenre\(\) return type with generic class Illuminate\\Database\\Eloquent\\Relations\\BelongsTo does not specify its types\: TRelatedModel, TDeclaringModel$#'
identifier: missingType.generics
count: 1
path: app/Models/Artist.php
-
message: '#^Method App\\Models\\Artist\:\:engagements\(\) return type with generic class Illuminate\\Database\\Eloquent\\Relations\\HasMany does not specify its types\: TRelatedModel, TDeclaringModel$#'
identifier: missingType.generics
count: 1
path: app/Models/Artist.php
-
message: '#^Method App\\Models\\Artist\:\:organisation\(\) return type with generic class Illuminate\\Database\\Eloquent\\Relations\\BelongsTo does not specify its types\: TRelatedModel, TDeclaringModel$#'
identifier: missingType.generics
count: 1
path: app/Models/Artist.php
-
message: '#^Class App\\Models\\ArtistContact uses generic trait Illuminate\\Database\\Eloquent\\Factories\\HasFactory but does not specify its types\: TFactory$#'
identifier: missingType.generics
count: 1
path: app/Models/ArtistContact.php
-
message: '#^Method App\\Models\\ArtistContact\:\:artist\(\) return type with generic class Illuminate\\Database\\Eloquent\\Relations\\BelongsTo does not specify its types\: TRelatedModel, TDeclaringModel$#'
identifier: missingType.generics
count: 1
path: app/Models/ArtistContact.php
-
message: '#^Method App\\Models\\ArtistContact\:\:scopePrimary\(\) has parameter \$query with generic class Illuminate\\Database\\Eloquent\\Builder but does not specify its types\: TModel$#'
identifier: missingType.generics
count: 1
path: app/Models/ArtistContact.php
-
message: '#^Method App\\Models\\ArtistContact\:\:scopePrimary\(\) return type with generic class Illuminate\\Database\\Eloquent\\Builder does not specify its types\: TModel$#'
identifier: missingType.generics
count: 1
path: app/Models/ArtistContact.php
-
message: '#^Class App\\Models\\ArtistEngagement uses generic trait Illuminate\\Database\\Eloquent\\Factories\\HasFactory but does not specify its types\: TFactory$#'
identifier: missingType.generics
count: 1
path: app/Models/ArtistEngagement.php
-
message: '#^Method App\\Models\\ArtistEngagement\:\:advanceSections\(\) return type with generic class Illuminate\\Database\\Eloquent\\Relations\\HasMany does not specify its types\: TRelatedModel, TDeclaringModel$#'
identifier: missingType.generics
count: 1
path: app/Models/ArtistEngagement.php
-
message: '#^Method App\\Models\\ArtistEngagement\:\:artist\(\) return type with generic class Illuminate\\Database\\Eloquent\\Relations\\BelongsTo does not specify its types\: TRelatedModel, TDeclaringModel$#'
identifier: missingType.generics
count: 1
path: app/Models/ArtistEngagement.php
-
message: '#^Method App\\Models\\ArtistEngagement\:\:event\(\) return type with generic class Illuminate\\Database\\Eloquent\\Relations\\BelongsTo does not specify its types\: TRelatedModel, TDeclaringModel$#'
identifier: missingType.generics
count: 1
path: app/Models/ArtistEngagement.php
-
message: '#^Method App\\Models\\ArtistEngagement\:\:organisation\(\) return type with generic class Illuminate\\Database\\Eloquent\\Relations\\BelongsTo does not specify its types\: TRelatedModel, TDeclaringModel$#'
identifier: missingType.generics
count: 1
path: app/Models/ArtistEngagement.php
-
message: '#^Method App\\Models\\ArtistEngagement\:\:performances\(\) return type with generic class Illuminate\\Database\\Eloquent\\Relations\\HasMany does not specify its types\: TRelatedModel, TDeclaringModel$#'
identifier: missingType.generics
count: 1
path: app/Models/ArtistEngagement.php
-
message: '#^Method App\\Models\\ArtistEngagement\:\:projectLeader\(\) return type with generic class Illuminate\\Database\\Eloquent\\Relations\\BelongsTo does not specify its types\: TRelatedModel, TDeclaringModel$#'
identifier: missingType.generics
count: 1
path: app/Models/ArtistEngagement.php
-
message: '#^Class App\\Models\\Company uses generic trait Illuminate\\Database\\Eloquent\\Factories\\HasFactory but does not specify its types\: TFactory$#'
identifier: missingType.generics
count: 1
path: app/Models/Company.php
-
message: '#^Method App\\Models\\Company\:\:artistsAsAgent\(\) return type with generic class Illuminate\\Database\\Eloquent\\Relations\\HasMany does not specify its types\: TRelatedModel, TDeclaringModel$#'
identifier: missingType.generics
count: 1
path: app/Models/Company.php
-
message: '#^Method App\\Models\\Company\:\:organisation\(\) return type with generic class Illuminate\\Database\\Eloquent\\Relations\\BelongsTo does not specify its types\: TRelatedModel, TDeclaringModel$#'
identifier: missingType.generics
@@ -3564,6 +3720,12 @@ parameters:
count: 1
path: app/Models/Event.php
-
message: '#^Method App\\Models\\Event\:\:artistEngagements\(\) return type with generic class Illuminate\\Database\\Eloquent\\Relations\\HasMany does not specify its types\: TRelatedModel, TDeclaringModel$#'
identifier: missingType.generics
count: 1
path: app/Models/Event.php
-
message: '#^Method App\\Models\\Event\:\:children\(\) return type with generic class Illuminate\\Database\\Eloquent\\Relations\\HasMany does not specify its types\: TRelatedModel, TDeclaringModel$#'
identifier: missingType.generics
@@ -3618,6 +3780,12 @@ parameters:
count: 1
path: app/Models/Event.php
-
message: '#^Method App\\Models\\Event\:\:performances\(\) return type with generic class Illuminate\\Database\\Eloquent\\Relations\\HasMany does not specify its types\: TRelatedModel, TDeclaringModel$#'
identifier: missingType.generics
count: 1
path: app/Models/Event.php
-
message: '#^Method App\\Models\\Event\:\:persons\(\) return type with generic class Illuminate\\Database\\Eloquent\\Relations\\HasMany does not specify its types\: TRelatedModel, TDeclaringModel$#'
identifier: missingType.generics
@@ -3732,6 +3900,12 @@ parameters:
count: 1
path: app/Models/Event.php
-
message: '#^Method App\\Models\\Event\:\:stages\(\) return type with generic class Illuminate\\Database\\Eloquent\\Relations\\HasMany does not specify its types\: TRelatedModel, TDeclaringModel$#'
identifier: missingType.generics
count: 1
path: app/Models/Event.php
-
message: '#^Method App\\Models\\Event\:\:timeSlots\(\) return type with generic class Illuminate\\Database\\Eloquent\\Relations\\HasMany does not specify its types\: TRelatedModel, TDeclaringModel$#'
identifier: missingType.generics
@@ -4272,6 +4446,24 @@ parameters:
count: 1
path: app/Models/FormBuilder/FormWebhookDelivery.php
-
message: '#^Class App\\Models\\Genre uses generic trait Illuminate\\Database\\Eloquent\\Factories\\HasFactory but does not specify its types\: TFactory$#'
identifier: missingType.generics
count: 1
path: app/Models/Genre.php
-
message: '#^Method App\\Models\\Genre\:\:artists\(\) return type with generic class Illuminate\\Database\\Eloquent\\Relations\\HasMany does not specify its types\: TRelatedModel, TDeclaringModel$#'
identifier: missingType.generics
count: 1
path: app/Models/Genre.php
-
message: '#^Method App\\Models\\Genre\:\:organisation\(\) return type with generic class Illuminate\\Database\\Eloquent\\Relations\\BelongsTo does not specify its types\: TRelatedModel, TDeclaringModel$#'
identifier: missingType.generics
count: 1
path: app/Models/Genre.php
-
message: '#^Class App\\Models\\ImpersonationSession uses generic trait Illuminate\\Database\\Eloquent\\Factories\\HasFactory but does not specify its types\: TFactory$#'
identifier: missingType.generics
@@ -4356,6 +4548,18 @@ parameters:
count: 1
path: app/Models/Organisation.php
-
message: '#^Method App\\Models\\Organisation\:\:artistEngagements\(\) return type with generic class Illuminate\\Database\\Eloquent\\Relations\\HasMany does not specify its types\: TRelatedModel, TDeclaringModel$#'
identifier: missingType.generics
count: 1
path: app/Models/Organisation.php
-
message: '#^Method App\\Models\\Organisation\:\:artists\(\) return type with generic class Illuminate\\Database\\Eloquent\\Relations\\HasMany does not specify its types\: TRelatedModel, TDeclaringModel$#'
identifier: missingType.generics
count: 1
path: app/Models/Organisation.php
-
message: '#^Method App\\Models\\Organisation\:\:companies\(\) return type with generic class Illuminate\\Database\\Eloquent\\Relations\\HasMany does not specify its types\: TRelatedModel, TDeclaringModel$#'
identifier: missingType.generics
@@ -4392,6 +4596,12 @@ parameters:
count: 1
path: app/Models/Organisation.php
-
message: '#^Method App\\Models\\Organisation\:\:genres\(\) return type with generic class Illuminate\\Database\\Eloquent\\Relations\\HasMany does not specify its types\: TRelatedModel, TDeclaringModel$#'
identifier: missingType.generics
count: 1
path: app/Models/Organisation.php
-
message: '#^Method App\\Models\\Organisation\:\:invitations\(\) return type with generic class Illuminate\\Database\\Eloquent\\Relations\\HasMany does not specify its types\: TRelatedModel, TDeclaringModel$#'
identifier: missingType.generics
@@ -4434,6 +4644,30 @@ parameters:
count: 1
path: app/Models/OrganisationEmailTemplate.php
-
message: '#^Class App\\Models\\Performance uses generic trait Illuminate\\Database\\Eloquent\\Factories\\HasFactory but does not specify its types\: TFactory$#'
identifier: missingType.generics
count: 1
path: app/Models/Performance.php
-
message: '#^Method App\\Models\\Performance\:\:engagement\(\) return type with generic class Illuminate\\Database\\Eloquent\\Relations\\BelongsTo does not specify its types\: TRelatedModel, TDeclaringModel$#'
identifier: missingType.generics
count: 1
path: app/Models/Performance.php
-
message: '#^Method App\\Models\\Performance\:\:event\(\) return type with generic class Illuminate\\Database\\Eloquent\\Relations\\BelongsTo does not specify its types\: TRelatedModel, TDeclaringModel$#'
identifier: missingType.generics
count: 1
path: app/Models/Performance.php
-
message: '#^Method App\\Models\\Performance\:\:stage\(\) return type with generic class Illuminate\\Database\\Eloquent\\Relations\\BelongsTo does not specify its types\: TRelatedModel, TDeclaringModel$#'
identifier: missingType.generics
count: 1
path: app/Models/Performance.php
-
message: '#^Class App\\Models\\Person uses generic trait Illuminate\\Database\\Eloquent\\Factories\\HasFactory but does not specify its types\: TFactory$#'
identifier: missingType.generics
@@ -4920,6 +5154,60 @@ parameters:
count: 1
path: app/Models/ShiftWaitlist.php
-
message: '#^Class App\\Models\\Stage uses generic trait Illuminate\\Database\\Eloquent\\Factories\\HasFactory but does not specify its types\: TFactory$#'
identifier: missingType.generics
count: 1
path: app/Models/Stage.php
-
message: '#^Method App\\Models\\Stage\:\:event\(\) return type with generic class Illuminate\\Database\\Eloquent\\Relations\\BelongsTo does not specify its types\: TRelatedModel, TDeclaringModel$#'
identifier: missingType.generics
count: 1
path: app/Models/Stage.php
-
message: '#^Method App\\Models\\Stage\:\:performances\(\) return type with generic class Illuminate\\Database\\Eloquent\\Relations\\HasMany does not specify its types\: TRelatedModel, TDeclaringModel$#'
identifier: missingType.generics
count: 1
path: app/Models/Stage.php
-
message: '#^Method App\\Models\\Stage\:\:scopeOrdered\(\) has parameter \$query with generic class Illuminate\\Database\\Eloquent\\Builder but does not specify its types\: TModel$#'
identifier: missingType.generics
count: 1
path: app/Models/Stage.php
-
message: '#^Method App\\Models\\Stage\:\:scopeOrdered\(\) return type with generic class Illuminate\\Database\\Eloquent\\Builder does not specify its types\: TModel$#'
identifier: missingType.generics
count: 1
path: app/Models/Stage.php
-
message: '#^Method App\\Models\\Stage\:\:stageDays\(\) return type with generic class Illuminate\\Database\\Eloquent\\Relations\\HasMany does not specify its types\: TRelatedModel, TDeclaringModel$#'
identifier: missingType.generics
count: 1
path: app/Models/Stage.php
-
message: '#^Class App\\Models\\StageDay uses generic trait Illuminate\\Database\\Eloquent\\Factories\\HasFactory but does not specify its types\: TFactory$#'
identifier: missingType.generics
count: 1
path: app/Models/StageDay.php
-
message: '#^Method App\\Models\\StageDay\:\:event\(\) return type with generic class Illuminate\\Database\\Eloquent\\Relations\\BelongsTo does not specify its types\: TRelatedModel, TDeclaringModel$#'
identifier: missingType.generics
count: 1
path: app/Models/StageDay.php
-
message: '#^Method App\\Models\\StageDay\:\:stage\(\) return type with generic class Illuminate\\Database\\Eloquent\\Relations\\BelongsTo does not specify its types\: TRelatedModel, TDeclaringModel$#'
identifier: missingType.generics
count: 1
path: app/Models/StageDay.php
-
message: '#^Class App\\Models\\TimeSlot uses generic trait Illuminate\\Database\\Eloquent\\Factories\\HasFactory but does not specify its types\: TFactory$#'
identifier: missingType.generics
@@ -5184,6 +5472,18 @@ parameters:
count: 1
path: app/Notifications/ResetPasswordNotification.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$organisation_id\.$#'
identifier: property.notFound
count: 3
path: app/Observers/ArtistEngagementObserver.php
-
message: '#^Strict comparison using \=\=\= between string and null will always evaluate to false\.$#'
identifier: identical.alwaysFalse
count: 1
path: app/Observers/ArtistEngagementObserver.php
-
message: '#^Strict comparison using \=\=\= between string and null will always evaluate to false\.$#'
identifier: identical.alwaysFalse
@@ -6378,6 +6678,36 @@ parameters:
count: 1
path: app/Services/ShiftAssignmentService.php
-
message: '#^Return type \(array\<string, mixed\>\) of method Database\\Factories\\AdvanceSectionFactory\:\:definition\(\) should be compatible with return type \(array\<model property of App\\Models\\AdvanceSection, mixed\>\) of method Illuminate\\Database\\Eloquent\\Factories\\Factory\<App\\Models\\AdvanceSection\>\:\:definition\(\)$#'
identifier: method.childReturnType
count: 1
path: database/factories/AdvanceSectionFactory.php
-
message: '#^Return type \(array\<string, mixed\>\) of method Database\\Factories\\AdvanceSubmissionFactory\:\:definition\(\) should be compatible with return type \(array\<model property of App\\Models\\AdvanceSubmission, mixed\>\) of method Illuminate\\Database\\Eloquent\\Factories\\Factory\<App\\Models\\AdvanceSubmission\>\:\:definition\(\)$#'
identifier: method.childReturnType
count: 1
path: database/factories/AdvanceSubmissionFactory.php
-
message: '#^Return type \(array\<string, mixed\>\) of method Database\\Factories\\ArtistContactFactory\:\:definition\(\) should be compatible with return type \(array\<model property of App\\Models\\ArtistContact, mixed\>\) of method Illuminate\\Database\\Eloquent\\Factories\\Factory\<App\\Models\\ArtistContact\>\:\:definition\(\)$#'
identifier: method.childReturnType
count: 1
path: database/factories/ArtistContactFactory.php
-
message: '#^Return type \(array\<string, mixed\>\) of method Database\\Factories\\ArtistEngagementFactory\:\:definition\(\) should be compatible with return type \(array\<model property of App\\Models\\ArtistEngagement, mixed\>\) of method Illuminate\\Database\\Eloquent\\Factories\\Factory\<App\\Models\\ArtistEngagement\>\:\:definition\(\)$#'
identifier: method.childReturnType
count: 1
path: database/factories/ArtistEngagementFactory.php
-
message: '#^Return type \(array\<string, mixed\>\) of method Database\\Factories\\ArtistFactory\:\:definition\(\) should be compatible with return type \(array\<model property of App\\Models\\Artist, mixed\>\) of method Illuminate\\Database\\Eloquent\\Factories\\Factory\<App\\Models\\Artist\>\:\:definition\(\)$#'
identifier: method.childReturnType
count: 1
path: database/factories/ArtistFactory.php
-
message: '#^Return type \(array\<string, mixed\>\) of method Database\\Factories\\CompanyFactory\:\:definition\(\) should be compatible with return type \(array\<model property of App\\Models\\Company, mixed\>\) of method Illuminate\\Database\\Eloquent\\Factories\\Factory\<App\\Models\\Company\>\:\:definition\(\)$#'
identifier: method.childReturnType
@@ -6528,6 +6858,12 @@ parameters:
count: 1
path: database/factories/FormBuilder/FormWebhookDeliveryFactory.php
-
message: '#^Return type \(array\<string, mixed\>\) of method Database\\Factories\\GenreFactory\:\:definition\(\) should be compatible with return type \(array\<model property of App\\Models\\Genre, mixed\>\) of method Illuminate\\Database\\Eloquent\\Factories\\Factory\<App\\Models\\Genre\>\:\:definition\(\)$#'
identifier: method.childReturnType
count: 1
path: database/factories/GenreFactory.php
-
message: '#^Return type \(array\<string, mixed\>\) of method Database\\Factories\\ImpersonationSessionFactory\:\:definition\(\) should be compatible with return type \(array\<model property of App\\Models\\ImpersonationSession, mixed\>\) of method Illuminate\\Database\\Eloquent\\Factories\\Factory\<App\\Models\\ImpersonationSession\>\:\:definition\(\)$#'
identifier: method.childReturnType
@@ -6546,6 +6882,12 @@ parameters:
count: 1
path: database/factories/OrganisationFactory.php
-
message: '#^Return type \(array\<string, mixed\>\) of method Database\\Factories\\PerformanceFactory\:\:definition\(\) should be compatible with return type \(array\<model property of App\\Models\\Performance, mixed\>\) of method Illuminate\\Database\\Eloquent\\Factories\\Factory\<App\\Models\\Performance\>\:\:definition\(\)$#'
identifier: method.childReturnType
count: 1
path: database/factories/PerformanceFactory.php
-
message: '#^Return type \(array\<string, mixed\>\) of method Database\\Factories\\PersonFactory\:\:definition\(\) should be compatible with return type \(array\<model property of App\\Models\\Person, mixed\>\) of method Illuminate\\Database\\Eloquent\\Factories\\Factory\<App\\Models\\Person\>\:\:definition\(\)$#'
identifier: method.childReturnType
@@ -6588,6 +6930,12 @@ parameters:
count: 1
path: database/factories/ShiftFactory.php
-
message: '#^Return type \(array\<string, mixed\>\) of method Database\\Factories\\StageFactory\:\:definition\(\) should be compatible with return type \(array\<model property of App\\Models\\Stage, mixed\>\) of method Illuminate\\Database\\Eloquent\\Factories\\Factory\<App\\Models\\Stage\>\:\:definition\(\)$#'
identifier: method.childReturnType
count: 1
path: database/factories/StageFactory.php
-
message: '#^Return type \(array\<string, mixed\>\) of method Database\\Factories\\TimeSlotFactory\:\:definition\(\) should be compatible with return type \(array\<model property of App\\Models\\TimeSlot, mixed\>\) of method Illuminate\\Database\\Eloquent\\Factories\\Factory\<App\\Models\\TimeSlot\>\:\:definition\(\)$#'
identifier: method.childReturnType
@@ -7452,6 +7800,12 @@ parameters:
count: 3
path: tests/Unit/Exceptions/FormBuilder/FormBindingApplicatorExceptionHierarchyTest.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$id\.$#'
identifier: property.notFound
count: 4
path: tests/Unit/Models/Artist/ArtistDomainModelsTest.php
-
message: '#^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$id\.$#'
identifier: property.notFound