-
-
Notifications
You must be signed in to change notification settings - Fork 587
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing doctrine/common requirement ? #517
Comments
Doctrine is an optional requirement, so if you want to use A similar case to use as example is the symfony dependency componenent. that uses the YAML dumper |
I don't totally agree on the reason of use being the same in the case you provide. In the case of the symfony dependency component the YamlDumper class is purely used for development/testing (like the var_dump function) therefore justifying the dev requirement of said repository . Maybe @fabpot can even confirm this. |
I might be missing something so correct me if I am wrong but I found the following issue:
serializer/src/JMS/Serializer/Handler/ArrayCollectionHandler.php contains a use statement,
however the Doctrine\Common library is not included in the composer.json file requirements so this results in a class not found message.
This is for a production environment installed by
composer install --no-dev
, the development does not have this problem as it is apparently installed through one of the dev dependencies:Include doctrine/common as requirement?
The text was updated successfully, but these errors were encountered: