You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to install another package I get the following issue...
carbonphp/carbon-doctrine-types 3.1.0 conflicts with doctrine/dbal 3.7.2
It seems that the latest version of carbonphp/carbon-doctrine-types has been updated to only support doctrine/dbal 4.0 and above. But from what I can see doctrine/dbal doesn't have a stable v4 release yet.
Should this package have its composer.json file updated to specify the carbonphp/carbon-doctrine-types version?
E.g. in composer.json
change
"carbonphp/carbon-doctrine-types": "*",
to something like...
"carbonphp/carbon-doctrine-types": "^2.1",
The text was updated successfully, but these errors were encountered:
Yes, that's the issue. Carbon was already locked on a version and it prevented the package from being installed without -w. I figured it would be a better user experience if * wasn't used to avoid this requirement.
No, narrowing the compatibility range will only make more convenient your use case and make install impossible for anyone actually asking for dbal:^4@dev it's perfectly valid, it's not because it's not stable that we should disallow it, plus some day it will be stable and then we would have no reason to prevent user from using a lower version of carbon since it would actually work.
Also carbonphp/carbon-doctrine-types v1 is needed for older version.
You can simply add "carbonphp/carbon-doctrine-types": "^2.1", to your own composer.json.
The whole point of carbonphp/carbon-doctrine-types is to allow users to mix the carbon version they want with the dbal version they want.
When trying to install another package I get the following issue...
It seems that the latest version of
carbonphp/carbon-doctrine-types
has been updated to only supportdoctrine/dbal
4.0 and above. But from what I can seedoctrine/dbal
doesn't have a stable v4 release yet.Should this package have its composer.json file updated to specify the
carbonphp/carbon-doctrine-types
version?E.g. in composer.json
change
to something like...
The text was updated successfully, but these errors were encountered: