Skip to content

Add option to hide providers #188

Add option to hide providers

Add option to hide providers #188

Triggered via pull request November 28, 2024 10:47
Status Failure
Total duration 50s
Artifacts

phpstan.yml

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

Annotations

12 errors
PHP 8.3 - Laravel 10.* - ubuntu-latest: tests/Fixtures/TestTenantUser.php#L1
Ignored error pattern #^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\)\>\.$# in path /home/runner/work/filament-socialite/filament-socialite/tests/Fixtures/TestTenantUser.php was not matched in reported errors.
PHP 8.3 - Laravel 10.* - ubuntu-latest: tests/Fixtures/TestTenantUser.php#L32
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
PHP 8.3 - Laravel 10.* - ubuntu-latest: tests/Fixtures/TestTenantUser.php#L34
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>.
PHP 8.3 - Laravel 10.* - ubuntu-latest
Process completed with exit code 1.
PHP 8.1 - Laravel 10.* - ubuntu-latest: tests/Fixtures/TestTenantUser.php#L1
Ignored error pattern #^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\)\>\.$# in path /home/runner/work/filament-socialite/filament-socialite/tests/Fixtures/TestTenantUser.php was not matched in reported errors.
PHP 8.1 - Laravel 10.* - ubuntu-latest: tests/Fixtures/TestTenantUser.php#L32
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
PHP 8.1 - Laravel 10.* - ubuntu-latest: tests/Fixtures/TestTenantUser.php#L34
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>.
PHP 8.1 - Laravel 10.* - ubuntu-latest
Process completed with exit code 1.
PHP 8.2 - Laravel 10.* - ubuntu-latest: tests/Fixtures/TestTenantUser.php#L1
Ignored error pattern #^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\)\>\.$# in path /home/runner/work/filament-socialite/filament-socialite/tests/Fixtures/TestTenantUser.php was not matched in reported errors.
PHP 8.2 - Laravel 10.* - ubuntu-latest: tests/Fixtures/TestTenantUser.php#L32
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
PHP 8.2 - Laravel 10.* - ubuntu-latest: tests/Fixtures/TestTenantUser.php#L34
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>.
PHP 8.2 - Laravel 10.* - ubuntu-latest
Process completed with exit code 1.