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 conflict phpmentors/workflower-bundle 1.3.* #64

Open
ArjandeRuyter opened this issue Jul 30, 2020 · 7 comments
Open

Composer conflict phpmentors/workflower-bundle 1.3.* #64

ArjandeRuyter opened this issue Jul 30, 2020 · 7 comments
Assignees
Labels

Comments

@ArjandeRuyter
Copy link

when executing: composer require phpmentors/workflower "1.4.*" the following problem occurs.

Problem 1
- Installation request for phpmentors/workflower-bundle 1.4.* -> satisfiable by phpmentors/workflower-bundle[v1.4.0].
- Conclusion: remove symfony/cache v5.1.3
- Conclusion: don't install symfony/cache v5.1.3

symfony/cache v5.1.3 is required by phpmentors/workflower (v1.4.1)

@iteman iteman self-assigned this Aug 4, 2020
@iteman
Copy link
Member

iteman commented Aug 4, 2020

This issue could not be reproduced in PHP 7.4.7 on Windows 10 as the following:

$ php ~/bin/composer.phar require phpmentors/workflower-bundle "1.4.*"
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 39 installs, 0 updates, 0 removals
  - Installing paragonie/random_compat (v9.99.99): Downloading (100%)
  - Installing symfony/polyfill-php70 (v1.18.1): Downloading (100%)
  - Installing psr/log (1.1.3): Downloading (100%)
  - Installing symfony/polyfill-php80 (v1.18.1): Downloading (100%)
  - Installing symfony/polyfill-ctype (v1.18.1): Downloading (100%)
  - Installing symfony/polyfill-mbstring (v1.18.1): Downloading (100%)
  - Installing symfony/deprecation-contracts (v2.1.3): Downloading (100%)
  - Installing symfony/polyfill-php72 (v1.18.1): Downloading (100%)
  - Installing symfony/polyfill-intl-normalizer (v1.18.1): Downloading (100%)
  - Installing symfony/polyfill-intl-idn (v1.18.1): Downloading (100%)
  - Installing symfony/mime (v5.1.3): Downloading (100%)
  - Installing symfony/http-foundation (v4.4.11): Downloading (100%)
  - Installing symfony/event-dispatcher-contracts (v1.1.9): Downloading (100%)
  - Installing psr/container (1.0.0): Downloading (100%)
  - Installing psr/cache (1.0.1): Downloading (100%)
  - Installing symfony/event-dispatcher (v4.4.11): Downloading (100%)
  - Installing symfony/debug (v4.4.11): Downloading (100%)
  - Installing symfony/polyfill-util (v1.18.1): Downloading (100%)
  - Installing symfony/polyfill-php56 (v1.18.1): Downloading (100%)
  - Installing symfony/http-kernel (v3.4.43): Downloading (100%)
  - Installing symfony/service-contracts (v1.1.9): Downloading (100%)
  - Installing symfony/dependency-injection (v3.4.43): Downloading (100%)
  - Installing symfony/polyfill-intl-grapheme (v1.18.1): Downloading (100%)
  - Installing symfony/string (v5.1.3): Downloading (100%)
  - Installing symfony/inflector (v5.1.3): Downloading (100%)
  - Installing symfony/property-access (v4.4.11): Downloading (100%)
  - Installing symfony/security (v3.4.43): Downloading (100%)
  - Installing symfony/filesystem (v4.4.11): Downloading (100%)
  - Installing symfony/config (v3.4.43): Downloading (100%)
  - Installing symfony/security-bundle (v3.4.43): Downloading (100%)
  - Installing symfony/finder (v3.4.43): Downloading (100%)
  - Installing symfony/var-exporter (v4.4.11): Downloading (100%)
  - Installing symfony/cache-contracts (v1.1.9): Downloading (100%)
  - Installing symfony/cache (v4.3.11): Downloading (100%)
  - Installing symfony/expression-language (v4.4.11): Downloading (100%)
  - Installing phpmentors/domain-kata (v1.4.0): Downloading (100%)
  - Installing piece/stagehand-fsm (v2.6.0): Downloading (100%)
  - Installing phpmentors/workflower (v1.4.1): Downloading (100%)
  - Installing phpmentors/workflower-bundle (v1.4.0): Downloading (100%)
paragonie/random_compat suggests installing ext-libsodium (Provides a modern crypto API that can be used to generate random bytes.)
symfony/polyfill-mbstring suggests installing ext-mbstring (For best performance)
symfony/polyfill-intl-normalizer suggests installing ext-intl (For best performance)
symfony/polyfill-intl-idn suggests installing ext-intl (For best performance)
symfony/event-dispatcher-contracts suggests installing psr/event-dispatcher
symfony/http-kernel suggests installing symfony/browser-kit
symfony/http-kernel suggests installing symfony/console
symfony/http-kernel suggests installing symfony/var-dumper
symfony/service-contracts suggests installing symfony/service-implementation
symfony/dependency-injection suggests installing symfony/yaml
symfony/dependency-injection suggests installing symfony/proxy-manager-bridge (Generate service proxies to lazy load them)
symfony/polyfill-intl-grapheme suggests installing ext-intl (For best performance)
symfony/security suggests installing symfony/form
symfony/security suggests installing symfony/validator (For using the user password constraint)
symfony/security suggests installing symfony/routing (For using the HttpUtils class to create sub-requests, redirect the user, and match URLs)
symfony/security suggests installing symfony/ldap (For using the LDAP user and authentication providers)
symfony/config suggests installing symfony/yaml (To use the yaml reference dumper)
symfony/security-bundle suggests installing symfony/security-acl (For using the ACL functionality of this bundle)
phpmentors/workflower-bundle suggests installing doctrine/orm (>= 2.4.0 provides transparent serialization/deserialization support for entities with Doctrine ORM)
phpmentors/workflower-bundle suggests installing symfony/doctrine-bridge (>=2.8.0 provides transparent serialization/deserialization support for entities with Doctrine ORM)
Writing lock file
Generating autoload files
30 packages you are using are looking for funding.
Use the `composer fund` command to find out more!

Let me know how can I reproduce this?

@ArjandeRuyter
Copy link
Author

PHP 7.2.26 (cli) (built: Dec 28 2019 22:17:07) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
with Zend OPcache v7.2.26, Copyright (c) 1999-2018, by Zend Technologies
with Xdebug v2.9.1, Copyright (c) 2002-2020, by Derick Rethans
with blackfire v1.30.0~linux-x64-non_zts72, https://blackfire.io, by Blackfire

composer require phpmentors/workflower-bundle "1.4.*"

