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

Update Skeleton to Symfony 7.2 #266

Draft
wants to merge 4 commits into
base: 2.6
Choose a base branch
from

Conversation

alexander-schranz
Copy link
Member

Q A
Bug fix? no
New feature? no
BC breaks? no
Deprecations? no
Fixed tickets fixes #issuenum
Related issues/PRs #issuenum
License MIT
Documentation PR sulu/sulu-docs#prnum

What's in this PR?

Update to Symfony 7.2.

Why?

Try reproduce sulu/sulu#7696. But looks like if all is correctly done and recipes update conflicts correctly resolve Sulu works like expected.

@alexander-schranz alexander-schranz force-pushed the feature/symfony-7-2-update branch from 2b37f86 to f6f4435 Compare December 9, 2024 11:51
Comment on lines +4 to +11
# csrf_protection:
# token_id: submit
#
# csrf_protection:
# stateless_token_ids:
# - submit
# - authenticate
# - logout
Copy link
Member Author

@alexander-schranz alexander-schranz Dec 9, 2024

Choose a reason for hiding this comment

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

This is enabled by default in Symfony Skeleton. Not sure if we should enable it or not.

We need to test sulu/form-bundle before merging it / enabled it. Also updates its csrf protection documentation.

@@ -1,8 +1,7 @@
# see https://symfony.com/doc/current/reference/configuration/framework.html
framework:
secret: '%env(APP_SECRET)%'
#csrf_protection: true
Copy link
Member Author

Choose a reason for hiding this comment

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

was moved to own csrf.yaml file

@alexander-schranz alexander-schranz marked this pull request as draft December 9, 2024 11:54
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.

1 participant