Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires php 7.4 but your php version (7.4.6) does not satisfy that requirement.
@Sinnbeck I've encountered the same issue in sail up
laravel.test_1 | Your Composer dependencies require a PHP version ">= 8.0.0". You are running 7.4.15.
php -v shows
PHP 8.0.10 (cli) (built: Aug 26 2021 15:36:17) ( NTS )
I've reinstalled composer
Testing started at 11:41 ...
/usr/local/Cellar/php/7.4.6_1/bin/php /Users/reniar/code/LivewireTest/vendor/phpunit/phpunit/phpunit --configuration /Users/reniar/code/LivewireTest/phpunit.xml --teamcity
Failed loading /usr/local/opt/php/lib/php/20190902/opcache.so: dlopen(/usr/local/opt/php/lib/php/20190902/opcache.so, 9): image not found
PHP Fatal error: Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 8.0.0". You are running 7.4.6. in /Users/reniar/code/LivewireTest/vendor/composer/platform_check.php on line 24
Fatal error: Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 8.0.0". You are running 7.4.6. in /Users/reniar/code/LivewireTest/vendor/composer/platform_check.php on line 24
Process finished with exit code 255
Lets say that I inherit your project. Or we work on it together. Then I know that it should work in both 7.4.x and 8.0.x. Lets say that you dont support 7.1 anymore, then I cannot run the project if I am still running php 7.1 and it will force me to upgrade.