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

PHP 8.1 dependencies not fulfillable #67

Closed
chross opened this issue Sep 21, 2023 · 2 comments
Closed

PHP 8.1 dependencies not fulfillable #67

chross opened this issue Sep 21, 2023 · 2 comments
Assignees

Comments

@chross
Copy link

chross commented Sep 21, 2023

Hi!
When trying to use composer, I cannot seem to fulfil the required dependencies:

Your requirements could not be resolved to an installable set of packages.


  Problem 1
    - setbased/php-audit 1.9.0 requires symfony/console ^6.2.5 -> satisfiable by symfony/console[v6.2.5, ..., v6.3.4].
    - setbased/php-audit[1.8.0, ..., 1.8.2] require symfony/console ^5.4.16 || ^6.2.2 -> satisfiable by symfony/console[v5.4.16, ..., v5.4.28, v6.2.2, ..., v6.3.4].
    - setbased/php-audit[1.7.0, ..., 1.7.1] require symfony/console ^5.3.7 -> satisfiable by symfony/console[v5.3.7, ..., v5.4.28].
    - setbased/php-audit[1.6.0, ..., 1.6.1] require symfony/console ^5.0 -> satisfiable by symfony/console[v5.0.0, ..., v5.4.28].
    - setbased/php-audit[1.5.0, ..., 1.5.2] require setbased/php-stratum-mysql ^5.0 -> satisfiable by setbased/php-stratum-mysql[5.0.0, ..., 5.1.1].
    - setbased/php-audit 1.4.0 requires setbased/php-stratum-mysql ^4.0 -> satisfiable by setbased/php-stratum-mysql[4.0.0, ..., 4.4.1].
    - setbased/php-audit[1.0.0, ..., 1.3.0] require setbased/php-stratum-mysql ^4.0.0 -> satisfiable by setbased/php-stratum-mysql[4.0.0, ..., 4.4.1].
    - symfony/console[v6.2.2, ..., v6.3.4] conflict with symfony/process <5.4.
    - symfony/console[v5.0.9, ..., v5.4.28] conflict with symfony/process <4.4.
    - setbased/php-stratum-mysql[4.4.0, ..., 4.4.1, 5.0.0, ..., 5.1.1] require zendframework/zend-code ^3.0 -> satisfiable by zendframework/zend-code[3.0.0, ..., 3.4.1].
    - setbased/php-stratum-mysql[4.0.0, ..., 4.3.0] require zendframework/zend-code ^3.0.0 -> satisfiable by zendframework/zend-code[3.0.0, ..., 3.4.1].
    - robbiep/zbar-qrdecoder 2.0.2 requires symfony/process ^3.0 -> satisfiable by symfony/process[v3.4.47].
    - setbased/php-audit[0.9.6, ..., 0.9.8] require setbased/php-stratum ^0.9.64 -> found setbased/php-stratum[dev-master, 4.0.0, 4.0.1, 5.0.0, ..., 5.4.0, 6.0.0, ..., 6.3.1] but it does not match the constraint.
    - setbased/php-audit 0.9.9 requires setbased/php-affirm ^0.2.0 -> could not be found in any version, there may be a typo in the package name.
    - zendframework/zend-code[3.0.0, ..., 3.0.1] require php ^5.5 || ^7.0 -> your php version (8.1.2) does not satisfy that requirement.
    - zendframework/zend-code[3.0.2, ..., 3.0.5] require php ^5.5 || 7.0.0 - 7.0.4 || ^7.0.6 -> your php version (8.1.2) does not satisfy that requirement.
    - zendframework/zend-code 3.1.0 requires php ^5.6 || 7.0.0 - 7.0.4 || ^7.0.6 -> your php version (8.1.2) does not satisfy that requirement.
    - zendframework/zend-code[3.2.0, ..., 3.4.1] require php ^7.1 -> your php version (8.1.2) does not satisfy that requirement.
    - symfony/console[v5.0.0, ..., v5.0.8] require php ^7.2.5 -> your php version (8.1.2) does not satisfy that requirement.
    - robbiep/zbar-qrdecoder is locked to version 2.0.2 and an update of this package was not requested.
    - Root composer.json requires setbased/php-audit * -> satisfiable by setbased/php-audit[0.9.6, 0.9.7, 0.9.8, 0.9.9, 1.0.0, ..., 1.9.0].


@prwater
Copy link
Member

prwater commented Sep 22, 2023

Hello Cross,

I guess the problem is the dependency of your project on robbiep/zbar-qrdecoder which is locked to version 2.0.2. Package robbiep/zbar-qrdecoder requires symfony 3.0. The current version of symfony is 6.x.

With best regards,
Paul

@prwater prwater closed this as completed Sep 22, 2023
@prwater prwater self-assigned this Sep 22, 2023
@chross
Copy link
Author

chross commented Sep 22, 2023

That did the trick. I'm fairly new to composer, so thanks for helping me out.

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