Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHPStan detect error #1049

Open
Geovanek opened this issue Aug 3, 2023 · 1 comment
Open

PHPStan detect error #1049

Geovanek opened this issue Aug 3, 2023 · 1 comment

Comments

@Geovanek
Copy link

Geovanek commented Aug 3, 2023

Hello,

Using Larastan for static code analysis, the following error always appears.

I've tried a few things but I couldn't get around it, except asking PHPStan to ignore these lines.

Line   Traits/SocialiteProviders/StravaSocialiteProvider.php (in context of class
         App\Http\Controllers\Auth\LoginController)
 ------ --------------------------------------------------------------------------------
  18     Call to an undefined method Laravel\Socialite\Contracts\Provider::setScopes().
  26     Call to an undefined method Laravel\Socialite\Contracts\Provider::stateless().
@atymic
Copy link
Member

atymic commented Feb 7, 2024

Feel free to PR a fix for this. I'm not familiar with PHPstan

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants