Skip to content

get by primary key, instead of array #352

get by primary key, instead of array

get by primary key, instead of array #352

Triggered via push October 16, 2024 14:48
Status Failure
Total duration 1m 13s
Artifacts

phpStan.yml

on: push
Matrix: laravel
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 3 warnings
Laravel (PHP 8.3 on ubuntu-latest): src/Models/Article.php#L73
Unable to resolve the template type TRelatedModel in call to method Illuminate\Database\Eloquent\Model::morphMany()
Laravel (PHP 8.3 on ubuntu-latest): src/Models/Article.php#L138
Parameter #1 $column of method Illuminate\Database\Eloquent\Builder<Illuminate\Database\Eloquent\Model>::whereLike() expects Illuminate\Contracts\Database\Query\Expression|string, array<int, string> given.
Laravel (PHP 8.3 on ubuntu-latest): src/Models/Comment.php#L103
Unable to resolve the template type TRelatedModel in call to method Illuminate\Database\Eloquent\Model::belongsTo()
Laravel (PHP 8.3 on ubuntu-latest): src/Models/Comment.php#L108
Unable to resolve the template type TRelatedModel in call to method Illuminate\Database\Eloquent\Model::morphMany()
Laravel (PHP 8.3 on ubuntu-latest): src/Models/Contact.php#L71
Unable to resolve the template type TRelatedModel in call to method Illuminate\Database\Eloquent\Model::morphToMany()
Laravel (PHP 8.3 on ubuntu-latest): src/Models/Contact.php#L81
Parameter #1 $column of method Illuminate\Database\Eloquent\Builder<Illuminate\Database\Eloquent\Model>::whereLike() expects Illuminate\Contracts\Database\Query\Expression|string, array<int, string> given.
Laravel (PHP 8.3 on ubuntu-latest): src/Models/File.php#L71
Parameter #1 $column of method Illuminate\Database\Eloquent\Builder<Illuminate\Database\Eloquent\Model>::whereLike() expects Illuminate\Contracts\Database\Query\Expression|string, array<int, string> given.
Laravel (PHP 8.3 on ubuntu-latest): src/Models/Image.php#L64
Unable to resolve the template type TRelatedModel in call to method Illuminate\Database\Eloquent\Model::morphMany()
Laravel (PHP 8.3 on ubuntu-latest): src/Models/Image.php#L77
Parameter #1 $column of method Illuminate\Database\Eloquent\Builder<Illuminate\Database\Eloquent\Model>::whereLike() expects Illuminate\Contracts\Database\Query\Expression|string, array<int, string> given.
Laravel (PHP 8.3 on ubuntu-latest): src/Models/Menu.php#L51
Unable to resolve the template type TRelatedModel in call to method Illuminate\Database\Eloquent\Model::hasMany()
Laravel (PHP 8.3 on ubuntu-latest)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Laravel (PHP 8.3 on ubuntu-latest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Laravel (PHP 8.3 on ubuntu-latest)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/