-
-
Notifications
You must be signed in to change notification settings - Fork 313
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
Move symfony/stopwatch
to require
instead of require-dev
#624
Comments
Having the same problem, I think the solution for this should be in if (!$container->getParameter('kernel.debug') || !class_exists(Stopwatch::class)) {
$container->removeDefinition('jms_serializer.stopwatch_subscriber');
} |
Nice, added a PR to fix it! Thanks for the hint :) |
JavierCane
added a commit
to CodelyTV/php-ddd-example
that referenced
this issue
Mar 12, 2018
…n: The service "jms_serializer.stopwatch_subscriber" has a dependency on a non-existent service "debug.stopwatch"". More info: schmittjoh/JMSSerializerBundle#624
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It seems that
jms_serializer.stopwatch_subscriber
has a dependency on stopwatchdebug.stopwatch
. Ifsymfony/stopwatch
is not installed, it will result in:When I add
symfony/stopwatch
to my composer.json it works.How to solve this?
The text was updated successfully, but these errors were encountered: