Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 78b6b5a

Browse files
stofondrejmirtes
authored andcommitted
Remove the generic type for PasswordUpgraderInterface
This interface method can be called on a user provider even for user types not supported by that provider (for instance when using a chain provider). The implementation is expected to deal with that case gracefully, which will be enforced by phpstan when the generics are gone.
1 parent 08b97ab commit 78b6b5a

File tree

4 files changed

+0
-62
lines changed

4 files changed

+0
-62
lines changed

‎extension.neon‎

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ parameters:
2222
- Symfony\Component\Form\FormTypeInterface
2323
- Symfony\Component\OptionsResolver\Options
2424
- Symfony\Component\Security\Core\Authorization\Voter\Voter
25-
- Symfony\Component\Security\Core\User\PasswordUpgraderInterface
2625
stubFiles:
2726
- stubs/Psr/Cache/CacheException.stub
2827
- stubs/Psr/Cache/CacheItemInterface.stub
@@ -333,10 +332,6 @@ services:
333332
class: PHPStan\Symfony\InputBagStubFilesExtension
334333
tags:
335334
- phpstan.stubFilesExtension
336-
-
337-
class: PHPStan\Symfony\PasswordAuthenticatedUserStubFilesExtension
338-
tags:
339-
- phpstan.stubFilesExtension
340335
-
341336
class: PHPStan\Symfony\SymfonyDiagnoseExtension
342337
tags:

‎src/Symfony/PasswordAuthenticatedUserStubFilesExtension.php‎

Lines changed: 0 additions & 36 deletions
This file was deleted.

‎stubs/Symfony/Component/Security/Core/User/PasswordAuthenticatedUserInterface.stub‎

Lines changed: 0 additions & 7 deletions
This file was deleted.

‎stubs/Symfony/Component/Security/Core/User/PasswordUpgraderInterface.stub‎

Lines changed: 0 additions & 14 deletions
This file was deleted.

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /