mrclay/minify

3.0.14 issues with monolog/monolog

ethaniel opened this issue · 0 comments

I am on PHP 7.4.33. After updating my composer packages, I've noticed this error:

PHP Parse error:  syntax error, unexpected '|', expecting variable (T_VARIABLE) in /www/sms/vendor/monolog/monolog/src/Monolog/Logger.php on  line 149

For some reason minify 3.0.14 is requiring monolog/monolog ~1.1|~2.0|~3.0 (looks like the problem is in the 3.0 version).
When I lock minify at 3.0.13, it requires only monolog/monolog ~1.1|~2.0 and everything works fine.

Might want to update the packagist dependencies.