elasticsearch-php icon indicating copy to clipboard operation
elasticsearch-php copied to clipboard

Allow symfony/finder in version ~5.0 in composer requirements

Open emanueljacob opened this issue 3 years ago • 0 comments

Summary of problem or feature request

Its currently not possible to use packages that require symfony/finder in version >= 5.0.

I can not find any reason in your repository not to allow symfon/finder in version ~5.0, so I suggest to allow the version 5 in composer.json

Code snippet of problem

something like this (note this is JUST an example, also note that this is output from composer version 1, due to an older Magento 2 project. )

"Your requirements could not be resolved to an installable set of packages."
# ...
"Can only install one of: symfony/finder[v5.1.0, v4.4.25]."

Code snippet of suggestion

in composer.json:

"require-dev": {
    ...
    "symfony/finder": "~4.0||~5.0"
  },

or if possible:

"require-dev": {
    ...
    "symfony/finder": "~5.0"
  },

System details

  • Operating System
  • PHP Version: 7.4
  • ES-PHP client version: 7.14.0
  • Elasticsearch version

emanueljacob avatar Sep 15 '21 10:09 emanueljacob