summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabien Potencier <fabien.potencier@gmail.com>2015-10-27 18:53:37 -0700
committerFabien Potencier <fabien.potencier@gmail.com>2015-10-27 18:53:37 -0700
commit7d1514eafc10e2083e8de969439a38708ebfe47f (patch)
tree1c2dbb4a266d269b8c89f94daf140b14ffec4185
parent1c44760b4c6c7d83b21e68e2843d77d6d98be451 (diff)
parentd87c38213e72fd3d8068be466ac654e0c13cdb2d (diff)
downloadsymfony-security-7d1514eafc10e2083e8de969439a38708ebfe47f.zip
symfony-security-7d1514eafc10e2083e8de969439a38708ebfe47f.tar.gz
symfony-security-7d1514eafc10e2083e8de969439a38708ebfe47f.tar.bz2
bug #16144 [Security] don't allow to install the split Security packages (xabbuh)
This PR was merged into the 2.3 branch. Discussion ---------- [Security] don't allow to install the split Security packages | Q | A | ------------- | --- | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | #16134 | License | MIT | Doc PR | 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. Commits ------- 0d14064 don't allow to install the split Security packages
-rw-r--r--composer.json5
1 files changed, 5 insertions, 0 deletions
diff --git a/composer.json b/composer.json
index e62f028..bc15cc8 100644
--- a/composer.json
+++ b/composer.json
@@ -31,6 +31,11 @@
"psr/log": "~1.0",
"ircmaxell/password-compat": "~1.0"
},
+ "replace": {
+ "symfony/security-acl": "self.version",
+ "symfony/security-core": "self.version",
+ "symfony/security-http": "self.version"
+ },
"suggest": {
"symfony/class-loader": "",
"symfony/finder": "",