Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New symfony/yaml is breaking PHP 7.x support #577

Closed
sasannnn opened this issue Apr 24, 2023 · 1 comment
Closed

New symfony/yaml is breaking PHP 7.x support #577

sasannnn opened this issue Apr 24, 2023 · 1 comment

Comments

@sasannnn
Copy link

Sail Version

1.21.0

Laravel Version

8.0

PHP Version

7.4

Operating System

Linux

OS Version

latest

Description

I'm trying to setup a Laravel 8.0 project to use Sail.
I'm stopped cause my PHP version is not new enough even though Sail version is marked to support it.

Steps To Reproduce

Following Laravel 8.0 documentation, installing Laravel sail:

docker run --rm \
         -u "$(id -u):$(id -g)" \
         -v $(pwd):/var/www/html \
         -w /var/www/html \
         laravelsail/php74-composer:latest \
         composer require laravel/sail --dev --ignore-platform-req=ext-gd --ignore-platform-req=ext-exif

Is giving me:

  Problem 1
    - laravel/sail[v1.21.0, ..., 1.x-dev] require symfony/yaml ^6.0 -> satisfiable by symfony/yaml[v6.0.0-BETA1, ..., 6.3.x-dev].
    - symfony/yaml[v6.0.0-BETA1, ..., 6.0.x-dev] require php >=8.0.2 -> your php version (7.4.11) does not satisfy that requirement.
    - symfony/yaml[v6.1.0-BETA1, ..., 6.3.x-dev] require php >=8.1 -> your php version (7.4.11) does not satisfy that requirement.
    - Root composer.json requires laravel/sail ^1.21 -> satisfiable by laravel/sail[v1.21.0, ..., 1.x-dev].

I have similar Laravel projects depending on older versions of Sail. What is different is symfony/yaml enforcing newer PHP version.

@driesvints
Copy link
Member

We unfortunately don't provide any support anymore for PHP 7.x and Laravel 8. Please try a support channel:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants