Closed leroy0211 closed 4 years ago
Could you add it to composer.json
? It was replaced in version 5 by https://github.com/KnpLabs/DoctrineBehaviors/blob/master/composer.json#L21
At the moment the only solutions is to install package manually explicitly.
symfony/security
only exists in version 4.4, so requiring it blocks Symfony 5 install.
Have you found a better way?
Closing as there is no other way now.
See https://pehapkari.cz/blog/2019/12/23/how-we-upgraded-pehapkari-cz-from-symfony-4-to-5-in-25-days
so how do I fix this error? Install symfony/security? What if I don't need that security bundle?
All I wanted was the TimestampableTrait.
See step 4 at the bottom: https://pehapkari.cz/blog/2019/12/23/how-we-upgraded-pehapkari-cz-from-symfony-4-to-5-in-25-days
Version:
dev-master
Symfony version:4.4
The following bug occurs if you don't have
symfony/security
installed.