Skip to content

Increase PHPStan level #104

Increase PHPStan level

Increase PHPStan level #104

Triggered via push September 10, 2024 23:18
Status Failure
Total duration 36s
Artifacts
Matrix: phpstan
Fit to window
Zoom out
Zoom in

Annotations

10 errors
phpstan (8.3, stable): src/HasRelationships.php (in context of class Tests/Concatenation/EloquentJsonRelations/Models/Project)#L30
Method Tests\Concatenation\EloquentJsonRelations\Models\Project::hasManyDeep() should return Staudenmeir\EloquentHasManyDeep\HasManyDeep<TRelatedModel of Illuminate\Database\Eloquent\Model, $this(Tests\Concatenation\EloquentJsonRelations\Models\Project)> but returns Staudenmeir\EloquentHasManyDeep\HasManyDeep<Illuminate\Database\Eloquent\Model, Illuminate\Database\Eloquent\Model>.
phpstan (8.3, stable): src/HasRelationships.php (in context of class Tests/Concatenation/EloquentJsonRelations/Models/Project)#L30
Unable to resolve the template type TDeclaringModel in call to method Tests\Concatenation\EloquentJsonRelations\Models\Project::newHasManyDeep()
phpstan (8.3, stable): src/HasRelationships.php (in context of class Tests/Concatenation/EloquentJsonRelations/Models/Project)#L48
Method Tests\Concatenation\EloquentJsonRelations\Models\Project::hasOneDeep() should return Staudenmeir\EloquentHasManyDeep\HasOneDeep<TRelatedModel of Illuminate\Database\Eloquent\Model, $this(Tests\Concatenation\EloquentJsonRelations\Models\Project)> but returns Staudenmeir\EloquentHasManyDeep\HasOneDeep<Illuminate\Database\Eloquent\Model, Illuminate\Database\Eloquent\Model>.
phpstan (8.3, stable): src/HasRelationships.php (in context of class Tests/Concatenation/EloquentJsonRelations/Models/Project)#L48
Unable to resolve the template type TDeclaringModel in call to method Tests\Concatenation\EloquentJsonRelations\Models\Project::newHasOneDeep()
phpstan (8.3, stable): src/HasRelationships.php (in context of class Tests/Concatenation/EloquentJsonRelations/Models/Project)#L187
Method Tests\Concatenation\EloquentJsonRelations\Models\Project::newHasManyDeep() should return Staudenmeir\EloquentHasManyDeep\HasManyDeep<TRelatedModel of Illuminate\Database\Eloquent\Model, TDeclaringModel of Illuminate\Database\Eloquent\Model> but returns Staudenmeir\EloquentHasManyDeep\HasManyDeep<TRelatedModel of Illuminate\Database\Eloquent\Model, Illuminate\Database\Eloquent\Model>.
phpstan (8.3, stable): src/HasRelationships.php (in context of class Tests/Concatenation/EloquentJsonRelations/Models/Project)#L205
Method Tests\Concatenation\EloquentJsonRelations\Models\Project::newHasOneDeep() should return Staudenmeir\EloquentHasManyDeep\HasOneDeep<TRelatedModel of Illuminate\Database\Eloquent\Model, TDeclaringModel of Illuminate\Database\Eloquent\Model> but returns Staudenmeir\EloquentHasManyDeep\HasOneDeep<Illuminate\Database\Eloquent\Model, Illuminate\Database\Eloquent\Model>.
phpstan (8.3, stable): src/HasRelationships.php (in context of class Tests/Concatenation/EloquentJsonRelations/Models/Role)#L30
Method Tests\Concatenation\EloquentJsonRelations\Models\Role::hasManyDeep() should return Staudenmeir\EloquentHasManyDeep\HasManyDeep<TRelatedModel of Illuminate\Database\Eloquent\Model, $this(Tests\Concatenation\EloquentJsonRelations\Models\Role)> but returns Staudenmeir\EloquentHasManyDeep\HasManyDeep<Illuminate\Database\Eloquent\Model, Illuminate\Database\Eloquent\Model>.
phpstan (8.3, stable): src/HasRelationships.php (in context of class Tests/Concatenation/EloquentJsonRelations/Models/Role)#L30
Unable to resolve the template type TDeclaringModel in call to method Tests\Concatenation\EloquentJsonRelations\Models\Role::newHasManyDeep()
phpstan (8.3, stable): src/HasRelationships.php (in context of class Tests/Concatenation/EloquentJsonRelations/Models/Role)#L48
Method Tests\Concatenation\EloquentJsonRelations\Models\Role::hasOneDeep() should return Staudenmeir\EloquentHasManyDeep\HasOneDeep<TRelatedModel of Illuminate\Database\Eloquent\Model, $this(Tests\Concatenation\EloquentJsonRelations\Models\Role)> but returns Staudenmeir\EloquentHasManyDeep\HasOneDeep<Illuminate\Database\Eloquent\Model, Illuminate\Database\Eloquent\Model>.
phpstan (8.3, stable): src/HasRelationships.php (in context of class Tests/Concatenation/EloquentJsonRelations/Models/Role)#L48
Unable to resolve the template type TDeclaringModel in call to method Tests\Concatenation\EloquentJsonRelations\Models\Role::newHasOneDeep()