lexik / LexikPayboxBundle

LexikPayboxBundle eases the implementation of the Paybox payment system
MIT License
40 stars 47 forks source link

Symfony 2.2.* compatibility #10

Closed soullivaneuh closed 11 years ago

soullivaneuh commented 11 years ago

Can you update your bundle for Symfony 2.2.* compatibility please ?

I have the following error when I try php composer.phar update:

  Problem 1
    - lexik/paybox-bundle v1.0.2 requires symfony/framework-bundle 2.1.*,<2.2-dev -> satisfiable by symfony/symfony v2.1.8, symfony/symfony v2.1.0, symfony/symfony v2.1.1, symfony/symfony v2.1.2, symfony/symfony v2.1.3, symfony/symfony v2.1.4, symfony/symfony v2.1.5, symfony/symfony v2.1.6, symfony/symfony v2.1.7, symfony/symfony v2.1.8, symfony/framework-bundle v2.1.0, symfony/framework-bundle v2.1.1, symfony/framework-bundle v2.1.2, symfony/framework-bundle v2.1.3, symfony/framework-bundle v2.1.4, symfony/framework-bundle v2.1.5, symfony/framework-bundle v2.1.6, symfony/framework-bundle v2.1.7, symfony/framework-bundle v2.1.8.
    - lexik/paybox-bundle v1.0.0 requires symfony/framework-bundle 2.1.*,<2.2-dev -> satisfiable by symfony/symfony v2.1.8, symfony/symfony v2.1.0, symfony/symfony v2.1.1, symfony/symfony v2.1.2, symfony/symfony v2.1.3, symfony/symfony v2.1.4, symfony/symfony v2.1.5, symfony/symfony v2.1.6, symfony/symfony v2.1.7, symfony/symfony v2.1.8, symfony/framework-bundle v2.1.0, symfony/framework-bundle v2.1.1, symfony/framework-bundle v2.1.2, symfony/framework-bundle v2.1.3, symfony/framework-bundle v2.1.4, symfony/framework-bundle v2.1.5, symfony/framework-bundle v2.1.6, symfony/framework-bundle v2.1.7, symfony/framework-bundle v2.1.8.
    - lexik/paybox-bundle v1.0.1 requires symfony/framework-bundle 2.1.*,<2.2-dev -> satisfiable by symfony/symfony v2.1.8, symfony/symfony v2.1.0, symfony/symfony v2.1.1, symfony/symfony v2.1.2, symfony/symfony v2.1.3, symfony/symfony v2.1.4, symfony/symfony v2.1.5, symfony/symfony v2.1.6, symfony/symfony v2.1.7, symfony/symfony v2.1.8, symfony/framework-bundle v2.1.0, symfony/framework-bundle v2.1.1, symfony/framework-bundle v2.1.2, symfony/framework-bundle v2.1.3, symfony/framework-bundle v2.1.4, symfony/framework-bundle v2.1.5, symfony/framework-bundle v2.1.6, symfony/framework-bundle v2.1.7, symfony/framework-bundle v2.1.8.
    - lexik/paybox-bundle v1.0.2 requires symfony/framework-bundle 2.1.*,<2.2-dev -> satisfiable by symfony/symfony v2.1.8, symfony/symfony v2.1.0, symfony/symfony v2.1.1, symfony/symfony v2.1.2, symfony/symfony v2.1.3, symfony/symfony v2.1.4, symfony/symfony v2.1.5, symfony/symfony v2.1.6, symfony/symfony v2.1.7, symfony/symfony v2.1.8, symfony/framework-bundle v2.1.0, symfony/framework-bundle v2.1.1, symfony/framework-bundle v2.1.2, symfony/framework-bundle v2.1.3, symfony/framework-bundle v2.1.4, symfony/framework-bundle v2.1.5, symfony/framework-bundle v2.1.6, symfony/framework-bundle v2.1.7, symfony/framework-bundle v2.1.8.
    - Can only install one of: symfony/symfony v2.2.0, symfony/symfony v2.1.8.
    - Can only install one of: symfony/symfony v2.2.0, symfony/symfony v2.1.0.
    - Can only install one of: symfony/symfony v2.2.0, symfony/symfony v2.1.1.
    - Can only install one of: symfony/symfony v2.2.0, symfony/symfony v2.1.2.
    - Can only install one of: symfony/symfony v2.2.0, symfony/symfony v2.1.3.
    - Can only install one of: symfony/symfony v2.2.0, symfony/symfony v2.1.4.
    - Can only install one of: symfony/symfony v2.2.0, symfony/symfony v2.1.5.
    - Can only install one of: symfony/symfony v2.2.0, symfony/symfony v2.1.6.
    - Can only install one of: symfony/symfony v2.2.0, symfony/symfony v2.1.7.
    - Can only install one of: symfony/symfony v2.2.0, symfony/symfony v2.1.8.
    - don't install symfony/framework-bundle v2.1.0|don't install symfony/symfony v2.2.0
    - don't install symfony/framework-bundle v2.1.1|don't install symfony/symfony v2.2.0
    - don't install symfony/framework-bundle v2.1.2|don't install symfony/symfony v2.2.0
    - don't install symfony/framework-bundle v2.1.3|don't install symfony/symfony v2.2.0
    - don't install symfony/framework-bundle v2.1.4|don't install symfony/symfony v2.2.0
    - don't install symfony/framework-bundle v2.1.5|don't install symfony/symfony v2.2.0
    - don't install symfony/framework-bundle v2.1.6|don't install symfony/symfony v2.2.0
    - don't install symfony/framework-bundle v2.1.7|don't install symfony/symfony v2.2.0
    - don't install symfony/framework-bundle v2.1.8|don't install symfony/symfony v2.2.0
    - Installation request for symfony/symfony 2.2.* -> satisfiable by symfony/symfony v2.2.0.
    - Installation request for lexik/paybox-bundle 1.0.* -> satisfiable by lexik/paybox-bundle v1.0.0, lexik/paybox-bundle v1.0.1, lexik/paybox-bundle v1.0.2.

