Skip to content
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

removal of unused function in AuthorizeController #470

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

N-M
Copy link

@N-M N-M commented Jun 19, 2017

No description provided.

@GuilhemN
Copy link
Member

Since the controller is public, it should rather be deprecated first.

Copy link
Member

@GuilhemN GuilhemN left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Except my last comments 👍

*/
protected function getRedirectionUrl(UserInterface $user)
{
@trigger_error('deprecated', E_USER_DEPRECATED);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@trigger_error(sprintf('%s() is deprecated since version 1.6 and will be removed in 2.0', __METHOD__))

@@ -242,9 +242,13 @@ protected function processSuccess(UserInterface $user, AuthorizeFormHandler $for
* @param UserInterface $user
*
* @return string
*
* @deprecated since 1.5.2, to be removed in 2.0
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since 1.6

Nikola Mijajlovic added 2 commits February 17, 2018 00:20
…ndle into unused-code

# Conflicts:
#	Controller/AuthorizeController.php
*/
protected function getRedirectionUrl(UserInterface $user)
{
@trigger_error(sprintf('%s() is deprecated since version 1.6 and will be removed in 2.0', __METHOD__));

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please remove spaces, it makes the tests fail

Copy link
Member

@GuilhemN GuilhemN left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, wdyt @dkarlovi?

@dkarlovi
Copy link
Contributor

It should target 1.6, no?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants