ambroisemaupate / omnipay-sips2

Omnipay gateway for Worldline Sips PayPage POST API (Atos Sips 2.0)
5 stars 5 forks source link

Installation issues with symfony 3.4 #6

Open sarramegnag opened 5 years ago

sarramegnag commented 5 years ago

Hi,

I'm having installation issues with this package and symfony 3.4.

It looks like omnipay-sips2 package uses an old version of omnipay/common (~2.0 | ~2.5) which is not compatible with either symfony 3.4 nor guzzle. Could you confirm this ?

Solution would be to upgrade to omnipay/common ~3.0 which is using php-http/client-implementation ^1 and symfony/http-foundation ^2.1 | ^3 | ^4.

May I have your analysis about this issue ?

Regards.

Steps to reproduce :

composer create-project symfony/website-skeleton my_project "3.4.*"
composer require php-http/guzzle6-adapter
composer require colinodell/omnipay-bundle
composer require ambroisemaupate/omnipay-sips2

Error :

Using version ^1.0 for ambroisemaupate/omnipay-sips2
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Restricting packages listed in "symfony/symfony" to "3.4.*"
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - ambroisemaupate/omnipay-sips2 1.0.2 requires omnipay/common ~2.0|~2.5 -> satisfiable by omnipay/common[2.3.2, 2.4.0, 2.5.2, v2.0.0, v2.1.0, v2.2.0, v2.3.0, v2.3.1, v2.3.3, v2.3.4, v2.4.1, v2.5.0, v2.5.1].
    - ambroisemaupate/omnipay-sips2 1.0.1 requires omnipay/common ~2.0|~2.5 -> satisfiable by omnipay/common[2.3.2, 2.4.0, 2.5.2, v2.0.0, v2.1.0, v2.2.0, v2.3.0, v2.3.1, v2.3.3, v2.3.4, v2.4.1, v2.5.0, v2.5.1].
    - ambroisemaupate/omnipay-sips2 1.0.0 requires omnipay/common ~2.0 -> satisfiable by omnipay/common[2.3.2, 2.4.0, 2.5.2, v2.0.0, v2.1.0, v2.2.0, v2.3.0, v2.3.1, v2.3.3, v2.3.4, v2.4.1, v2.5.0, v2.5.1].
    - omnipay/common 2.5.2 requires guzzle/guzzle ~3.9 -> satisfiable by guzzle/guzzle[v3.9.0, v3.9.1, v3.9.2, v3.9.3].
    - omnipay/common v2.5.1 requires guzzle/guzzle ~3.9 -> satisfiable by guzzle/guzzle[v3.9.0, v3.9.1, v3.9.2, v3.9.3].
    - guzzle/guzzle v3.9.3 requires symfony/event-dispatcher ~2.1 -> no matching package found.
    - guzzle/guzzle v3.9.2 requires symfony/event-dispatcher ~2.1 -> no matching package found.
    - guzzle/guzzle v3.9.1 requires symfony/event-dispatcher ~2.1 -> no matching package found.
    - guzzle/guzzle v3.9.0 requires symfony/event-dispatcher ~2.1 -> no matching package found.
    - omnipay/common v2.5.0 requires symfony/http-foundation ~2.1 -> no matching package found.
    - omnipay/common v2.4.1 requires symfony/http-foundation ~2.1 -> no matching package found.
    - omnipay/common v2.3.4 requires symfony/http-foundation ~2.1 -> no matching package found.
    - omnipay/common v2.3.3 requires symfony/http-foundation ~2.1 -> no matching package found.
    - omnipay/common v2.3.1 requires symfony/http-foundation ~2.1 -> no matching package found.
    - omnipay/common v2.3.0 requires symfony/http-foundation ~2.1 -> no matching package found.
    - omnipay/common v2.2.0 requires symfony/http-foundation ~2.1 -> no matching package found.
    - omnipay/common v2.1.0 requires symfony/http-foundation ~2.1 -> no matching package found.
    - omnipay/common v2.0.0 requires symfony/http-foundation ~2.1 -> no matching package found.
    - omnipay/common 2.4.0 requires symfony/http-foundation ~2.1 -> no matching package found.
    - omnipay/common 2.3.2 requires symfony/http-foundation ~2.1 -> no matching package found.
    - Installation request for ambroisemaupate/omnipay-sips2 ^1.0 -> satisfiable by ambroisemaupate/omnipay-sips2[1.0.0, 1.0.1, 1.0.2].

Potential causes:
 - A typo in the package name
 - The package is not available in a stable-enough version according to your minimum-stability setting
   see <https://getcomposer.org/doc/04-schema.md#minimum-stability> for more details.
 - It's a private package and you forgot to add a custom repository to find it

Read <https://getcomposer.org/doc/articles/troubleshooting.md> for further common problems.

Installation failed, reverting ./composer.json to its original content.