but these conflict with your requirements or minimum-stability

后端 未结 6 897
梦如初夏
梦如初夏 2020-12-14 00:11

I am creating my own slackbot. I decided to use project as a library to help me.

https://github.com/sagebind/slack-client/issues?utf8=%E2%9C%93&q=stability

6条回答
  •  孤街浪徒
    2020-12-14 00:57

    Usually, this issue has nothing to do directly with minimum-stability or prefer-stable option, but the case is just that you already use some library directly or indirectly, that is needed in another library you use but in a higher version.

    My case: I installed Codeception, but had required PHPUnit 4, but Codeception needed at least phpunit 6 - up to 8. Whereas phpunit 6 only supported php7.0 , so I had to explicitly increase my used version of phpunit from 4 to 6, so that the library codeception could work with it.

    You might ask if it might affect your project which already relies on the lower version of the library, perhaps there could be some breaking change, but I don't know if there could be some workaround for using one version for dependency and another version for own project.

    Edit: I also had to issue remove composer command for phpunit, otherwise I was not able to increase my phpunit version directly

提交回复
热议问题