diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 930d1ba2b..b5538dfa6 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -61,7 +61,7 @@ jobs: dependency-versions: "${{ matrix.deps }}" - name: "Temp: test" - run: "composer why-not nesbot/carbon 3" + run: "composer why-not nesbot/carbon v3" - name: "Run PHPUnit" run: "vendor/bin/phpunit -c tests --coverage-clover coverage.xml" diff --git a/composer.json b/composer.json index 29cb07b98..52c85a634 100644 --- a/composer.json +++ b/composer.json @@ -58,7 +58,7 @@ "doctrine/mongodb-odm": "^2.3", "doctrine/orm": "^2.14.0", "friendsofphp/php-cs-fixer": "^3.14.0", - "nesbot/carbon": "^2.71 || ^3.0", + "nesbot/carbon": "^2.71 || 3.x-dev as 3.0", "phpstan/phpstan": "^1.10.2", "phpstan/phpstan-doctrine": "^1.0", "phpstan/phpstan-phpunit": "^1.0",