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

Fixed deprecation of security.context on AdminSecurityController #834

Merged
merged 1 commit into from
Feb 4, 2017

Conversation

jordisala1991
Copy link
Member

@jordisala1991 jordisala1991 commented Feb 3, 2017

I am targetting this branch, because it is BC.

Changelog

### Fixed
- Deprecation of `security.context` on `AdminSecurityController`

Subject

It removes a deprecated message. The code was testing if a class_exists on an interface (that always returns false). I replaced it with a container has method, which is used earlier in the same class for another BC trick.

@jordisala1991
Copy link
Member Author

Added another commit replacing other security.context get calls

@greg0ire
Copy link
Contributor

greg0ire commented Feb 3, 2017

We'll squash them for you, but please next time use git commit --amend && git push --force ;)

@jordisala1991
Copy link
Member Author

jordisala1991 commented Feb 3, 2017

I can do it when the build passes.

@greg0ire
Copy link
Contributor

greg0ire commented Feb 3, 2017

I can do it once the build passes.

As you wish, really

@jordisala1991
Copy link
Member Author

Test failed because of phpunit version?

@greg0ire
Copy link
Contributor

greg0ire commented Feb 3, 2017

Yes, sorry for that, see sonata-project/dev-kit#231

@greg0ire greg0ire merged commit cb9fe90 into sonata-project:3.x Feb 4, 2017
@greg0ire
Copy link
Contributor

greg0ire commented Feb 4, 2017

Thanks @jordisala1991 !

@jordisala1991 jordisala1991 deleted the hotfix/class_exists branch February 4, 2017 10:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants