8000 [FrameworkBundle] Deprecate not setting some options by Jean-Beru · Pull Request #51325 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

[FrameworkBundle] Deprecate not setting some options #51325

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

Conversation

Jean-Beru
Copy link
Contributor
@Jean-Beru Jean-Beru commented Aug 9, 2023
Q A
Branch? 6.4
Bug fix? no
New feature? no
Deprecations? yes
Tickets Fix #51097
License MIT
Doc PR

This PR deprecates not setting 5 options in framework configuration to match the v7.0 recipe:

  • handle_all_throwables which is false by default and is set to true by recipe
  • php_errors.log which use $debug value by default and is set to true by recipe
  • session.cookie_secure (if session is enabled) which is null by default and is set to auto by recipe
  • session.cookie_samesite (if session is enabled) which is null by default and is set to lax by recipe
  • session.handler_id (if session is enabled) which is session.handler.native_file by default and is set to null by recipe (could be session.handler.native_file if framework.session.save_path is set)

See #51097.

@carsonbot carsonbot added this to the 6.4 milestone Aug 9, 2023
@Jean-Beru Jean-Beru force-pushed the framework-bundle/deprecate-configuration branch 4 times, most recently from 73c3fc6 to b5bba1a Compare August 9, 2023 20:40
@nicolas-grekas nicolas-grekas force-pushed the framework-bundle/deprecate-configuration branch from b0f411e to 7f9998e Compare August 17, 2023 15:58
@nicolas-grekas
Copy link
Member

I addressed theremaining issues.

@nicolas-grekas
Copy link
Member

Thank you @Jean-Beru.

@nicolas-grekas nicolas-grekas merged commit d07f17a into symfony:6.4 Aug 17, 2023
@GromNaN
Copy link
Member
GromNaN commented Aug 17, 2023

I think you can revert most of the changes in the tests in the 7.0 branch now that it has been merged.

@nicolas-grekas
Copy link
Member

Help wanted for the cleanup on 7.0!

nicolas-grekas added a commit that referenced this pull request Aug 23, 2023
…daubois)

This PR was merged into the 7.0 branch.

Discussion
----------

[FrameworkBundle] Remove config deprecations

| Q             | A
| ------------- | ---
| Branch?       | 7.0
| Bug fix?      | no
| New feature?  | no <!-- please update src/**/CHANGELOG.md files -->
| Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files -->
| Tickets       | -
| License       | MIT
| Doc PR        | Todo

Follow-up of:
- #51325
- #51357

Commits
-------

4fe6f5b [FrameworkBundle] Remove config deprecations
This was referenced Oct 21, 2023
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.

[RFC] Shrink recipes for v7
5 participants
0