Skip to content

Commit

Permalink
update baseline
Browse files Browse the repository at this point in the history
  • Loading branch information
dododedodonl committed Nov 28, 2024
1 parent 7b927a5 commit 9eff682
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions phpstan-baseline.neon
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@ parameters:
count: 1
path: src/Http/Controllers/SocialiteLoginController.php

-
message: "#^Method DutchCodingCompany\\\\FilamentSocialite\\\\Tests\\\\Fixtures\\\\TestTenantUser\\:\\:teams\\(\\) should return Illuminate\\\\Database\\\\Eloquent\\\\Relations\\\\BelongsToMany\\<DutchCodingCompany\\\\FilamentSocialite\\\\Tests\\\\Fixtures\\\\TestTeam, static\\(DutchCodingCompany\\\\FilamentSocialite\\\\Tests\\\\Fixtures\\\\TestTenantUser\\)\\> but returns Illuminate\\\\Database\\\\Eloquent\\\\Relations\\\\BelongsToMany\\<DutchCodingCompany\\\\FilamentSocialite\\\\Tests\\\\Fixtures\\\\TestTeam, \\$this\\(DutchCodingCompany\\\\FilamentSocialite\\\\Tests\\\\Fixtures\\\\TestTenantUser\\)\\>\\.$#"
count: 1
path: tests/Fixtures/TestTenantUser.php

-
message: "#^Call to an undefined method Mockery\\\\ExpectationInterface\\|Mockery\\\\HigherOrderMessage\\:\\:andReturn\\(\\)\\.$#"
count: 3
Expand Down
2 changes: 1 addition & 1 deletion tests/Fixtures/TestTenantUser.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public function getTenants(Panel $panel): Collection
}

/**
* @return \Illuminate\Database\Eloquent\Relations\BelongsToMany<\DutchCodingCompany\FilamentSocialite\Tests\Fixtures\TestTeam>
* @return \Illuminate\Database\Eloquent\Relations\BelongsToMany<\DutchCodingCompany\FilamentSocialite\Tests\Fixtures\TestTeam, static>
*/
public function teams(): BelongsToMany

Check failure on line 32 in tests/Fixtures/TestTenantUser.php

View workflow job for this annotation

GitHub Actions / PHP 8.3 - Laravel 10.* - ubuntu-latest

Generic type Illuminate\Database\Eloquent\Relations\BelongsToMany<DutchCodingCompany\FilamentSocialite\Tests\Fixtures\TestTeam, static(DutchCodingCompany\FilamentSocialite\Tests\Fixtures\TestTenantUser)> in PHPDoc tag @return specifies 2 template types, but class Illuminate\Database\Eloquent\Relations\BelongsToMany supports only 1: TRelatedModel

Check failure on line 32 in tests/Fixtures/TestTenantUser.php

View workflow job for this annotation

GitHub Actions / PHP 8.2 - Laravel 10.* - ubuntu-latest

Generic type Illuminate\Database\Eloquent\Relations\BelongsToMany<DutchCodingCompany\FilamentSocialite\Tests\Fixtures\TestTeam, static(DutchCodingCompany\FilamentSocialite\Tests\Fixtures\TestTenantUser)> in PHPDoc tag @return specifies 2 template types, but class Illuminate\Database\Eloquent\Relations\BelongsToMany supports only 1: TRelatedModel

Check failure on line 32 in tests/Fixtures/TestTenantUser.php

View workflow job for this annotation

GitHub Actions / PHP 8.3 - Laravel 10.* - ubuntu-latest

Generic type Illuminate\Database\Eloquent\Relations\BelongsToMany<DutchCodingCompany\FilamentSocialite\Tests\Fixtures\TestTeam, static(DutchCodingCompany\FilamentSocialite\Tests\Fixtures\TestTenantUser)> in PHPDoc tag @return specifies 2 template types, but class Illuminate\Database\Eloquent\Relations\BelongsToMany supports only 1: TRelatedModel

Check failure on line 32 in tests/Fixtures/TestTenantUser.php

View workflow job for this annotation

GitHub Actions / PHP 8.1 - Laravel 10.* - ubuntu-latest

Generic type Illuminate\Database\Eloquent\Relations\BelongsToMany<DutchCodingCompany\FilamentSocialite\Tests\Fixtures\TestTeam, static(DutchCodingCompany\FilamentSocialite\Tests\Fixtures\TestTenantUser)> in PHPDoc tag @return specifies 2 template types, but class Illuminate\Database\Eloquent\Relations\BelongsToMany supports only 1: TRelatedModel

Check failure on line 32 in tests/Fixtures/TestTenantUser.php

View workflow job for this annotation

GitHub Actions / PHP 8.2 - Laravel 10.* - ubuntu-latest

Generic type Illuminate\Database\Eloquent\Relations\BelongsToMany<DutchCodingCompany\FilamentSocialite\Tests\Fixtures\TestTeam, static(DutchCodingCompany\FilamentSocialite\Tests\Fixtures\TestTenantUser)> in PHPDoc tag @return specifies 2 template types, but class Illuminate\Database\Eloquent\Relations\BelongsToMany supports only 1: TRelatedModel

Check failure on line 32 in tests/Fixtures/TestTenantUser.php

View workflow job for this annotation

GitHub Actions / PHP 8.1 - Laravel 10.* - ubuntu-latest

Generic type Illuminate\Database\Eloquent\Relations\BelongsToMany<DutchCodingCompany\FilamentSocialite\Tests\Fixtures\TestTeam, static(DutchCodingCompany\FilamentSocialite\Tests\Fixtures\TestTenantUser)> in PHPDoc tag @return specifies 2 template types, but class Illuminate\Database\Eloquent\Relations\BelongsToMany supports only 1: TRelatedModel
{
Expand Down

0 comments on commit 9eff682

Please sign in to comment.