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

Issue with referenced package version roave/better-reflection ^4.0 - should be ^3.5 #5

Closed
renepardon opened this issue Feb 17, 2020 · 3 comments

Comments

@renepardon
Copy link

renepardon commented Feb 17, 2020

Used packages:

  • vyuldashev/laravel-openapi: ^0.18.1

Dev:

  • phpunit/phpunit: ^8.0

The package roave/better-reflection has no version/tag 4.* so it uses dev-master for installation and this is the result:

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

  Problem 1
    - Conclusion: remove vyuldashev/laravel-openapi v0.18.1
    - vyuldashev/laravel-openapi v0.18.1 requires roave/better-reflection ^4.0 -> satisfiable by roave/better-reflection[4.0.x-dev].
    - Conclusion: remove roave/better-reflection 4.0.x-dev|keep phpdocumentor/reflection-docblock 4.3.4
    - Conclusion: remove phpdocumentor/reflection-docblock 4.3.4
    - Conclusion: remove phpdocumentor/type-resolver 1.0.1
    - Conclusion: don't install phpdocumentor/type-resolver 1.0.1
    - Conclusion: don't install phpdocumentor/reflection-docblock 4.3.4|don't install roave/better-reflection 4.0.x-dev|install phpdocumentor/reflection-docblock 5.0.0
    - Conclusion: don't install phpdocumentor/reflection-docblock 5.0.0
    - Conclusion: don't install phpdocumentor/reflection-docblock 4.3.3
    - Installation request for vyuldashev/laravel-openapi ^0.18.1 -> satisfiable by vyuldashev/laravel-openapi[v0.18.1].
    - roave/better-reflection 4.0.x-dev requires phpdocumentor/reflection-docblock ^5.0.0 -> satisfiable by phpdocumentor/reflection-docblock[5.0.0, 5.0.0-alpha1, 5.0.0-alpha2, 5.0.0-alpha3, 5.0.0-alpha4, 5.0.0-alpha5, 5.0.0-alpha6, 5.0.0-alpha7, 5.0.0-alpha8, 5.0.0-alpha9, 5.0.0-beta, 5.x-dev].
    - Can only install one of: phpdocumentor/reflection-docblock[5.0.0-alpha6, 4.3.2].
    - Can only install one of: phpdocumentor/reflection-docblock[5.0.0-alpha7, 4.3.2].
    - Can only install one of: phpdocumentor/reflection-docblock[5.0.0-alpha8, 4.3.2].
    - Can only install one of: phpdocumentor/reflection-docblock[5.0.0-alpha9, 4.3.2].
    - Can only install one of: phpdocumentor/reflection-docblock[5.0.0-beta, 4.3.2].
    - Can only install one of: phpdocumentor/reflection-docblock[5.x-dev, 4.3.2].
    - vyuldashev/laravel-openapi v0.18.1 requires phpdocumentor/reflection-docblock ^4.3 -> satisfiable by phpdocumentor/reflection-docblock[4.3.4, 4.3.0, 4.3.1, 4.3.2, 4.3.3].
    - phpdocumentor/reflection-docblock 4.3.0 requires phpdocumentor/type-resolver ^0.4.0 -> satisfiable by phpdocumentor/type-resolver[0.4.0].
    - phpdocumentor/reflection-docblock 4.3.1 requires phpdocumentor/type-resolver ^0.4.0 -> satisfiable by phpdocumentor/type-resolver[0.4.0].
    - phpdocumentor/reflection-docblock 5.0.0-alpha1 requires phpdocumentor/type-resolver ^0 -> satisfiable by phpdocumentor/type-resolver[0.1, 0.1.1, 0.1.2, 0.1.3, 0.1.4, 0.1.5, 0.1.6, 0.1.7, 0.1.8, 0.2, 0.2.1, 0.3.0, 0.4.0, 0.5.0, 0.5.1, 0.6.0, 0.6.1, 0.6.2, 0.6.3, 0.7.0, 0.7.1, 0.7.2, 0.7.x-dev].
    - phpdocumentor/reflection-docblock 5.0.0-alpha2 requires phpdocumentor/type-resolver ^0 -> satisfiable by phpdocumentor/type-resolver[0.1, 0.1.1, 0.1.2, 0.1.3, 0.1.4, 0.1.5, 0.1.6, 0.1.7, 0.1.8, 0.2, 0.2.1, 0.3.0, 0.4.0, 0.5.0, 0.5.1, 0.6.0, 0.6.1, 0.6.2, 0.6.3, 0.7.0, 0.7.1, 0.7.2, 0.7.x-dev].
    - phpdocumentor/reflection-docblock 5.0.0-alpha3 requires phpdocumentor/type-resolver ^0 -> satisfiable by phpdocumentor/type-resolver[0.1, 0.1.1, 0.1.2, 0.1.3, 0.1.4, 0.1.5, 0.1.6, 0.1.7, 0.1.8, 0.2, 0.2.1, 0.3.0, 0.4.0, 0.5.0, 0.5.1, 0.6.0, 0.6.1, 0.6.2, 0.6.3, 0.7.0, 0.7.1, 0.7.2, 0.7.x-dev].
    - phpdocumentor/reflection-docblock 5.0.0-alpha4 requires phpdocumentor/type-resolver ^0 -> satisfiable by phpdocumentor/type-resolver[0.1, 0.1.1, 0.1.2, 0.1.3, 0.1.4, 0.1.5, 0.1.6, 0.1.7, 0.1.8, 0.2, 0.2.1, 0.3.0, 0.4.0, 0.5.0, 0.5.1, 0.6.0, 0.6.1, 0.6.2, 0.6.3, 0.7.0, 0.7.1, 0.7.2, 0.7.x-dev].
    - phpdocumentor/reflection-docblock 5.0.0-alpha5 requires phpdocumentor/type-resolver ^0 -> satisfiable by phpdocumentor/type-resolver[0.1, 0.1.1, 0.1.2, 0.1.3, 0.1.4, 0.1.5, 0.1.6, 0.1.7, 0.1.8, 0.2, 0.2.1, 0.3.0, 0.4.0, 0.5.0, 0.5.1, 0.6.0, 0.6.1, 0.6.2, 0.6.3, 0.7.0, 0.7.1, 0.7.2, 0.7.x-dev].
    - Can only install one of: phpdocumentor/type-resolver[1.x-dev, 0.4.0].
    - Can only install one of: phpdocumentor/type-resolver[1.x-dev, 0.5.0].
    - Can only install one of: phpdocumentor/type-resolver[1.x-dev, 0.5.1].
    - Can only install one of: phpdocumentor/type-resolver[1.x-dev, 0.6.0].
    - Can only install one of: phpdocumentor/type-resolver[1.x-dev, 0.6.1].
    - Can only install one of: phpdocumentor/type-resolver[1.x-dev, 0.6.2].
    - Can only install one of: phpdocumentor/type-resolver[1.x-dev, 0.6.3].
    - Can only install one of: phpdocumentor/type-resolver[1.x-dev, 0.7.0].
    - Can only install one of: phpdocumentor/type-resolver[1.x-dev, 0.7.1].
    - Can only install one of: phpdocumentor/type-resolver[1.x-dev, 0.7.2].
    - Can only install one of: phpdocumentor/type-resolver[1.x-dev, 0.7.x-dev].
    - Can only install one of: phpdocumentor/type-resolver[1.x-dev, 0.1].
    - Can only install one of: phpdocumentor/type-resolver[1.x-dev, 0.1.1].
    - Can only install one of: phpdocumentor/type-resolver[1.x-dev, 0.1.2].
    - Can only install one of: phpdocumentor/type-resolver[1.x-dev, 0.1.3].
    - Can only install one of: phpdocumentor/type-resolver[1.x-dev, 0.1.4].
    - Can only install one of: phpdocumentor/type-resolver[1.x-dev, 0.1.5].
    - Can only install one of: phpdocumentor/type-resolver[1.x-dev, 0.1.6].
    - Can only install one of: phpdocumentor/type-resolver[1.x-dev, 0.1.7].
    - Can only install one of: phpdocumentor/type-resolver[1.x-dev, 0.1.8].
    - Can only install one of: phpdocumentor/type-resolver[1.x-dev, 0.2].
    - Can only install one of: phpdocumentor/type-resolver[1.x-dev, 0.2.1].
    - Can only install one of: phpdocumentor/type-resolver[1.x-dev, 0.3.0].
    - roave/better-reflection 4.0.x-dev requires phpdocumentor/type-resolver ^1.0.0 -> satisfiable by phpdocumentor/type-resolver[1.0.1, 1.0.0, 1.x-dev].
    - Conclusion: don't install phpdocumentor/type-resolver 1.0.0

