I am currently developing a Laravel application which has following package requirements in composer.json
"phpunit/phpunit": "~5.7",
"phpspec/phpspec": "2.5.*",
"sebastian/exporter": "~2.0"
Now, problem is that phpunit
requires exporter 2.0
and the package phpspec
requires exporter 1.0
.
So, now these requirements are conflicting and I am unable to update the packages.
How should I resolve this conflict and install these packages?
Note: I noticed that from the composer.json of phpspec
that it has requirements defined as ~1.0|~2.0
for exporter
. So it should work with both but it doesn't seem to be working.