Is anyone getting this when running a composer update command?
Local install: Craft CMS 3.1.31
update --no-interaction --ansi
Loading composer repositories with package information
Updating dependencies (including require-dev)
Nothing to install or update
Generating optimized autoload files
Carbon 1 is deprecated, see how to migrate to Carbon 2.
https://carbon.nesbot.com/docs/#api-carbon-2
You can run './vendor/bin/upgrade-carbon' to get help in updating carbon and other frameworks and libraries that depend on it.
All packages for ./composer.json have been updated.
jonnott commented on 31 May
So, composer is now saying Carbon 1.x is old news...
laravel/framework's composer.json states:
"nesbot/carbon": "^1.26.3 || ^2.0"
..but how can we make it choose 2.0.x over 1.x when doing 'composer install' or 'composer update'? And are there any negative side-effects? (my app doesn't use anything in carbon directly which isn't 2.x-compatible). Even if I rm -rf ./vendor and rm composer.lock and then do 'composer install', it still installs 1.x :(