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

no longer installs with Symfony #1403

Closed
tacman opened this issue Mar 11, 2024 · 2 comments
Closed

no longer installs with Symfony #1403

tacman opened this issue Mar 11, 2024 · 2 comments
Assignees
Labels

Comments

@tacman
Copy link
Contributor

tacman commented Mar 11, 2024

symfony new bug --webapp && cd bug && composer require roave/better-reflection
  • Creating a new Symfony project with Composer
    (running /usr/local/bin/composer create-project symfony/skeleton /home/tac/trash/bug --no-interaction)

  • Setting up the project under Git version control
    (running git init /home/tac/trash/bug)

    (running /usr/local/bin/composer require webapp --no-interaction)

[OK] Your project is now ready in /home/tac/trash/bug

./composer.json has been updated
Running composer update roave/better-reflection
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

Problem 1
- roave/better-reflection 0.1.0 requires nikic/php-parser dev-master -> found nikic/php-parser[dev-master, 5.0.x-dev (alias of dev-master)] but it does not match your minimum-stability.
- roave/better-reflection[1.0.0, ..., 1.2.0] require php ^5.6|^7.0 -> your php version (8.3.2) does not satisfy that requirement.
- roave/better-reflection 2.0.0 requires php >7.1.0,<7.3.0 -> your php version (8.3.2) does not satisfy that requirement.
- roave/better-reflection[2.0.1, ..., 2.0.2, 3.0.0, ..., 3.1.1] require php >=7.1.0,<7.3.0 -> your php version (8.3.2) does not satisfy that requirement.
- roave/better-reflection[3.2.0, ..., 3.3.0] require php >=7.1.0,<7.4.0 -> your php version (8.3.2) does not satisfy that requirement.
- roave/better-reflection 3.4.0 requires php >=7.2.0,<7.4.0 -> your php version (8.3.2) does not satisfy that requirement.
- roave/better-reflection[3.5.0, 4.0.0, ..., 4.3.0] require php >=7.2.0,<7.5.0 -> your php version (8.3.2) does not satisfy that requirement.
- roave/better-reflection[4.4.0, ..., 4.12.2] require php >=7.4.1,<7.5.0 -> your php version (8.3.2) does not satisfy that requirement.
- roave/better-reflection[5.0.0, ..., 5.10.0] require php ~8.0.12 || ~8.1.0 -> your php version (8.3.2) does not satisfy that requirement.
- roave/better-reflection[5.11.0, ..., 5.11.1, 6.0.0, ..., 6.4.1] require php ~8.0.12 || ~8.1.0 || ~8.2.0 -> your php version (8.3.2) does not satisfy that requirement.
- roave/better-reflection[6.5.0, ..., 6.17.0] require php ~8.1.0 || ~8.2.0 -> your php version (8.3.2) does not satisfy that requirement.
- roave/better-reflection[6.18.0, ..., 6.19.0] require nikic/php-parser ^4.17.1 -> found nikic/php-parser[v4.17.1, v4.18.0] but the package is fixed to v5.0.2 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
- roave/better-reflection[6.20.0, ..., 6.26.0] require nikic/php-parser ^4.18.0 -> found nikic/php-parser[v4.18.0] but the package is fixed to v5.0.2 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
- Root composer.json requires roave/better-reflection * -> satisfiable by roave/better-reflection[0.1.0, 1.0.0, 1.0.1, 1.1.0, 1.2.0, 2.0.0, 2.0.1, 2.0.2, 3.0.0, ..., 3.5.0, 4.0.0, ..., 4.12.2, 5.0.0, ..., 5.11.1, 6.0.0, ..., 6.26.0].

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
You can also try re-running composer require with an explicit version constraint, e.g. "composer require roave/better-reflection:*" to figure out if any version is installable, or "composer require roave/better-reflection:^2.1" if you know which you need.

Installation failed, reverting ./composer.json and ./composer.lock to their original content.

@asgrim
Copy link
Member

asgrim commented Mar 11, 2024

PHP Parser v5 support is still being worked on: #1387

@Ocramius
Copy link
Member

Instead of composer require roave/better-reflection, pick an older release :)

@Ocramius Ocramius self-assigned this Mar 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants