-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[Security][Http] Add type-hints #32314
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
src/Symfony/Component/Security/Http/Logout/LogoutUrlGenerator.php
Outdated
Show resolved
Hide resolved
src/Symfony/Component/Security/Http/Logout/LogoutUrlGenerator.php
Outdated
Show resolved
Hide resolved
Please also check the failing unit tests. They are related to your changes. |
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.
Code wise everything looks fine, got a few remarks on docblocks and return types that could be improved upon, but shouldn't be blocking this PR in my opinion
src/Symfony/Component/Security/Http/Authentication/AuthenticationUtils.php
Show resolved
Hide resolved
src/Symfony/Component/Security/Http/Authentication/DefaultAuthenticationSuccessHandler.php
Outdated
Show resolved
Hide resolved
@andreia Can you have a look at the remaining comment here? Thank you. |
@fabpot Done |
src/Symfony/Component/Security/Http/RememberMe/TokenBasedRememberMeServices.php
Show resolved
Hide resolved
src/Symfony/Component/Security/Http/RememberMe/TokenBasedRememberMeServices.php
Show resolved
Hide resolved
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.
I fixed fabbot and removed some ?
for args which have null
as default value. Ready
src/Symfony/Component/Security/Http/Logout/LogoutUrlGenerator.php
Outdated
Show resolved
Hide resolved
src/Symfony/Component/Security/Http/Logout/LogoutUrlGenerator.php
Outdated
Show resolved
Hide resolved
Thank you @andreia. |
This PR was merged into the 5.0-dev branch. Discussion ---------- [Security][Http] Add type-hints | Q | A | ------------- | --- | Branch? | 5.0 | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | #32179 | License | MIT | Doc PR | This PR adds type-hints to the HTTP Security sub-component. Commits ------- 6bae9bc [Security][Http] Add type-hints
This PR adds type-hints to the HTTP Security sub-component.