seregazhuk / php-watcher

Monitor for any changes in your php application and automatically restart it (suitable for async apps).
https://sergeyzhuk.me/2019/10/18/php-watcher/
389 stars 31 forks source link

Compatibility with Symfony5 #61

Closed sergey-telpuk closed 4 years ago

sergey-telpuk commented 4 years ago

Bug Report

root@1b51a4eb9dd9:/app/symfony/app# php composer.phar require seregazhuk/php-watcher --dev
Cannot load Xdebug - it was already loaded
Using version ^0.5.2 for seregazhuk/php-watcher
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Restricting packages listed in "symfony/symfony" to "5.0.*"
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - yosymfony/resource-watcher v2.0.0 requires symfony/finder ^2.7|^3.0|^4.0 -> no matching package found.
    - seregazhuk/php-watcher v0.5.2 requires yosymfony/resource-watcher ^2.0 -> satisfiable by yosymfony/resource-watcher[v2.0.0].
    - Installation request for seregazhuk/php-watcher ^0.5.2 -> satisfiable by seregazhuk/php-watcher[v0.5.2].

Potential causes:
 - A typo in the package name
 - The package is not available in a stable-enough version according to your minimum-stability setting
   see <https://getcomposer.org/doc/04-schema.md#minimum-stability> for more details.
 - It's a private package and you forgot to add a custom repository to find it

Input Code

require seregazhuk/php-watcher --dev

Expected behavior

install the library

Possible Solution

get rid of yosymfony/resource-watcher dependency

seregazhuk commented 4 years ago

Thank you! Closing because it is a copy of #57