I have a project A that has a dependency on project B which, in turn, has a dependency on project C.
So, the dependency graph looks like this:
A -> B -> C
(ps: all projects are developed internally).
However, in composer.json of project A, I am required to require both dependencies:
{
"require": {
"B": "dev-master",
"C": "dev-master"
}
}
... while in project B, I only require dependency C:
{
"require": {
"C": "dev-master"
}
}
How do I make project A require only dependency B?
Thank you!