Logging does not work with Monolog 2.*
mfn opened this issue · 1 comments
The current master depends on monolog >= 1.2.0 =>
Line 22 in 108261d
In the meantime Monolog 2.0 was released and non-PSR methods were removed, see https://github.com/Seldaek/monolog/blob/2.0.0/CHANGELOG.md#200-beta1-2018-12-08
BC Break: Removed non-PSR-3 methods to add records, all the add* (e.g. addWarning) methods as well as emerg, crit, err and warn
However this packages uses those non-PSR-3 methods:
php-resque-ex/lib/Resque/Worker.php
Lines 633 to 645 in 108261d
php-resque-ex/lib/Resque/Worker.php
Line 655 in 108261d
- (not sure I found all places)
If monolog 1.x is fine for the rest of the project used, one can work around this by adding an explicit dependency on monolog 1.x with something like this:
composer require monolog/monolog:^1.0
Not using resque anymore -> closing