Skip to content

[3.0][Security] Remove deprecated features #15899

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

Merged
merged 3 commits into from
Sep 30, 2015

Conversation

wouterj
Copy link
Member

@wouterj wouterj commented Sep 26, 2015

Q A
Bug fix? no
New feature? no
BC breaks? yes
Deprecations? no
Tests pass? yes
Fixed tickets -
License MIT
Doc PR -

@stof
Copy link
Member

stof commented Sep 26, 2015

You need to update the VoterFixture class to implement supports (or to get rid of the class). Otherwise the testsuite is broken.

@wouterj
Copy link
Member Author

wouterj commented Sep 26, 2015

@stof fixed by #15932 (wrong tests made it into the 2.8 branch)

@fabpot
Copy link
Member

fabpot commented Sep 30, 2015

@wouterj Can you finish this PR?

@wouterj wouterj force-pushed the security-deprecations branch from 2ea3de5 to 6f9e897 Compare September 30, 2015 13:10
@wouterj
Copy link
Member Author

wouterj commented Sep 30, 2015

@fabpot done. I've also removed AbstractVoter#isGranted() now

@wouterj wouterj changed the title [3.0] Removed supportsAttribute() and supportsClass() methods [3.0][Security] Remove deprecated features Sep 30, 2015
@fabpot
Copy link
Member

fabpot commented Sep 30, 2015

hmm, I've not checked, but I'm pretty sure they are some tests that need to be updated, no?

@wouterj
Copy link
Member Author

wouterj commented Sep 30, 2015

Indeed, found some other tests and removed them as well

@fabpot
Copy link
Member

fabpot commented Sep 30, 2015

@wouterj Looks like property-access is not in the composer.json (it's not even in 2.8 apparently)

@wouterj
Copy link
Member Author

wouterj commented Sep 30, 2015

@fabpot that's a bug introduced in #16007 and fixed in #16030 and not related to this PR, neither can I relate the other build failures to this PR.

@fabpot
Copy link
Member

fabpot commented Sep 30, 2015

Thank you @wouterj.

@fabpot fabpot merged commit c3c5989 into symfony:master Sep 30, 2015
fabpot added a commit that referenced this pull request Sep 30, 2015
This PR was merged into the 3.0-dev branch.

Discussion
----------

[3.0][Security] Remove deprecated features

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | yes
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | -
| License       | MIT
| Doc PR        | -

Commits
-------

c3c5989 Remove more tests
6f9e897 Remove AbstractVoter#isGranted() method
6b6de15 Removed supports{Attribute,Class}() methods
@wouterj wouterj deleted the security-deprecations branch September 30, 2015 20:37
Koc added a commit to Koc/symfony that referenced this pull request Sep 30, 2015
Koc added a commit to Koc/symfony that referenced this pull request Sep 30, 2015
Koc added a commit to Koc/symfony that referenced this pull request Oct 1, 2015
Koc added a commit to Koc/symfony that referenced this pull request Oct 1, 2015
Koc added a commit to Koc/symfony that referenced this pull request Oct 1, 2015
Koc added a commit to Koc/symfony that referenced this pull request Oct 1, 2015
Koc added a commit to Koc/symfony that referenced this pull request Oct 1, 2015
Koc added a commit to Koc/symfony that referenced this pull request Oct 1, 2015
Koc added a commit to Koc/symfony that referenced this pull request Oct 1, 2015
fabpot added a commit that referenced this pull request Oct 2, 2015
#15899) (Koc)

This PR was merged into the 3.0-dev branch.

Discussion
----------

[3.0][Security] Remove deprecated features (follow up of #15899)

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | yes
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #15899
| License       | MIT
| Doc PR        | -

- updated UPGRADE-3.0.md
- removed unused `supportsClass` methods
- changed visibility of `supportsAttribute` methods from public to private, removed `inheritdoc` annotation from them because there is no definition for this methods in parent interface
- removed tests for `supportsClass` and `supportsAttribute` method
- removed unused mock creation

Commits
-------

437398d [3.0][Security] Remove deprecated features (follow up of #15899)
@fabpot fabpot mentioned this pull request Nov 16, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants