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 require patronbase/omnipay-redsys problem #6

Open
santiagomgv opened this issue Jul 25, 2021 · 1 comment
Open

Composer require patronbase/omnipay-redsys problem #6

santiagomgv opened this issue Jul 25, 2021 · 1 comment
Assignees

Comments

@santiagomgv
Copy link

Problem 1 - patronbase/omnipay-redsys[dev-master, v3.1.0] require omnipay/common dev-address3-support -> found omnipay/common[dev-feat-httpdecorator, dev-feat-customer, dev-feat/symfony5, dev-fix-gateway-params, dev-feat-amountinteger, dev-future, dev-master, dev-revert-67-sf3-compat, dev-revert-184-feat-parameters, dev-feat-php8, dev-feat-psr18, dev-test/php72, v2.0.0, ..., 2.5.x-dev, v3.0-alpha.1, ..., 3.1.x-dev (alias of dev-master)] but it does not match the constraint. - patronbase/omnipay-redsys 3.1.x-dev is an alias of patronbase/omnipay-redsys dev-master and thus requires it to be installed too. - Root composer.json requires patronbase/omnipay-redsys ^3.1 -> satisfiable by patronbase/omnipay-redsys[v3.1.0, 3.1.x-dev (alias of dev-master)].

I have a problem installing, i'm using it with the framework of TastyIgniter: Restaurant Online Ordering System.

@leith
Copy link
Member

leith commented Jul 25, 2021

That's odd. The composer.json has the dependency on the https://github.com/codedruids/omnipay-common fork clearly in there (needed to add support for address3), but it seems like it's only picking up the base repository.

After a quick scan around it seems like this is on purpose to prevent malicious code injection into the ecosystem, and to constrain the list of tags/branches involved when following a chain of repositories to look up.

I currently have a PR open for this to get merged back into the main repo (thephpleague/omnipay-common#236) as well as accompanying tests (thephpleague/omnipay-tests#18) but they're still open.

At the moment to get this working, you'll probably need to add this to your composer.json:

"repositories": [
        {
            "type": "vcs",
            "url": "https://github.com/CodeDruids/omnipay-common"
        }
]

@leith leith self-assigned this Jul 25, 2021
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