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

Updated composer.json to support symfony 4 #106

Merged
merged 2 commits into from
Jan 24, 2019

Conversation

wachterjohannes
Copy link
Member

Q A
Bug fix? no
New feature? no
BC breaks? no
Deprecations? no
Fixed tickets none
Related issues/PRs none
License MIT

What's in this PR?

Allows symfony 4 in composer.json

@wachterjohannes wachterjohannes changed the title Updated composer.json to support symfony 4 [WIP] Updated composer.json to support symfony 4 Oct 3, 2018
@wachterjohannes wachterjohannes force-pushed the symfony-4-support branch 4 times, most recently from 1169a55 to 923cc94 Compare October 3, 2018 18:53
@wachterjohannes
Copy link
Member Author

@alexander-schranz the test fails also in develop so i think we should fix that first

@alexander-schranz
Copy link
Member

@wachterjohannes you need to update phpunit see sulu/sulu#3931 and reimplement the 2.0 admin for blacklisting feature

@wachterjohannes
Copy link
Member Author

@alexander-schranz i have done the phpunit update and the admin is not part of this PR - but symfony is not rendering the _token field in the forms (also on develop). do you have an idea why this is happening?

@alexander-schranz
Copy link
Member

alexander-schranz commented Oct 5, 2018

@alexander-schranz csrf protection is not enabled by default: see https://symfony.com/doc/current/security/csrf.html

Normally sulu does prepend this in the security bundle: https://github.com/sulu/sulu/blob/480347158175b1c37a808209fb947ffa2a2a0d38/src/Sulu/Bundle/SecurityBundle/DependencyInjection/SuluSecurityExtension.php#L74 but think we are now doing this only for admin context accidently, which we should move doing it always. But we should also prepend this in the community bundle.

"symfony/security-acl": "^2.8 || ^3.0",
"symfony/swiftmailer-bundle": "^2.6.4"
"massive/build-bundle": "^0.2 || ^0.3 || ^0.4",
"sulu/sulu": "dev-develop",
Copy link
Member

@alexander-schranz alexander-schranz Oct 5, 2018

Choose a reason for hiding this comment

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

keep ^2.0

Copy link
Member Author

Choose a reason for hiding this comment

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

i will change this as soon the alpha 4 is tagged

Copy link
Member

Choose a reason for hiding this comment

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

ok thought ^2.0@dev would install dev-develop but seems to install 2.0-alpha-4 😮

@alexander-schranz alexander-schranz changed the title [WIP] Updated composer.json to support symfony 4 Updated composer.json to support symfony 4 Jan 24, 2019
@alexander-schranz alexander-schranz merged commit cfcb76c into sulu:develop Jan 24, 2019
@wachterjohannes wachterjohannes deleted the symfony-4-support branch January 26, 2019 10:48
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.

2 participants