Skip to content

Add support for PHP 8.3 #140

Add support for PHP 8.3

Add support for PHP 8.3 #140

Triggered via pull request October 20, 2023 15:19
Status Failure
Total duration 1m 53s
Artifacts

ci-phpstan.yml

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

Annotations

16 errors and 10 warnings
PHP8.1 - Laravel 8.*: src/Models/ShortURL.php#L147
Generic type Illuminate\Database\Eloquent\Collection<int, AshAllenDesign\ShortURL\Models\ShortURL> in PHPDoc tag @return specifies 2 template types, but class Illuminate\Database\Eloquent\Collection supports only 1: TValue
PHP8.1 - Laravel 8.*: src/Models/ShortURL.php#L149
Method AshAllenDesign\ShortURL\Models\ShortURL::findByDestinationURL() should return Illuminate\Database\Eloquent\Collection<int, AshAllenDesign\ShortURL\Models\ShortURL> but returns Illuminate\Database\Eloquent\Collection<AshAllenDesign\ShortURL\Models\ShortURL>.
PHP8.1 - Laravel 8.*: src/Models/ShortURLVisit.php#L106
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>.
PHP8.1 - Laravel 8.*
Process completed with exit code 1.
PHP8.2 - Laravel 8.*: src/Models/ShortURL.php#L147
Generic type Illuminate\Database\Eloquent\Collection<int, AshAllenDesign\ShortURL\Models\ShortURL> in PHPDoc tag @return specifies 2 template types, but class Illuminate\Database\Eloquent\Collection supports only 1: TValue
PHP8.2 - Laravel 8.*: src/Models/ShortURL.php#L149
Method AshAllenDesign\ShortURL\Models\ShortURL::findByDestinationURL() should return Illuminate\Database\Eloquent\Collection<int, AshAllenDesign\ShortURL\Models\ShortURL> but returns Illuminate\Database\Eloquent\Collection<AshAllenDesign\ShortURL\Models\ShortURL>.
PHP8.2 - Laravel 8.*: src/Models/ShortURLVisit.php#L106
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>.
PHP8.2 - Laravel 8.*
Process completed with exit code 1.
PHP8 - Laravel 8.*: src/Models/ShortURL.php#L147
Generic type Illuminate\Database\Eloquent\Collection<int, AshAllenDesign\ShortURL\Models\ShortURL> in PHPDoc tag @return specifies 2 template types, but class Illuminate\Database\Eloquent\Collection supports only 1: TValue
PHP8 - Laravel 8.*: src/Models/ShortURL.php#L149
Method AshAllenDesign\ShortURL\Models\ShortURL::findByDestinationURL() should return Illuminate\Database\Eloquent\Collection<int, AshAllenDesign\ShortURL\Models\ShortURL> but returns Illuminate\Database\Eloquent\Collection<AshAllenDesign\ShortURL\Models\ShortURL>.
PHP8 - Laravel 8.*: src/Models/ShortURLVisit.php#L106
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>.
PHP8 - Laravel 8.*
Process completed with exit code 1.
PHP8.3 - Laravel 8.*: src/Models/ShortURL.php#L147
Generic type Illuminate\Database\Eloquent\Collection<int, AshAllenDesign\ShortURL\Models\ShortURL> in PHPDoc tag @return specifies 2 template types, but class Illuminate\Database\Eloquent\Collection supports only 1: TValue
PHP8.3 - Laravel 8.*: src/Models/ShortURL.php#L149
Method AshAllenDesign\ShortURL\Models\ShortURL::findByDestinationURL() should return Illuminate\Database\Eloquent\Collection<int, AshAllenDesign\ShortURL\Models\ShortURL> but returns Illuminate\Database\Eloquent\Collection<AshAllenDesign\ShortURL\Models\ShortURL>.
PHP8.3 - Laravel 8.*: src/Models/ShortURLVisit.php#L106
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>.
PHP8.3 - Laravel 8.*
Process completed with exit code 1.
PHP8.1 - Laravel 9.*
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
PHP8.1 - Laravel 10.*
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
PHP8.2 - Laravel 10.*
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
PHP8.1 - Laravel 8.*
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
PHP8.2 - Laravel 9.*
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
PHP8.2 - Laravel 8.*
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
PHP8 - Laravel 8.*
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
PHP8 - Laravel 9.*
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
PHP8.3 - Laravel 10.*
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
PHP8.3 - Laravel 8.*
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/