Here, my composer.json file:

{
    "name": "symfony/framework-standard-edition",
    "description": "The \"Symfony Standard Edition\" distribution",
    "autoload": {
        "psr-0": { "": "src/" }
    },
    "repositories": [
        {
            "type": "vcs",
            "url": "http://git.code.sf.net/p/tcpdf/code"
        }
    ],
    "require": {
        "php": ">=5.3.3",
        "symfony/symfony": "2.2.*",
        "doctrine/orm": "~2.2,>=2.2.3",
        "doctrine/doctrine-bundle": "1.2.*@beta",
        "doctrine/doctrine-fixtures-bundle": "2.1.*@dev",
        "doctrine/data-fixtures": "dev-master@dev",
        "gedmo/doctrine-extensions": "2.3.*",
        "twig/extensions": "1.0.*@dev",
        "symfony/assetic-bundle": "2.1.*",
        "symfony/swiftmailer-bundle": "2.2.*",
        "symfony/monolog-bundle": "2.2.*",
        "sensio/distribution-bundle": "2.2.*",
        "sensio/framework-extra-bundle": "2.2.*",
        "sensio/generator-bundle": "2.2.*",
        "jms/security-extra-bundle": "1.4.*",
        "jms/di-extra-bundle": "1.3.*",
        "kriswallsmith/assetic": "1.1.*@dev",
        "gregwar/image-bundle": "1.0.*",
        "mopa/bootstrap-bundle": "2.1.*@dev",
        "mopa/composer-bridge": "v1.1.0",
        "knplabs/knp-paginator-bundle": "2.3.*",
        "knplabs/knp-menu-bundle": "1.1.*@dev",
        "knplabs/knp-components": "1.2.*",
        "lexik/paybox-bundle": "1.0.*",
        "whiteoctober/breadcrumbs-bundle": "dev-master@dev",
        "whiteoctober/tcpdf-bundle": "dev-master@dev",
        "tecnick.com/tcpdf": "*@dev",
        "friendsofsymfony/user-bundle": "1.3.*",
        "sonata-project/admin-bundle": "2.2.*@dev",
        "sonata-project/jquery-bundle": "1.8.*",
        "sonata-project/exporter": "1.2.*",
        "sonata-project/block-bundle": "2.2.*@dev",
        "sonata-project/cache-bundle": "2.1.*",
        "sonata-project/easy-extends-bundle": "2.1.*",
        "sonata-project/doctrine-orm-admin-bundle": "2.2.*@dev",
        "sonata-project/intl-bundle": "2.1.*",
        "sonata-project/user-bundle": "2.1.*@dev",
        "sonata-project/doctrine-extensions": "1.*",
        "sonata-project/google-authenticator": "1.*",
        "fabpot/goutte": "v0.1.0"
    },
    "scripts": {
        "pre-update-cmd": [
            "Nexy\\MainBundle\\Composer\\ScriptHandler::maintenanceLock"
        ],
        "post-install-cmd": [
            "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::buildBootstrap",
            "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::clearCache",
            "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installAssets",
            "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installRequirementsFile",
            "Nexy\\MainBundle\\Composer\\ScriptHandler::maintenanceunLock"
        ],
        "post-update-cmd": [
            "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::buildBootstrap",
            "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::clearCache",
            "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installAssets",
            "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installRequirementsFile",
            "Nexy\\MainBundle\\Composer\\ScriptHandler::maintenanceunLock"
        ]
    },
    "config": {
        "bin-dir": "bin"
    },
    "extra": {
        "symfony-app-dir": "app",
        "symfony-web-dir": "web",
        "branch-alias": {
            "dev-master": "2.2-dev"
        }
    }
}

