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

composer.lock not alligned with composer.json #33

Open
vinise opened this issue Jul 26, 2024 · 2 comments
Open

composer.lock not alligned with composer.json #33

vinise opened this issue Jul 26, 2024 · 2 comments

Comments

@vinise
Copy link

vinise commented Jul 26, 2024

The composer.lock seems outdated and does not correspond to composer json

For ex :
"guzzlehttp/guzzle": "^7.4.0" VS "version": "6.3.3" in lock
https://github.com/getbrevo/brevo-php/blob/main/composer.json#L25C9-L25C38
https://github.com/getbrevo/brevo-php/blob/main/composer.lock#L11

This is minor but create issues with multiple security tools such as snyk

@leberknecht
Copy link

Ping?

@leberknecht
Copy link

Hm, i thought "ok, i will just fork this, update the .lock and make a PR" ...you wont believe what happens next:

(venv) ~/dev/brevo-php(main|✚1…) % composer install
No composer.lock file present. Updating dependencies to latest instead of installing from lock file. See https://getcomposer.org/install for more information.
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Root composer.json requires friendsofphp/php-cs-fixer ~1.12 -> satisfiable by friendsofphp/php-cs-fixer[v1.12.0, ..., v1.13.3].
    - friendsofphp/php-cs-fixer[v1.12.0, ..., v1.13.3] require php ^5.3.6 || >=7.0 <7.2 -> your php version (8.3.10) does not satisfy that requirement.

yes, php 5.

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