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
Upgrade phpstan to level 2 #14053
Upgrade phpstan to level 2 #14053
Conversation
25a4897
to
96031ab
Compare
Almost ready. Needs SyliusLabs/PolyfillSymfonyFrameworkBundle#3 to be completed. |
src/Sylius/Bundle/ApiBundle/ApiPlatform/Bridge/Symfony/Routing/CachedRouteNameResolver.php
Outdated
Show resolved
Hide resolved
a14213b
to
e01e89d
Compare
@lruozzi9 can you please resolve conflicts? |
620b3cf
to
826c3ec
Compare
Hi @lruozzi9! |
826c3ec
to
9bd9b50
Compare
Hello @TheMilek! After giving Psalm some blows with a hammer now looks ok! |
ced2db9
to
09f82d2
Compare
09f82d2
to
520d9e7
Compare
@@ -79,6 +80,9 @@ public function isDeletionSuccessful(Response $response): bool | |||
|
|||
public function hasAccessDenied(Response $response): bool | |||
{ | |||
if (!$response instanceof JWTAuthenticationFailureResponse) { | |||
return false; | |||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
} | |
} | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@lruozzi9
Still actual, though why it wasn't caught by CS checks in the first place.
Thanks, Lorenzo! 🥇 |
Still in draft, PR not completed.