My packages at all:

    "require": {
        "php": ">=7.3",
        "ext-json": "*",
        "bensampo/laravel-enum": "^1.26",
        "bschmitt/laravel-amqp": "^2.0",
        "fideloper/proxy": "^4.0",
        "laravel/framework": "^6.0",
        "laravel/tinker": "^1.0",
        "league/flysystem-aws-s3-v3": "^1.0",
        "pion/laravel-chunk-upload": "^1.3",
        "predis/predis": "^1.1",
        "renepardon/amqp-pubsub": "^1.0",
        "vladimir-yuldashev/laravel-queue-rabbitmq": "^10.1",
        "vyuldashev/laravel-openapi": "^0.18.1"
    },
    "require-dev": {
        "barryvdh/laravel-ide-helper": "^2.6",
        "brainmaestro/composer-git-hooks": "^2.8",
        "facade/ignition": "^1.4",
        "fzaninotto/faker": "^1.4",
        "haydenpierce/class-finder": "^0.4.0",
        "mockery/mockery": "^1.0",
        "nunomaduro/collision": "^3.0",
        "nunomaduro/larastan": "^0.4.3",
        "pdepend/pdepend": "^2.5",
        "phing/phing": "^2.16",
        "phploc/phploc": "^5.0",
        "phpmd/phpmd": "^2.7",
        "phpunit/php-code-coverage": "^7.0",
        "phpunit/phpunit": "^8.0",
        "renepardon/laravel-code-generator": "^1.0",
        "renepardon/laravel-code-generator-swagger": "^1.0",
        "sebastian/phpcpd": "^4.1",
        "squizlabs/php_codesniffer": "^3.5"
    },
