Skip to content

Merge pull request #8 from marco76tv/patch-1 #66

Merge pull request #8 from marco76tv/patch-1

Merge pull request #8 from marco76tv/patch-1 #66

Triggered via push November 3, 2023 12:39
Status Failure
Total duration 52s
Artifacts

phpstan.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
phpstan: database/factories/TeamFactory.php#L16
Class App\Models\Team not found.
phpstan: database/factories/TeamFactory.php#L16
PHPDoc type string of property Database\Factories\TeamFactory::$model is not covariant with PHPDoc type class-string<Illuminate\Database\Eloquent\Model> of overridden property Illuminate\Database\Eloquent\Factories\Factory<Illuminate\Database\Eloquent\Model>::$model.
phpstan: database/factories/TeamFactory.php#L23
Return type (array<string, mixed>) of method Database\Factories\TeamFactory::definition() should be compatible with return type (array<string, mixed>) of method Illuminate\Database\Eloquent\Factories\Factory<Illuminate\Database\Eloquent\Model>::definition()
phpstan: database/factories/TeamFactory.php#L27
Call to static method factory() on an unknown class App\Models\User.
phpstan: database/factories/UserFactory.php#L18
Class App\Models\User not found.
phpstan: database/factories/UserFactory.php#L18
PHPDoc type string of property Database\Factories\UserFactory::$model is not covariant with PHPDoc type class-string<Illuminate\Database\Eloquent\Model> of overridden property Illuminate\Database\Eloquent\Factories\Factory<Illuminate\Database\Eloquent\Model>::$model.
phpstan: database/factories/UserFactory.php#L25
Return type (array<string, mixed>) of method Database\Factories\UserFactory::definition() should be compatible with return type (array<string, mixed>) of method Illuminate\Database\Eloquent\Factories\Factory<Illuminate\Database\Eloquent\Model>::definition()
phpstan: database/factories/UserFactory.php#L43
Method Database\Factories\UserFactory::unverified() should return $this(Database\Factories\UserFactory) but returns static(Database\Factories\UserFactory).
phpstan: database/factories/UserFactory.php#L58
Method Database\Factories\UserFactory::withPersonalTeam() should return $this(Database\Factories\UserFactory) but returns static(Database\Factories\UserFactory).
phpstan: database/factories/UserFactory.php#L61
Method Database\Factories\UserFactory::withPersonalTeam() should return $this(Database\Factories\UserFactory) but returns static(Database\Factories\UserFactory).
phpstan
The following actions uses node12 which is deprecated and will be forced to run on node16: ramsey/composer-install@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
phpstan
The `save-state` 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/