-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[2.6] [SecurityBundle] use TokenStorageInterface instead of deprecated SecurityContextInterface in SecurityDataCollector and added unit tests suite. #13045
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
Conversation
Q | A |
---|---|
Bug fix? | no |
New feature? | no |
BC breaks? | no |
Deprecations? | no |
Tests pass? | yes |
Fixed tickets | ~ |
License | MIT |
Doc PR | ~ |
@hhamon The tests would make sense in 2.3 as well. |
Indeed! I will backport the test on Symfony 2.3 as well. |
How public is this class? When I made the split, I didn't change any classes using the |
@iltar Given that |
@xabbuh in theory nothing would break, but for people extending this class, things might change. Hence this should be done carefully depending on whether this is public or not. |
The constructor is the only method that can be overriden safely. As I didn't change the argument order and considering the |
dd05b2a
to
cd4af9d
Compare
Just added an extra unit test to ensure injecting a |
cd4af9d
to
8000
875fda0
Compare
Looking good to me 👍 |
…rityContextInterface in SecurityDataCollector and added unit tests suite.
875fda0
to
ea4cf33
Compare
Thank you @hhamon. |
… of deprecated SecurityContextInterface in SecurityDataCollector and added unit tests suite. (hhamon) This PR was merged into the 2.6 branch. Discussion ---------- [2.6] [SecurityBundle] use TokenStorageInterface instead of deprecated SecurityContextInterface in SecurityDataCollector and added unit tests suite. | Q | A | ------------- | --- | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | ~ | License | MIT | Doc PR | ~ Commits ------- ea4cf33 [SecurityBundle] use TokenStorageInterface instead of deprecated SecurityContextInterface in SecurityDataCollector and added unit tests suite.