Skip to content

Add support for PHP 8.4 #259

Add support for PHP 8.4

Add support for PHP 8.4 #259

Triggered via pull request November 30, 2024 16:36
@ash-jc-allenash-jc-allen
synchronize #301
php-8.4
Status Failure
Total duration 46s
Artifacts

ci-phpstan.yml

on: pull_request
Matrix: run-tests
Fit to window
Zoom out
Zoom in

Annotations

18 errors
PHP8.2 - Laravel 11.*: src/Models/ShortURL.php#L37
Class AshAllenDesign\ShortURL\Models\ShortURL uses generic trait Illuminate\Database\Eloquent\Factories\HasFactory but does not specify its types: TFactory
PHP8.2 - Laravel 11.*: src/Models/ShortURL.php#L116
Generic type Illuminate\Database\Eloquent\Relations\HasMany<AshAllenDesign\ShortURL\Models\ShortURLVisit> in PHPDoc tag @return does not specify all template types of class Illuminate\Database\Eloquent\Relations\HasMany: TRelatedModel, TDeclaringModel
PHP8.2 - Laravel 11.*: src/Models/ShortURL.php#L118
Method AshAllenDesign\ShortURL\Models\ShortURL::visits() should return Illuminate\Database\Eloquent\Relations\HasMany<AshAllenDesign\ShortURL\Models\ShortURLVisit> but returns Illuminate\Database\Eloquent\Relations\HasMany<AshAllenDesign\ShortURL\Models\ShortURLVisit, $this(AshAllenDesign\ShortURL\Models\ShortURL)>.
PHP8.2 - Laravel 11.*: src/Models/ShortURLVisit.php#L29
Class AshAllenDesign\ShortURL\Models\ShortURLVisit uses generic trait Illuminate\Database\Eloquent\Factories\HasFactory but does not specify its types: TFactory
PHP8.2 - Laravel 11.*: src/Models/ShortURLVisit.php#L101
Method AshAllenDesign\ShortURL\Models\ShortURLVisit::shortURL() should return Illuminate\Database\Eloquent\Relations\BelongsTo<AshAllenDesign\ShortURL\Models\ShortURL, AshAllenDesign\ShortURL\Models\ShortURLVisit> but returns Illuminate\Database\Eloquent\Relations\BelongsTo<AshAllenDesign\ShortURL\Models\ShortURL, $this(AshAllenDesign\ShortURL\Models\ShortURLVisit)>.
PHP8.2 - Laravel 11.*
Process completed with exit code 1.
PHP8.3 - Laravel 11.*: src/Models/ShortURL.php#L37
Class AshAllenDesign\ShortURL\Models\ShortURL uses generic trait Illuminate\Database\Eloquent\Factories\HasFactory but does not specify its types: TFactory
PHP8.3 - Laravel 11.*: src/Models/ShortURL.php#L116
Generic type Illuminate\Database\Eloquent\Relations\HasMany<AshAllenDesign\ShortURL\Models\ShortURLVisit> in PHPDoc tag @return does not specify all template types of class Illuminate\Database\Eloquent\Relations\HasMany: TRelatedModel, TDeclaringModel
PHP8.3 - Laravel 11.*: src/Models/ShortURL.php#L118
Method AshAllenDesign\ShortURL\Models\ShortURL::visits() should return Illuminate\Database\Eloquent\Relations\HasMany<AshAllenDesign\ShortURL\Models\ShortURLVisit> but returns Illuminate\Database\Eloquent\Relations\HasMany<AshAllenDesign\ShortURL\Models\ShortURLVisit, $this(AshAllenDesign\ShortURL\Models\ShortURL)>.
PHP8.3 - Laravel 11.*: src/Models/ShortURLVisit.php#L29
Class AshAllenDesign\ShortURL\Models\ShortURLVisit uses generic trait Illuminate\Database\Eloquent\Factories\HasFactory but does not specify its types: TFactory
PHP8.3 - Laravel 11.*: src/Models/ShortURLVisit.php#L101
Method AshAllenDesign\ShortURL\Models\ShortURLVisit::shortURL() should return Illuminate\Database\Eloquent\Relations\BelongsTo<AshAllenDesign\ShortURL\Models\ShortURL, AshAllenDesign\ShortURL\Models\ShortURLVisit> but returns Illuminate\Database\Eloquent\Relations\BelongsTo<AshAllenDesign\ShortURL\Models\ShortURL, $this(AshAllenDesign\ShortURL\Models\ShortURLVisit)>.
PHP8.3 - Laravel 11.*
Process completed with exit code 1.
PHP8.4 - Laravel 11.*: src/Models/ShortURL.php#L37
Class AshAllenDesign\ShortURL\Models\ShortURL uses generic trait Illuminate\Database\Eloquent\Factories\HasFactory but does not specify its types: TFactory
PHP8.4 - Laravel 11.*: src/Models/ShortURL.php#L116
Generic type Illuminate\Database\Eloquent\Relations\HasMany<AshAllenDesign\ShortURL\Models\ShortURLVisit> in PHPDoc tag @return does not specify all template types of class Illuminate\Database\Eloquent\Relations\HasMany: TRelatedModel, TDeclaringModel
PHP8.4 - Laravel 11.*: src/Models/ShortURL.php#L118
Method AshAllenDesign\ShortURL\Models\ShortURL::visits() should return Illuminate\Database\Eloquent\Relations\HasMany<AshAllenDesign\ShortURL\Models\ShortURLVisit> but returns Illuminate\Database\Eloquent\Relations\HasMany<AshAllenDesign\ShortURL\Models\ShortURLVisit, $this(AshAllenDesign\ShortURL\Models\ShortURL)>.
PHP8.4 - Laravel 11.*: src/Models/ShortURLVisit.php#L29
Class AshAllenDesign\ShortURL\Models\ShortURLVisit uses generic trait Illuminate\Database\Eloquent\Factories\HasFactory but does not specify its types: TFactory
PHP8.4 - Laravel 11.*: src/Models/ShortURLVisit.php#L101
Method AshAllenDesign\ShortURL\Models\ShortURLVisit::shortURL() should return Illuminate\Database\Eloquent\Relations\BelongsTo<AshAllenDesign\ShortURL\Models\ShortURL, AshAllenDesign\ShortURL\Models\ShortURLVisit> but returns Illuminate\Database\Eloquent\Relations\BelongsTo<AshAllenDesign\ShortURL\Models\ShortURL, $this(AshAllenDesign\ShortURL\Models\ShortURLVisit)>.
PHP8.4 - Laravel 11.*
Process completed with exit code 1.