Skip to content

[3.x] Implement PHPStan #1

[3.x] Implement PHPStan

[3.x] Implement PHPStan #1

Triggered via pull request October 16, 2024 14:19
Status Failure
Total duration 40s
Artifacts

analyse.yml

on: pull_request
Matrix: dusk
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
dusk (8.3, prefer-stable): src/Models/Category.php#L70
Generic type Illuminate\Database\Eloquent\Relations\HasMany<Rapidez\Core\Models\Category> in PHPDoc tag @return does not specify all template types of class Illuminate\Database\Eloquent\Relations\HasMany: TRelatedModel, TDeclaringModel
dusk (8.3, prefer-stable): src/Models/Category.php#L77
Generic type Illuminate\Database\Eloquent\Relations\HasManyThrough<Rapidez\Core\Models\Product> in PHPDoc tag @return does not specify all template types of class Illuminate\Database\Eloquent\Relations\HasManyThrough: TRelatedModel, TIntermediateModel, TDeclaringModel
dusk (8.3, prefer-stable): src/Models/Category.php#L97
Generic type Illuminate\Database\Eloquent\Relations\HasMany<Rapidez\Core\Models\Rewrite> in PHPDoc tag @return does not specify all template types of class Illuminate\Database\Eloquent\Relations\HasMany: TRelatedModel, TDeclaringModel
dusk (8.3, prefer-stable): src/Models/Customer.php#L28
Generic type Illuminate\Database\Eloquent\Relations\HasMany<Rapidez\Core\Models\OauthToken> in PHPDoc tag @return does not specify all template types of class Illuminate\Database\Eloquent\Relations\HasMany: TRelatedModel, TDeclaringModel
dusk (8.3, prefer-stable): src/Models/Product.php#L99
Generic type Illuminate\Database\Eloquent\Relations\BelongsToMany<Rapidez\Core\Models\ProductImage> in PHPDoc tag @return does not specify all template types of class Illuminate\Database\Eloquent\Relations\BelongsToMany: TRelatedModel, TDeclaringModel
dusk (8.3, prefer-stable): src/Models/Product.php#L111
Generic type Illuminate\Database\Eloquent\Relations\HasMany<Rapidez\Core\Models\ProductView> in PHPDoc tag @return does not specify all template types of class Illuminate\Database\Eloquent\Relations\HasMany: TRelatedModel, TDeclaringModel
dusk (8.3, prefer-stable): src/Models/Product.php#L121
Generic type Illuminate\Database\Eloquent\Relations\HasMany<Rapidez\Core\Models\ProductOption> in PHPDoc tag @return does not specify all template types of class Illuminate\Database\Eloquent\Relations\HasMany: TRelatedModel, TDeclaringModel
dusk (8.3, prefer-stable): src/Models/Product.php#L131
Generic type Illuminate\Database\Eloquent\Relations\HasMany<Rapidez\Core\Models\CategoryProduct> in PHPDoc tag @return does not specify all template types of class Illuminate\Database\Eloquent\Relations\HasMany: TRelatedModel, TDeclaringModel
dusk (8.3, prefer-stable): src/Models/Product.php#L142
Generic type Illuminate\Database\Eloquent\Relations\HasOne<Rapidez\Core\Models\ProductReviewSummary> in PHPDoc tag @return does not specify all template types of class Illuminate\Database\Eloquent\Relations\HasOne: TRelatedModel, TDeclaringModel
dusk (8.3, prefer-stable): src/Models/Product.php#L152
Generic type Illuminate\Database\Eloquent\Relations\HasMany<Rapidez\Core\Models\Rewrite> in PHPDoc tag @return does not specify all template types of class Illuminate\Database\Eloquent\Relations\HasMany: TRelatedModel, TDeclaringModel
dusk (8.3, prefer-stable)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/