-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[Security] add return types #42513
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
[Security] add return types #42513
Conversation
71cd16c
to
1af45e1
Compare
If I'm correct, these changes are all automated (correct me if I'm wrong). In that case, I would appreciate it if this could be merged after #41613, to avoid merge conflicts (I'm currently working on the last 5.4 PR that is blocking the merge). |
Works for me, I'll rebase after. |
1af45e1
to
8f951bc
Compare
By the way fabbot not happy 😃😊 |
3ad6d62
to
077a238
Compare
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.
/cc @wouterj here are some comments for you I guess (+ review welcome of course :) )
src/Symfony/Component/Security/Core/Authentication/AuthenticationTrustResolverInterface.php
Outdated
Show resolved
Hide resolved
src/Symfony/Component/Security/Core/Authentication/Token/NullToken.php
Outdated
Show resolved
Hide resolved
src/Symfony/Component/Security/Core/Authentication/AuthenticationTrustResolverInterface.php
Outdated
Show resolved
Hide resolved
src/Symfony/Component/Security/Core/Authentication/Token/NullToken.php
Outdated
Show resolved
Hide resolved
src/Symfony/Component/Security/Core/Authentication/Token/AbstractToken.php
Outdated
Show resolved
Hide resolved
src/Symfony/Component/Security/Core/Authentication/Token/RememberMeToken.php
Outdated
Show resolved
Hide resolved
src/Symfony/Component/Security/Core/Authentication/Token/TokenInterface.php
Outdated
Show resolved
Hide resolved
src/Symfony/Component/Security/Core/Exception/AuthenticationException.php
Outdated
Show resolved
Hide resolved
src/Symfony/Component/Security/Core/Authentication/Token/NullToken.php
Outdated
Show resolved
Hide resolved
src/Symfony/Bundle/SecurityBundle/DependencyInjection/SecurityExtension.php
Show resolved
Hide resolved
src/Symfony/Component/Security/Csrf/CsrfTokenManagerInterface.php
Outdated
Show resolved
Hide resolved
src/Symfony/Component/Security/Csrf/CsrfTokenManagerInterface.php
Outdated
Show resolved
Hide resolved
src/Symfony/Component/Security/Csrf/CsrfTokenManagerInterface.php
Outdated
Show resolved
Hide resolved
src/Symfony/Component/Security/Csrf/TokenGenerator/TokenGeneratorInterface.php
Outdated
Show resolved
Hide resolved
src/Symfony/Component/Security/Csrf/TokenStorage/TokenStorageInterface.php
Outdated
Show resolved
Hide resolved
077a238
to
873b1ee
Compare
d003dfa
to
b71fa54
Compare
…ekas) This PR was merged into the 5.4 branch. Discussion ---------- [Security] fix restrictive return annotation | Q | A | ------------- | --- | Branch? | 5.4 | Bug fix? | no | New feature? | no | Deprecations? | no | Tickets | - | License | MIT | Doc PR | - See #42513 (comment) for rationale. Commits ------- 974e4ba [Security] fix restrictive return annotation
…ekas) This PR was merged into the 5.4 branch. Discussion ---------- [Security] fix restrictive return annotation | Q | A | ------------- | --- | Branch? | 5.4 | Bug fix? | no | New feature? | no | Deprecations? | no | Tickets | - | License | MIT | Doc PR | - See symfony/symfony#42513 (comment) for rationale. Commits ------- 974e4ba23d [Security] fix restrictive return annotation
b71fa54
to
ea1af77
Compare
ea1af77
to
8871327
Compare
Extracted from #42496
Not all possible return types are patched for the attached components, to save breaking BC cross-components, for now at least.