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

Incombatible with Symfony 5.2.* and PHP 8.0.* #81

Closed
mitopp opened this issue Apr 26, 2021 · 2 comments
Closed

Incombatible with Symfony 5.2.* and PHP 8.0.* #81

mitopp opened this issue Apr 26, 2021 · 2 comments

Comments

@mitopp
Copy link

mitopp commented Apr 26, 2021

$ symfony composer require shivas/versioning-bundle
Using version ^3.0 for shivas/versioning-bundle
./composer.json has been updated
Running composer update shivas/versioning-bundle
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - shivas/versioning-bundle[3.2.4, ..., 3.2.x-dev] require php ^7.1 -> your php version (8.0.3) does not satisfy that requirement.
    - shivas/versioning-bundle[3.0.0, ..., 3.0.1] require symfony/framework-bundle ^3.4|^4.0 -> found symfony/framework-bundle[v3.4.0-BETA1, ..., 3.4.x-dev, v4.0.0-BETA1, ..., 4.4.x-dev] but it conflicts with your root com
poser.json require (5.2.*).
    - shivas/versioning-bundle[3.1.1, ..., 3.2.3] require php ^7.0 -> your php version (8.0.3) does not satisfy that requirement.
    - Root composer.json requires shivas/versioning-bundle ^3.0 -> satisfiable by shivas/versioning-bundle[3.0.0, ..., 3.2.x-dev].

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.

Installation failed, reverting ./composer.json and ./composer.lock to their original content.
{
    "type": "project",
    "license": "MIT",
    "minimum-stability": "dev",
    "prefer-stable": true,
    "require": {
        "php": ">=8.0",
        "ext-ctype": "*",
        "ext-iconv": "*",
        "ext-pdo": "*",
        "composer/package-versions-deprecated": "1.11.99.1",
        "doctrine/doctrine-bundle": "^2.2",
        "doctrine/doctrine-migrations-bundle": "^3.0",
        "doctrine/orm": "^2.8",
        "league/flysystem": "^2.0",
        "league/flysystem-sftp": "^2.0",
        "symfony/console": "5.2.*",
        "symfony/dotenv": "5.2.*",
        "symfony/flex": "^1.3.1",
        "symfony/form": "5.2.*",
        "symfony/framework-bundle": "5.2.*",
        "symfony/intl": "5.2.*",
        "symfony/ldap": "5.2.*",
        "symfony/lock": "5.2.*",
        "symfony/mailer": "5.2.*",
        "symfony/proxy-manager-bridge": "5.2.*",
        "symfony/security-bundle": "5.2.*",
        "symfony/translation": "5.2.*",
        "symfony/twig-bundle": "^5.2",
        "symfony/uid": "5.2.*",
        "symfony/validator": "5.2.*",
        "symfony/webpack-encore-bundle": "^1.11",
        "symfony/yaml": "5.2.*",
        "twig/extra-bundle": "^2.12|^3.0",
        "twig/intl-extra": "^3.3",
        "twig/string-extra": "^3.3",
        "twig/twig": "^2.12|^3.0"
    },
    "require-dev": {
        "doctrine/doctrine-fixtures-bundle": "^3.4",
        "friendsofphp/php-cs-fixer": "^2.18",
        "phpstan/phpstan": "^0.12.81",
        "squizlabs/php_codesniffer": "^3.5",
        "symfony/browser-kit": "5.2.*",
        "symfony/css-selector": "5.2.*",
        "symfony/debug-bundle": "^5.2",
        "symfony/maker-bundle": "^1.29",
        "symfony/monolog-bundle": "^3.0",
        "symfony/phpunit-bridge": "^5.2",
        "symfony/stopwatch": "^5.2",
        "symfony/var-dumper": "^5.2",
        "symfony/web-profiler-bundle": "^5.2"
    },
    "config": {
        "optimize-autoloader": true,
        "preferred-install": {
            "*": "dist"
        },
        "sort-packages": true
    },
    "autoload": {
        "psr-4": {
            "App\\": "src/"
        }
    },
    "autoload-dev": {
        "psr-4": {
            "App\\Tests\\": "tests/"
        }
    },
    "replace": {
        "symfony/polyfill-ctype": "*",
        "symfony/polyfill-iconv": "*",
        "symfony/polyfill-php72": "*"
    },
    "scripts": {
        "auto-scripts": {
            "cache:clear": "symfony-cmd",
            "assets:install %PUBLIC_DIR%": "symfony-cmd"
        },
        "post-install-cmd": [
            "@auto-scripts"
        ],
        "post-update-cmd": [
            "@auto-scripts"
        ]
    },
    "conflict": {
        "symfony/symfony": "*"
    },
    "extra": {
        "symfony": {
            "allow-contrib": false,
            "require": "5.2.*"
        }
    }
}
@dontub
Copy link
Collaborator

dontub commented Apr 26, 2021

The current master branch has support for PHP 8.

@mitopp
Copy link
Author

mitopp commented Apr 27, 2021

Ok, it works. Thanks

@mitopp mitopp closed this as completed Apr 27, 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