8000 don't allow to install the split Security packages · symfony/symfony@8d2b5a2 · GitHub
[go: up one dir, main page]

Skip to content

Commit 8d2b5a2

Browse files
committed
don't allow to install the split Security packages
Currently, you would be able to install the Security component fromm Symfony 2.3 together with one of the split packages from a higher Symfony vesion like this: ```json { "require": { "symfony/symfony": "2.3.*", "symfony/security-core": "~2.7" } } ``` However, you will end up with classes being present twice. This must be reverted after merging up in the `2.7` branch.
1 parent ea10f24 commit 8d2b5a2

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/Symfony/Component/Security/composer.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,12 @@
3232
"psr/log": "~1.0",
3333
"ircmaxell/password-compat": "~1.0"
3434
},
35+
"conflict": {
36+
"symfony/security-acl": "*",
37+
"symfony/security-core": "*",
38+
"symfony/security-csrf": "*",
39+
"symfony/security-http": "*"
40+
},
3541
"suggest": {
3642
"symfony/class-loader": "",
3743
"symfony/finder": "",

0 commit comments

Comments
 (0)
0