Closed konradja100 closed 5 years ago
Solved by changing
"extra": {
"symfony": {
"allow-contrib": true,
"require": "*"
}
}
to:
"extra": {
"symfony": {
"allow-contrib": true,
"require": "4.2.*"
}
}
Hi guys, i've found some issue integrating this bundle in one of my applications. We're using this bundle in 2 other apps (SF version 4.2.5 also), and there's no problem installing it. But when it comes to this microservice, we have this message:
As you can see, i'm trying to install version ^3.2 (as we use it in other apps). Worth to mension, this service is just simple consumer for async messages (now i want to add to it functionality for sending emails).
my composer.json:
With this requirements in other 2 applications there's no issue using swiftmailer-bundle.
Later, i've created empty installation of symfony and add this bundle with no problem.
Also, when you try to install bundle with just
composer require symfony/swiftmailer-bundle
you get this error:As you can see composer is trying to install version ^2.0, but i guess this version is incompatibile with SF 4.2.*.
Any ideas what causes this issue?