Thanks.

Olineuve commented 11 years ago

Fixed on v1.0.3

soullivaneuh commented 11 years ago

Change nothing for me...

I have this following error now:

  Problem 1
    - lexik/paybox-bundle v1.0.2 requires symfony/framework-bundle 2.1.*,<2.2-dev -> satisfiable by symfony/symfony v2.1.8, symfony/symfony v2.1.0, symfony/symfony v2.1.1, symfony/symfony v2.1.2, symfony/symfony v2.1.3, symfony/symfony v2.1.4, symfony/symfony v2.1.5, symfony/symfony v2.1.6, symfony/symfony v2.1.7, symfony/symfony v2.1.8, symfony/framework-bundle v2.1.0, symfony/framework-bundle v2.1.1, symfony/framework-bundle v2.1.2, symfony/framework-bundle v2.1.3, symfony/framework-bundle v2.1.4, symfony/framework-bundle v2.1.5, symfony/framework-bundle v2.1.6, symfony/framework-bundle v2.1.7, symfony/framework-bundle v2.1.8.
    - lexik/paybox-bundle v1.0.0 requires symfony/framework-bundle 2.1.*,<2.2-dev -> satisfiable by symfony/symfony v2.1.8, symfony/symfony v2.1.0, symfony/symfony v2.1.1, symfony/symfony v2.1.2, symfony/symfony v2.1.3, symfony/symfony v2.1.4, symfony/symfony v2.1.5, symfony/symfony v2.1.6, symfony/symfony v2.1.7, symfony/symfony v2.1.8, symfony/framework-bundle v2.1.0, symfony/framework-bundle v2.1.1, symfony/framework-bundle v2.1.2, symfony/framework-bundle v2.1.3, symfony/framework-bundle v2.1.4, symfony/framework-bundle v2.1.5, symfony/framework-bundle v2.1.6, symfony/framework-bundle v2.1.7, symfony/framework-bundle v2.1.8.
    - lexik/paybox-bundle v1.0.1 requires symfony/framework-bundle 2.1.*,<2.2-dev -> satisfiable by symfony/symfony v2.1.8, symfony/symfony v2.1.0, symfony/symfony v2.1.1, symfony/symfony v2.1.2, symfony/symfony v2.1.3, symfony/symfony v2.1.4, symfony/symfony v2.1.5, symfony/symfony v2.1.6, symfony/symfony v2.1.7, symfony/symfony v2.1.8, symfony/framework-bundle v2.1.0, symfony/framework-bundle v2.1.1, symfony/framework-bundle v2.1.2, symfony/framework-bundle v2.1.3, symfony/framework-bundle v2.1.4, symfony/framework-bundle v2.1.5, symfony/framework-bundle v2.1.6, symfony/framework-bundle v2.1.7, symfony/framework-bundle v2.1.8.
    - lexik/paybox-bundle v1.0.2 requires symfony/framework-bundle 2.1.*,<2.2-dev -> satisfiable by symfony/symfony v2.1.8, symfony/symfony v2.1.0, symfony/symfony v2.1.1, symfony/symfony v2.1.2, symfony/symfony v2.1.3, symfony/symfony v2.1.4, symfony/symfony v2.1.5, symfony/symfony v2.1.6, symfony/symfony v2.1.7, symfony/symfony v2.1.8, symfony/framework-bundle v2.1.0, symfony/framework-bundle v2.1.1, symfony/framework-bundle v2.1.2, symfony/framework-bundle v2.1.3, symfony/framework-bundle v2.1.4, symfony/framework-bundle v2.1.5, symfony/framework-bundle v2.1.6, symfony/framework-bundle v2.1.7, symfony/framework-bundle v2.1.8.
    - lexik/paybox-bundle v1.0.3 requires symfony/framework-bundle 2.1.*,<2.3.*-dev -> satisfiable by symfony/symfony v2.1.8, symfony/symfony v2.1.0, symfony/symfony v2.1.1, symfony/symfony v2.1.2, symfony/symfony v2.1.3, symfony/symfony v2.1.4, symfony/symfony v2.1.5, symfony/symfony v2.1.6, symfony/symfony v2.1.7, symfony/symfony v2.1.8, symfony/framework-bundle v2.1.0, symfony/framework-bundle v2.1.1, symfony/framework-bundle v2.1.2, symfony/framework-bundle v2.1.3, symfony/framework-bundle v2.1.4, symfony/framework-bundle v2.1.5, symfony/framework-bundle v2.1.6, symfony/framework-bundle v2.1.7, symfony/framework-bundle v2.1.8.
    - Can only install one of: symfony/symfony v2.2.0, symfony/symfony v2.1.0.
    - Can only install one of: symfony/symfony v2.2.0, symfony/symfony v2.1.1.
    - Can only install one of: symfony/symfony v2.2.0, symfony/symfony v2.1.2.
    - Can only install one of: symfony/symfony v2.2.0, symfony/symfony v2.1.3.
    - Can only install one of: symfony/symfony v2.2.0, symfony/symfony v2.1.4.
    - Can only install one of: symfony/symfony v2.2.0, symfony/symfony v2.1.5.
    - Can only install one of: symfony/symfony v2.2.0, symfony/symfony v2.1.6.
    - Can only install one of: symfony/symfony v2.2.0, symfony/symfony v2.1.7.
    - Can only install one of: symfony/symfony v2.2.0, symfony/symfony v2.1.8.
    - Can only install one of: symfony/symfony v2.2.0, symfony/symfony v2.1.8.
    - don't install symfony/framework-bundle v2.1.0|don't install symfony/symfony v2.2.0
    - don't install symfony/framework-bundle v2.1.1|don't install symfony/symfony v2.2.0
    - don't install symfony/framework-bundle v2.1.2|don't install symfony/symfony v2.2.0
    - don't install symfony/framework-bundle v2.1.3|don't install symfony/symfony v2.2.0
    - don't install symfony/framework-bundle v2.1.4|don't install symfony/symfony v2.2.0
    - don't install symfony/framework-bundle v2.1.5|don't install symfony/symfony v2.2.0
    - don't install symfony/framework-bundle v2.1.6|don't install symfony/symfony v2.2.0
    - don't install symfony/framework-bundle v2.1.7|don't install symfony/symfony v2.2.0
    - don't install symfony/framework-bundle v2.1.8|don't install symfony/symfony v2.2.0
    - Installation request for symfony/symfony 2.2.* -> satisfiable by symfony/symfony v2.2.0.
    - Installation request for lexik/paybox-bundle 1.0.* -> satisfiable by lexik/paybox-bundle v1.0.0, lexik/paybox-bundle v1.0.1, lexik/paybox-bundle v1.0.2, lexik/paybox-bundle v1.0.3.
soullivaneuh commented 11 years ago

Could you please push a new version for the PR #11 ? Thanks ! :)

Olineuve commented 11 years ago

I moved the v1.0.3 tag on commit e016ff950023bb8459601e47db90c3a71a5e35d0 Thanks.

soullivaneuh commented 11 years ago

You're welcome ! ;)

But Packagist doesn't seem to change it, as you can see here: https://packagist.org/packages/lexik/paybox-bundle

And I have already the same error, I can fix it only if I write "lexik/paybox-bundle": "dev-master as 1.0.3" instead of "lexik/paybox-bundle": "1.0.*" in my composer.json file.

Olineuve commented 11 years ago

I forced the update on Packagist, he's now on the right version.

soullivaneuh commented 11 years ago

It works now, thanks !