@renepardon
Copy link
Author

How to reproduce:

laravel new test
cd test

Replace require and require-dev key with following contents:

    "require": {
         "php": ">=7.3",
         "ext-json": "*",
         "bensampo/laravel-enum": "^1.26",
         "bschmitt/laravel-amqp": "^2.0",
         "fideloper/proxy": "^4.0",
         "laravel/framework": "^6.0",
         "laravel/tinker": "^1.0",
         "league/flysystem-aws-s3-v3": "^1.0",
         "pion/laravel-chunk-upload": "^1.3",
         "predis/predis": "^1.1",
         "vladimir-yuldashev/laravel-queue-rabbitmq": "^10.1",
         "vyuldashev/laravel-openapi": "^0.18.1"
     },
     "require-dev": {
         "barryvdh/laravel-ide-helper": "^2.6",
         "brainmaestro/composer-git-hooks": "^2.8",
         "facade/ignition": "^1.4",
         "fzaninotto/faker": "^1.4",
         "haydenpierce/class-finder": "^0.4.0",
         "mockery/mockery": "^1.0",
         "nunomaduro/collision": "^3.0",
         "nunomaduro/larastan": "^0.4.3",
         "pdepend/pdepend": "^2.5",
         "phing/phing": "^2.16",
         "phploc/phploc": "^5.0",
         "phpmd/phpmd": "^2.7",
         "phpunit/php-code-coverage": "^7.0",
         "phpunit/phpunit": "^8.0",
         "renepardon/laravel-code-generator": "^1.0",
         "renepardon/laravel-code-generator-swagger": "^1.0",
         "sebastian/phpcpd": "^4.1",
         "squizlabs/php_codesniffer": "^3.5"
     },
rm -rf vendor/ composer.lock
composer install

@vyuldashev
Copy link
Owner

Try latest version, please

@renepardon
Copy link
Author

Thank you @vyuldashev , works! :)

andrewminion-luminfire pushed a commit to macbookandrew/vyuldashev-laravel-openapi that referenced this issue Jul 19, 2024
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
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