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

Skip to content

Commit dc79e5f

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 dc79e5f

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

composer.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,11 @@
7070
"ircmaxell/password-compat": "~1.0",
7171
"ocramius/proxy-manager": "~0.3.1"
7272
},
73+
"conflict": {
74+
"symfony/security-acl": "*",
75+
"symfony/security-core": "*",
76+
"symfony/security-http": "*"
77+
},
7378
"autoload": {
7479
"psr-0": { "Symfony\\": "src/" },
7580
"classmap": [

src/Symfony/Component/Security/composer.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,11 @@
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-http": "*"
39+
},
3540
"suggest": {
3641
"symfony/class-loader": "",
3742
"symfony/finder": "",

0 commit comments

Comments
 (0)
0