How can I modify an external package's composer.json file by only modifying my own project's composer.json file?
This is for testing purposes only. I need to test if a package is compatible with a very new version of another package.
My project composer.json:
{
"require": {
"foo/framework": "1.2.0",
"bar/extension": "1.1.0"
}
}
External package (bar/extension) composer.json:
{
"require": {
"foo/framework": "1.2.0"
}
}
So this obviously works. But let's say I want to have the new version of foo/framework, which is 1.3.0. This won't work because bar/extension depends on the older version.
Using only my project's composer.json, how can I change the requirement for the bar/extension package?