Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.7k
[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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
71cd16c to1af45e1Comparewouterj commentedAug 12, 2021
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). |
nicolas-grekas commentedAug 12, 2021
Works for me, I'll rebase after. |
1af45e1 to8f951bcCompareStaffNowa commentedAug 15, 2021
By the way fabbot not happy 😃😊 |
3ad6d62 to077a238Compare
nicolas-grekas left a comment
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 OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
src/Symfony/Component/Security/Core/Authentication/Token/NullToken.php OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
src/Symfony/Component/Security/Core/Authentication/AuthenticationTrustResolverInterface.php OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
src/Symfony/Component/Security/Core/Authentication/Token/NullToken.php OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
src/Symfony/Component/Security/Core/Authentication/Token/AbstractToken.php OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
src/Symfony/Component/Security/Core/Authentication/Token/RememberMeToken.php OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
src/Symfony/Component/Security/Core/Authentication/Token/TokenInterface.php OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
src/Symfony/Component/Security/Core/Exception/AuthenticationException.php OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
src/Symfony/Component/Security/Core/Authentication/Token/NullToken.php OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
src/Symfony/Bundle/SecurityBundle/DependencyInjection/SecurityExtension.phpShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
src/Symfony/Component/Security/Csrf/CsrfTokenManagerInterface.php OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
src/Symfony/Component/Security/Csrf/CsrfTokenManagerInterface.php OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
src/Symfony/Component/Security/Csrf/CsrfTokenManagerInterface.php OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
src/Symfony/Component/Security/Csrf/TokenGenerator/TokenGeneratorInterface.php OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
src/Symfony/Component/Security/Csrf/TokenStorage/TokenStorageInterface.php OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
077a238 to873b1eeCompared003dfa tob71fa54Compare…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 | -Seesymfony/symfony#42513 (comment) for rationale.Commits-------974e4ba23d [Security] fix restrictive return annotation
b71fa54 toea1af77Compareea1af77 to8871327Compare
Extracted from#42496
Not all possible return types are patched for the attached components, to save breaking BC cross-components, for now at least.