Update dependencies #2776
Annotations
10 errors and 1 warning
Run vendor/bin/phpstan:
tests/Utils/Models/Post.php#L94
Generic type Illuminate\Database\Eloquent\Relations\HasOne<Tests\Utils\Models\PostStatus, $this(Tests\Utils\Models\Post)> in PHPDoc tag @return specifies 2 template types, but class Illuminate\Database\Eloquent\Relations\HasOne supports only 1: TRelatedModel
|
Run vendor/bin/phpstan:
tests/Utils/Models/Post.php#L96
Method Tests\Utils\Models\Post::status() should return Illuminate\Database\Eloquent\Relations\HasOne<Tests\Utils\Models\PostStatus, Tests\Utils\Models\Post> but returns Illuminate\Database\Eloquent\Relations\HasOne<Tests\Utils\Models\PostStatus>.
|
Run vendor/bin/phpstan:
tests/Utils/Models/Post.php#L106
Generic type Illuminate\Database\Eloquent\Relations\MorphToMany<Tests\Utils\Models\Tag, $this(Tests\Utils\Models\Post)> in PHPDoc tag @return specifies 2 template types, but class Illuminate\Database\Eloquent\Relations\MorphToMany supports only 1: TRelatedModel
|
Run vendor/bin/phpstan:
tests/Utils/Models/Post.php#L108
Method Tests\Utils\Models\Post::tags() should return Illuminate\Database\Eloquent\Relations\MorphToMany<Tests\Utils\Models\Tag, Tests\Utils\Models\Post> but returns Illuminate\Database\Eloquent\Relations\MorphToMany<Tests\Utils\Models\Tag>.
|
Run vendor/bin/phpstan:
tests/Utils/Models/Tag.php#L28
Generic type Illuminate\Database\Eloquent\Relations\MorphToMany<Tests\Utils\Models\Post, $this(Tests\Utils\Models\Tag)> in PHPDoc tag @return specifies 2 template types, but class Illuminate\Database\Eloquent\Relations\MorphToMany supports only 1: TRelatedModel
|
Run vendor/bin/phpstan:
tests/Utils/Models/Tag.php#L30
Method Tests\Utils\Models\Tag::posts() should return Illuminate\Database\Eloquent\Relations\MorphToMany<Tests\Utils\Models\Post, Tests\Utils\Models\Tag> but returns Illuminate\Database\Eloquent\Relations\MorphToMany<Tests\Utils\Models\Post>.
|
Run vendor/bin/phpstan:
tests/Utils/Models/Tag.php#L34
Generic type Illuminate\Database\Eloquent\Relations\MorphToMany<Tests\Utils\Models\Task, $this(Tests\Utils\Models\Tag)> in PHPDoc tag @return specifies 2 template types, but class Illuminate\Database\Eloquent\Relations\MorphToMany supports only 1: TRelatedModel
|
Run vendor/bin/phpstan:
tests/Utils/Models/Tag.php#L36
Method Tests\Utils\Models\Tag::tasks() should return Illuminate\Database\Eloquent\Relations\MorphToMany<Tests\Utils\Models\Task, Tests\Utils\Models\Tag> but returns Illuminate\Database\Eloquent\Relations\MorphToMany<Tests\Utils\Models\Task>.
|
Run vendor/bin/phpstan:
tests/Utils/Models/Task.php#L79
Generic type Illuminate\Database\Eloquent\Relations\HasOne<Tests\Utils\Models\Post, $this(Tests\Utils\Models\Task)> in PHPDoc tag @return specifies 2 template types, but class Illuminate\Database\Eloquent\Relations\HasOne supports only 1: TRelatedModel
|
Run vendor/bin/phpstan:
tests/Utils/Models/Task.php#L81
Method Tests\Utils\Models\Task::post() should return Illuminate\Database\Eloquent\Relations\HasOne<Tests\Utils\Models\Post, Tests\Utils\Models\Task> but returns Illuminate\Database\Eloquent\Relations\HasOne<Tests\Utils\Models\Post>.
|
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Loading