Skip to content
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

Composer dependencies #200

Closed
emmanuelballery opened this issue Oct 1, 2019 · 3 comments · Fixed by #202
Closed

Composer dependencies #200

emmanuelballery opened this issue Oct 1, 2019 · 3 comments · Fixed by #202

Comments

@emmanuelballery
Copy link

Hi!

"symfony/phpunit-bridge" is listed as required even on non-dev environments. I had a look at the code and I don't catch the necessity. Can someone please tell me why this is not a "require-dev"?

While I'm at it, "symfony/yaml" is not really a direct requirement in dev. I think there is no reference to this lib ; it is used via the "symfony/dependency-injection" only (and is a requirement of this one) ;

Thank you!

@bocharsky-bw
Copy link
Member

Hey @emmanuelballery, good catch!

Looks like symfony/phpunit-bridge was put into require section instead of require-dev mistakenly in #199 .

About symfony/yaml - hm, I don't see we use this component directly in this bundle, but not sure 100%. Probably we can try to remove it and see if tests pass.

Do you want to open a PR to fix this?

@weaverryan
Copy link
Member

Yea, nice catch! Here's the PR for the issue: #202

About symfony/yaml, this bundle does depend on symfony/dependency-injection. You're correct that we don't directly need symfony/yaml... but basically this would be an issue with symfony/dependency-injection, not this bundle (in theory, symfony/yaml could be an optional dependency of that library)

@emmanuelballery
Copy link
Author

Wow, you're fast!

My remark regarding symfony/yaml was only for clarification. symfony/dependency-injection does depend on symfony/yaml ; therefore, as knpuniversity/oauth2-client-bundle is not using Yaml directly, it seemed like it was not its concern.

Thank you again!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants