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

[FrameworkBundle] Deprecate some public services to private #36691

Merged
merged 1 commit into from
Jul 31, 2020

Conversation

fancyweb
Copy link
Contributor

@fancyweb fancyweb commented May 4, 2020

Q A
Branch? master
Bug fix? no
New feature? no
Deprecations? yes
Tickets -
License MIT
Doc PR -

Now that we can deprecate public services to private, here is a first pass on the FWB. I think all those services don't need to be public, ie we never need to access them directly in Symfony's code (except in some tests that I had to modify accordingly). I think most of theses services needed to be public before we hooked the AbstractController with a service subscriber. There are definitely more of them that can be deprecated (ie: created workflows and state machines are public but don't need to be ?) but let's start with the easy ones.

@nicolas-grekas
Copy link
Member

Can you please update for 5.2?
5.1 is closed now.

@fancyweb fancyweb force-pushed the fwb-deprecate-public-services-1 branch 2 times, most recently from cf659dd to fa99591 Compare May 7, 2020 10:47
@fancyweb fancyweb force-pushed the fwb-deprecate-public-services-1 branch from fa99591 to 1fd14ff Compare June 9, 2020 09:52
@fancyweb
Copy link
Contributor Author

fancyweb commented Jun 9, 2020

@nicolas-grekas Should I split this PR service by service to ease the review?

@Tobion
Copy link
Contributor

Tobion commented Jun 13, 2020

No need to split IMO. But this should wait on #37186 due to all the conflicts.

@nicolas-grekas
Copy link
Member

Time for rebase :)

@fancyweb fancyweb force-pushed the fwb-deprecate-public-services-1 branch from 1fd14ff to 805c71d Compare July 3, 2020 08:43
@fancyweb fancyweb force-pushed the fwb-deprecate-public-services-1 branch from 805c71d to 87868ba Compare July 3, 2020 08:47
@fabpot
Copy link
Member

fabpot commented Jul 31, 2020

Thank you @fancyweb.

@fabpot fabpot merged commit 32941f2 into symfony:master Jul 31, 2020
@fancyweb fancyweb deleted the fwb-deprecate-public-services-1 branch July 31, 2020 07:22
fabpot added a commit that referenced this pull request Aug 12, 2020
…ogizanagi)

This PR was merged into the 5.2-dev branch.

Discussion
----------

[FrameworkBundle] Fix 7.4 CachePools integration tests

| Q             | A
| ------------- | ---
| Branch?       | master <!-- see below -->
| Bug fix?      | no
| New feature?  | no <!-- please update src/**/CHANGELOG.md files -->
| Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files -->
| Tickets       | #36691 <!-- prefix each issue number with "Fix #", no need to create an issue if none exist, explain below instead -->
| License       | MIT
| Doc PR        | N/A

Attempt to fix https://github.com/symfony/symfony/runs/975252922#step:11:56 on master.

Commits
-------

d3ef8ba [FrameworkBundle] Fix 7.4 CachePools integration tests
@nicolas-grekas nicolas-grekas modified the milestones: next, 5.2 Oct 5, 2020
@fabpot fabpot mentioned this pull request Oct 5, 2020
fabpot added a commit that referenced this pull request Apr 18, 2021
…(fancyweb)

This PR was merged into the 5.3-dev branch.

Discussion
----------

[SecurityBundle] Deprecate public services to private

| Q             | A
| ------------- | ---
| Branch?       | 5.x
| Bug fix?      | no
| New feature?  | no
| Deprecations? | yes
| Tickets       | -
| License       | MIT
| Doc PR        | -

Follow up of #36691 on the SecurityBundle

Commits
-------

56be86a [SecurityBundle] Deprecate public services to private
symfony-splitter pushed a commit to symfony/framework-bundle that referenced this pull request Apr 18, 2021
…(fancyweb)

This PR was merged into the 5.3-dev branch.

Discussion
----------

[SecurityBundle] Deprecate public services to private

| Q             | A
| ------------- | ---
| Branch?       | 5.x
| Bug fix?      | no
| New feature?  | no
| Deprecations? | yes
| Tickets       | -
| License       | MIT
| Doc PR        | -

Follow up of symfony/symfony#36691 on the SecurityBundle

Commits
-------

56be86aa7d [SecurityBundle] Deprecate public services to private
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.

5 participants