`./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

Problem 1
- Installation request for phpmentors/workflower-bundle 1.4.* -> satisfiable by phpmentors/workflower-bundle[v1.4.0].
- Conclusion: remove symfony/cache v5.1.3
- Conclusion: don't install symfony/cache v5.1.3
- phpmentors/workflower-bundle v1.4.0 requires symfony/http-kernel ~2.8 || ~3.0 -> satisfiable by symfony/http-kernel[v2.8.0, v2.8.1, v2.8.10, v2.8.11, v2.8.12, v2.8.13, v2.8.14, v2.8.15, v2.8.16, v2.8.17, v2.8.18, v2.8.19, v2.8.2, v2.8.20, v2.8.21, v2.8.22, v2.8.23, v2.8.24, v2.8.25, v2.8.26, v2.8.27, v2.8.28, v2.8.29, v2.8.3, v2.8.30, v2.8.31, v2.8.32, v2.8.33, v2.8.34, v2.8.35, v2.8.36, v2.8.37, v2.8.38, v2.8.39, v2.8.4, v2.8.40, v2.8.41, v2.8.42, v2.8.43, v2.8.44, v2.8.45, v2.8.46, v2.8.47, v2.8.48, v2.8.49, v2.8.5, v2.8.50, v2.8.51, v2.8.52, v2.8.6, v2.8.7, v2.8.8, v2.8.9, v3.0.0, v3.0.1, v3.0.2, v3.0.3, v3.0.4, v3.0.5, v3.0.6, v3.0.7, v3.0.8, v3.0.9, v3.1.0, v3.1.1, v3.1.10, v3.1.2, v3.1.3, v3.1.4, v3.1.5, v3.1.6, v3.1.7, v3.1.8, v3.1.9, v3.2.0, v3.2.1, v3.2.10, v3.2.11, v3.2.12, v3.2.13, v3.2.14, v3.2.2, v3.2.3, v3.2.4, v3.2.5, v3.2.6, v3.2.7, v3.2.8, v3.2.9, v3.3.0, v3.3.1, v3.3.10, v3.3.11, v3.3.12, v3.3.13, v3.3.14, v3.3.15, v3.3.16, v3.3.17, v3.3.18, v3.3.2, v3.3.3, v3.3.4, v3.3.5, v3.3.6, v3.3.7, v3.3.8, v3.3.9, v3.4.0, v3.4.1, v3.4.10, v3.4.11, v3.4.12, v3.4.13, v3.4.14, v3.4.15, v3.4.16, v3.4.17, v3.4.18, v3.4.19, v3.4.2, v3.4.20, v3.4.21, v3.4.22, v3.4.23, v3.4.24, v3.4.25, v3.4.26, v3.4.27, v3.4.28, v3.4.29, v3.4.3, v3.4.30, v3.4.31, v3.4.32, v3.4.33, v3.4.34, v3.4.35, v3.4.36, v3.4.37, v3.4.38, v3.4.39, v3.4.4, v3.4.40, v3.4.41, v3.4.42, v3.4.43, v3.4.5, v3.4.6, v3.4.7, v3.4.8, v3.4.9].
- symfony/http-kernel v2.8.0 conflicts with symfony/cache[v5.1.3].
- symfony/http-kernel v2.8.1 conflicts with symfony/cache[v5.1.3].
- symfony/http-kernel v2.8.10 conflicts with symfony/cache[v5.1.3].
- symfony/http-kernel v2.8.11 conflicts with symfony/cache[v5.1.3].
- symfony/http-kernel v2.8.12 conflicts with symfony/cache[v5.1.3].
- symfony/http-kernel v2.8.13 conflicts with symfony/cache[v5.1.3].
- symfony/http-kernel v2.8.14 conflicts with symfony/cache[v5.1.3].
- symfony/http-kernel v2.8.15 conflicts with symfony/cache[v5.1.3].
- symfony/http-kernel v2.8.16 conflicts with symfony/cache[v5.1.3].
- symfony/http-kernel v2.8.17 conflicts with symfony/cache[v5.1.3].
- symfony/http-kernel v2.8.18 conflicts with symfony/cache[v5.1.3].
- symfony/http-kernel v2.8.19 conflicts with symfony/cache[v5.1.3].
- symfony/http-kernel v2.8.2 conflicts with symfony/cache[v5.1.3].
- symfony/http-kernel v2.8.20 conflicts with symfony/cache[v5.1.3].
- symfony/http-kernel v2.8.21 conflicts with symfony/cache[v5.1.3].
- symfony/http-kernel v2.8.22 conflicts with symfony/cache[v5.1.3].
- symfony/http-kernel v2.8.23 conflicts with symfony/cache[v5.1.3].
- symfony/http-kernel v2.8.24 conflicts with symfony/cache[v5.1.3].
- symfony/http-kernel v2.8.25 conflicts with symfony/cache[v5.1.3].
- symfony/http-kernel v2.8.26 conflicts with symfony/cache[v5.1.3].
- symfony/http-kernel v2.8.27 conflicts with symfony/cache[v5.1.3].
- symfony/http-kernel v2.8.28 conflicts with symfony/cache[v5.1.3].
- symfony/http-kernel v2.8.29 conflicts with symfony/cache[v5.1.3].
- symfony/http-kernel v2.8.3 conflicts with symfony/cache[v5.1.3].
- symfony/http-kernel v2.8.30 conflicts with symfony/cache[v5.1.3].
- symfony/http-kernel v2.8.31 conflicts with symfony/cache[v5.1.3].
- symfony/http-kernel v2.8.32 conflicts with symfony/cache[v5.1.3].
- symfony/http-kernel v2.8.33 conflicts with symfony/cache[v5.1.3].
- symfony/http-kernel v2.8.34 conflicts with symfony/cache[v5.1.3].
- symfony/http-kernel v2.8.35 conflicts with symfony/cache[v5.1.3].
- symfony/http-kernel v2.8.36 conflicts with symfony/cache[v5.1.3].
- symfony/http-kernel v2.8.37 conflicts with symfony/cache[v5.1.3].
- symfony/http-kernel v2.8.38 conflicts with symfony/cache[v5.1.3].
- symfony/http-kernel v2.8.39 conflicts with symfony/cache[v5.1.3].
- symfony/http-kernel v2.8.4 conflicts with symfony/cache[v5.1.3].
- symfony/http-kernel v2.8.40 conflicts with symfony/cache[v5.1.3].
- symfony/http-kernel v2.8.41 conflicts with symfony/cache[v5.1.3].
- symfony/http-kernel v2.8.42 conflicts with symfony/cache[v5.1.3].
- symfony/http-kernel v2.8.43 conflicts with symfony/cache[v5.1.3].
- symfony/http-kernel v2.8.44 conflicts with symfony/cache[v5.1.3].
- symfony/http-kernel v2.8.45 conflicts with symfony/cache[v5.1.3].
- symfony/http-kernel v2.8.46 conflicts with symfony/cache[v5.1.3].
- symfony/http-kernel v2.8.47 conflicts with symfony/cache[v5.1.3].
- symfony/http-kernel v2.8.48 conflicts with symfony/cache[v5.1.3].
- symfony/http-kernel v2.8.49 conflicts with symfony/cache[v5.1.3].
- symfony/http-kernel v2.8.5 conflicts with symfony/cache[v5.1.3].
- symfony/http-kernel v2.8.50 conflicts with symfony/cache[v5.1.3].
- symfony/http-kernel v2.8.51 conflicts with symfony/cache[v5.1.3].
- symfony/http-kernel v2.8.52 conflicts with symfony/cache[v5.1.3].
- symfony/http-kernel v2.8.6 conflicts with symfony/cache[v5.1.3].
- symfony/http-kernel v2.8.7 conflicts with symfony/cache[v5.1.3].
- symfony/http-kernel v2.8.8 conflicts with symfony/cache[v5.1.3].
- symfony/http-kernel v2.8.9 conflicts with symfony/cache[v5.1.3].
- symfony/http-kernel v3.0.0 conflicts with symfony/cache[v5.1.3].
- symfony/http-kernel v3.0.1 conflicts with symfony/cache[v5.1.3].
- symfony/http-kernel v3.0.2 conflicts with symfony/cache[v5.1.3].
- symfony/http-kernel v3.0.3 conflicts with symfony/cache[v5.1.3].
- symfony/http-kernel v3.0.4 conflicts with symfony/cache[v5.1.3].
- symfony/http-kernel v3.0.5 conflicts with symfony/cache[v5.1.3].
- symfony/http-kernel v3.0.6 conflicts with symfony/cache[v5.1.3].
- symfony/http-kernel v3.0.7 conflicts with symfony/cache[v5.1.3].
- symfony/http-kernel v3.0.8 conflicts with symfony/cache[v5.1.3].
- symfony/http-kernel v3.0.9 conflicts with symfony/cache[v5.1.3].
- symfony/http-kernel v3.1.0 conflicts with symfony/cache[v5.1.3].
- symfony/http-kernel v3.1.1 conflicts with symfony/cache[v5.1.3].
- symfony/http-kernel v3.1.10 conflicts with symfony/cache[v5.1.3].
- symfony/http-kernel v3.1.2 conflicts with symfony/cache[v5.1.3].
- symfony/http-kernel v3.1.3 conflicts with symfony/cache[v5.1.3].
- symfony/http-kernel v3.1.4 conflicts with symfony/cache[v5.1.3].
- symfony/http-kernel v3.1.5 conflicts with symfony/cache[v5.1.3].
- symfony/http-kernel v3.1.6 conflicts with symfony/cache[v5.1.3].
- symfony/http-kernel v3.1.7 conflicts with symfony/cache[v5.1.3].
- symfony/http-kernel v3.1.8 conflicts with symfony/cache[v5.1.3].
- symfony/http-kernel v3.1.9 conflicts with symfony/cache[v5.1.3].
- symfony/http-kernel v3.2.0 conflicts with symfony/cache[v5.1.3].
- symfony/http-kernel v3.2.1 conflicts with symfony/cache[v5.1.3].
- symfony/http-kernel v3.2.10 conflicts with symfony/cache[v5.1.3].
- symfony/http-kernel v3.2.11 conflicts with symfony/cache[v5.1.3].
- symfony/http-kernel v3.2.12 conflicts with symfony/cache[v5.1.3].
- symfony/http-kernel v3.2.13 conflicts with symfony/cache[v5.1.3].
- symfony/http-kernel v3.2.14 conflicts with symfony/cache[v5.1.3].
- symfony/http-kernel v3.2.2 conflicts with symfony/cache[v5.1.3].
- symfony/http-kernel v3.2.3 conflicts with symfony/cache[v5.1.3].
- symfony/http-kernel v3.2.4 conflicts with symfony/cache[v5.1.3].
- symfony/http-kernel v3.2.5 conflicts with symfony/cache[v5.1.3].
- symfony/http-kernel v3.2.6 conflicts with symfony/cache[v5.1.3].
- symfony/http-kernel v3.2.7 conflicts with symfony/cache[v5.1.3].
- symfony/http-kernel v3.2.8 conflicts with symfony/cache[v5.1.3].
- symfony/http-kernel v3.2.9 conflicts with symfony/cache[v5.1.3].
- symfony/http-kernel v3.3.0 conflicts with symfony/cache[v5.1.3].
- symfony/http-kernel v3.3.1 conflicts with symfony/cache[v5.1.3].
- symfony/http-kernel v3.3.10 conflicts with symfony/cache[v5.1.3].
- symfony/http-kernel v3.3.11 conflicts with symfony/cache[v5.1.3].
- symfony/http-kernel v3.3.12 conflicts with symfony/cache[v5.1.3].
- symfony/http-kernel v3.3.13 conflicts with symfony/cache[v5.1.3].
- symfony/http-kernel v3.3.14 conflicts with symfony/cache[v5.1.3].
- symfony/http-kernel v3.3.15 conflicts with symfony/cache[v5.1.3].
- symfony/http-kernel v3.3.16 conflicts with symfony/cache[v5.1.3].
- symfony/http-kernel v3.3.17 conflicts with symfony/cache[v5.1.3].
- symfony/http-kernel v3.3.18 conflicts with symfony/cache[v5.1.3].
- symfony/http-kernel v3.3.2 conflicts with symfony/cache[v5.1.3].
- symfony/http-kernel v3.3.3 conflicts with symfony/cache[v5.1.3].
- symfony/http-kernel v3.3.4 conflicts with symfony/cache[v5.1.3].
- symfony/http-kernel v3.3.5 conflicts with symfony/cache[v5.1.3].
- symfony/http-kernel v3.3.6 conflicts with symfony/cache[v5.1.3].
- symfony/http-kernel v3.3.7 conflicts with symfony/cache[v5.1.3].
- symfony/http-kernel v3.3.8 conflicts with symfony/cache[v5.1.3].
- symfony/http-kernel v3.3.9 conflicts with symfony/cache[v5.1.3].
- symfony/http-kernel v3.4.0 conflicts with symfony/cache[v5.1.3].
- symfony/http-kernel v3.4.1 conflicts with symfony/cache[v5.1.3].
- symfony/http-kernel v3.4.10 conflicts with symfony/cache[v5.1.3].
- symfony/http-kernel v3.4.11 conflicts with symfony/cache[v5.1.3].
- symfony/http-kernel v3.4.12 conflicts with symfony/cache[v5.1.3].
- symfony/http-kernel v3.4.13 conflicts with symfony/cache[v5.1.3].
- symfony/http-kernel v3.4.14 conflicts with symfony/cache[v5.1.3].
- symfony/http-kernel v3.4.15 conflicts with symfony/cache[v5.1.3].
- symfony/http-kernel v3.4.16 conflicts with symfony/cache[v5.1.3].
- symfony/http-kernel v3.4.17 conflicts with symfony/cache[v5.1.3].
- symfony/http-kernel v3.4.18 conflicts with symfony/cache[v5.1.3].
- symfony/http-kernel v3.4.19 conflicts with symfony/cache[v5.1.3].
- symfony/http-kernel v3.4.2 conflicts with symfony/cache[v5.1.3].
- symfony/http-kernel v3.4.20 conflicts with symfony/cache[v5.1.3].
- symfony/http-kernel v3.4.21 conflicts with symfony/cache[v5.1.3].
- symfony/http-kernel v3.4.22 conflicts with symfony/cache[v5.1.3].
- symfony/http-kernel v3.4.23 conflicts with symfony/cache[v5.1.3].
- symfony/http-kernel v3.4.24 conflicts with symfony/cache[v5.1.3].
- symfony/http-kernel v3.4.25 conflicts with symfony/cache[v5.1.3].
- symfony/http-kernel v3.4.26 conflicts with symfony/cache[v5.1.3].
- symfony/http-kernel v3.4.27 conflicts with symfony/cache[v5.1.3].
- symfony/http-kernel v3.4.28 conflicts with symfony/cache[v5.1.3].
- symfony/http-kernel v3.4.29 conflicts with symfony/cache[v5.1.3].
- symfony/http-kernel v3.4.3 conflicts with symfony/cache[v5.1.3].
- symfony/http-kernel v3.4.30 conflicts with symfony/cache[v5.1.3].
- symfony/http-kernel v3.4.31 conflicts with symfony/cache[v5.1.3].
- symfony/http-kernel v3.4.32 conflicts with symfony/cache[v5.1.3].
- symfony/http-kernel v3.4.33 conflicts with symfony/cache[v5.1.3].
- symfony/http-kernel v3.4.34 conflicts with symfony/cache[v5.1.3].
- symfony/http-kernel v3.4.35 conflicts with symfony/cache[v5.1.3].
- symfony/http-kernel v3.4.36 conflicts with symfony/cache[v5.1.3].
- symfony/http-kernel v3.4.37 conflicts with symfony/cache[v5.1.3].
- symfony/http-kernel v3.4.38 conflicts with symfony/cache[v5.1.3].
- symfony/http-kernel v3.4.39 conflicts with symfony/cache[v5.1.3].
- symfony/http-kernel v3.4.4 conflicts with symfony/cache[v5.1.3].
- symfony/http-kernel v3.4.40 conflicts with symfony/cache[v5.1.3].
- symfony/http-kernel v3.4.41 conflicts with symfony/cache[v5.1.3].
- symfony/http-kernel v3.4.42 conflicts with symfony/cache[v5.1.3].
- symfony/http-kernel v3.4.43 conflicts with symfony/cache[v5.1.3].
- symfony/http-kernel v3.4.5 conflicts with symfony/cache[v5.1.3].
- symfony/http-kernel v3.4.6 conflicts with symfony/cache[v5.1.3].
- symfony/http-kernel v3.4.7 conflicts with symfony/cache[v5.1.3].
- symfony/http-kernel v3.4.8 conflicts with symfony/cache[v5.1.3].
- symfony/http-kernel v3.4.9 conflicts with symfony/cache[v5.1.3].
- Installation request for symfony/cache (locked at v5.1.3) -> satisfiable by symfony/cache[v5.1.3].

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

@iteman
Copy link
Member

iteman commented Aug 6, 2020

Two questions:

  1. Do you use an existing composer.json?
  2. What is the package that requires symfony/cache v5.1.3?

@ArjandeRuyter
Copy link
Author

  1. yes, I am trying to use workflower with CodeIgniter 4
  2. phpmentors/workflower "1.4.*" requires symfony/cache

composer require phpmentors/workflower "1.4.*"
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 13 installs, 0 updates, 0 removals

  • Installing psr/container (1.0.0): Loading from cache
  • Installing symfony/service-contracts (v2.1.3): Loading from cache
  • Installing psr/cache (1.0.1): Loading from cache
  • Installing symfony/polyfill-php80 (v1.18.1): Loading from cache
  • Installing symfony/var-exporter (v5.1.3): Loading from cache
  • Installing symfony/cache-contracts (v2.1.3): Loading from cache
  • Installing symfony/cache (v5.1.3): Loading from cache
  • Installing symfony/expression-language (v4.4.11): Loading from cache
  • Installing symfony/event-dispatcher-contracts (v1.1.9): Loading from cache
  • Installing symfony/event-dispatcher (v4.4.11): Loading from cache
  • Installing phpmentors/domain-kata (v1.4.0): Loading from cache
  • Installing piece/stagehand-fsm (v2.6.0): Loading from cache
  • Installing phpmentors/workflower (v1.4.1): Loading from cache
    symfony/service-contracts suggests installing symfony/service-implementation
    symfony/event-dispatcher-contracts suggests installing psr/event-dispatcher
    symfony/event-dispatcher suggests installing symfony/dependency-injection
    symfony/event-dispatcher suggests installing symfony/http-kernel
    Writing lock file
    Generating autoload files

@iteman
Copy link
Member

iteman commented Aug 6, 2020

In my enviroment, symfony/cache is required by symfony/expression-language directly as follows:

$ php ~/bin/composer.phar depends --tree symfony/cache
symfony/cache v4.3.11 Symfony Cache component with PSR-6, PSR-16, and tags
└──symfony/expression-language v4.4.11 (requires symfony/cache ^3.4|^4.0|^5.0)
   └──phpmentors/workflower v1.4.1 (requires symfony/expression-language ~2.8|~3.0|~4.0)
      └──phpmentors/workflower-bundle v1.4.0 (requires phpmentors/workflower ~1.2)
         └──__root__ (requires phpmentors/workflower-bundle 1.4.*)

This may be resolved when workflower-bundle supports Symfony 5.x.
I will add support Symfony 5 on the master branch soon.

@iteman iteman added the question label Aug 6, 2020
@ArjandeRuyter
Copy link
Author

On https://github.com/phpmentors-jp/workflower/blob/master/docs/quick-start-guide.md it says:

Installing Workflower and PHPMentorsWorkflowerBundle
First, we will use Composer to install Workflower and PHPMentorsWorkflowerBundle as project dependent packages:

$ composer require phpmentors/workflower "1.3."
$ composer require phpmentors/workflower-bundle "1.3.
"

So I presumed to load 1.4 versions like that as well but if I only perform composer require phpmentors/workflower-bundle "1.4.*" I also installs phpmentors/workflower (v1.4.1) without the conflict.

`
composer require phpmentors/workflower-bundle "1.4.*"
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 37 installs, 0 updates, 0 removals

  • Installing paragonie/random_compat (v9.99.99): Downloading (100%)
  • Installing symfony/polyfill-php70 (v1.18.1): Downloading (100%)
  • Installing symfony/polyfill-php80 (v1.18.1): Loading from cache
  • Installing symfony/polyfill-mbstring (v1.18.1): Downloading (100%)
  • Installing symfony/deprecation-contracts (v2.1.3): Downloading (100%)
  • Installing symfony/polyfill-php72 (v1.18.1): Downloading (100%)
  • Installing symfony/polyfill-intl-normalizer (v1.18.1): Downloading (100%)
  • Installing symfony/polyfill-intl-idn (v1.18.1): Downloading (100%)
  • Installing symfony/mime (v5.1.3): Downloading (100%)
  • Installing symfony/http-foundation (v4.4.11): Downloading (100%)
  • Installing symfony/event-dispatcher-contracts (v1.1.9): Loading from cache
  • Installing psr/container (1.0.0): Loading from cache
  • Installing psr/cache (1.0.1): Loading from cache
  • Installing symfony/event-dispatcher (v4.4.11): Loading from cache
  • Installing symfony/debug (v4.4.11): Downloading (100%)
  • Installing symfony/polyfill-util (v1.18.1): Downloading (100%)
  • Installing symfony/polyfill-php56 (v1.18.1): Downloading (100%)
  • Installing symfony/http-kernel (v3.4.43): Downloading (100%)
  • Installing symfony/service-contracts (v1.1.9): Downloading (100%)
  • Installing symfony/dependency-injection (v3.4.43): Downloading (100%)
  • Installing symfony/polyfill-intl-grapheme (v1.18.1): Downloading (100%)
  • Installing symfony/string (v5.1.3): Downloading (100%)
  • Installing symfony/inflector (v5.1.3): Downloading (100%)
  • Installing symfony/property-access (v4.4.11): Downloading (100%)
  • Installing symfony/security (v3.4.43): Downloading (100%)
  • Installing symfony/filesystem (v4.4.11): Downloading (100%)
  • Installing symfony/config (v3.4.43): Downloading (100%)
  • Installing symfony/security-bundle (v3.4.43): Downloading (100%)
  • Installing symfony/finder (v3.4.43): Downloading (100%)
  • Installing symfony/var-exporter (v4.4.11): Downloading (100%)
  • Installing symfony/cache-contracts (v1.1.9): Downloading (100%)
  • Installing symfony/cache (v4.3.11): Downloading (100%)
  • Installing symfony/expression-language (v4.4.11): Loading from cache
  • Installing phpmentors/domain-kata (v1.4.0): Loading from cache
  • Installing piece/stagehand-fsm (v2.6.0): Loading from cache
  • Installing phpmentors/workflower (v1.4.1): Loading from cache
  • Installing phpmentors/workflower-bundle (v1.4.0): Downloading (100%)
    paragonie/random_compat suggests installing ext-libsodium (Provides a modern crypto API that can be used to generate random bytes.)
    symfony/event-dispatcher-contracts suggests installing psr/event-dispatcher
    symfony/http-kernel suggests installing symfony/browser-kit
    symfony/http-kernel suggests installing symfony/console
    symfony/http-kernel suggests installing symfony/var-dumper
    symfony/service-contracts suggests installing symfony/service-implementation
    symfony/dependency-injection suggests installing symfony/yaml
    symfony/dependency-injection suggests installing symfony/proxy-manager-bridge (Generate service proxies to lazy load them)
    symfony/security suggests installing symfony/form
    symfony/security suggests installing symfony/validator (For using the user password constraint)
    symfony/security suggests installing symfony/routing (For using the HttpUtils class to create sub-requests, redirect the user, and match URLs)
    symfony/security suggests installing symfony/ldap (For using the LDAP user and authentication providers)
    symfony/config suggests installing symfony/yaml (To use the yaml reference dumper)
    symfony/security-bundle suggests installing symfony/security-acl (For using the ACL functionality of this bundle)
    phpmentors/workflower-bundle suggests installing doctrine/orm (>= 2.4.0 provides transparent serialization/deserialization support for entities with Doctrine ORM)
    phpmentors/workflower-bundle suggests installing symfony/doctrine-bridge (>=2.8.0 provides transparent serialization/deserialization support for entities with Doctrine ORM)
    Writing lock file
    Generating autoload files
    Generated autoload files containing 590 classes

`

composer depends --tree symfony/cache symfony/cache v4.3.11 Symfony Cache component with PSR-6, PSR-16, and tags └──symfony/expression-language v4.4.11 (requires symfony/cache ^3.4|^4.0|^5.0) └──phpmentors/workflower v1.4.1 (requires symfony/expression-language ~2.8|~3.0|~4.0) └──phpmentors/workflower-bundle v1.4.0 (requires phpmentors/workflower ~1.2) └──codeigniter4/appstarter (requires phpmentors/workflower-bundle 1.4.*)

Thanks for your help!!!!!

@iteman
Copy link
Member

iteman commented Aug 6, 2020

Hmm, I'll check the quick start guide.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants