steam-condenser icon indicating copy to clipboard operation
steam-condenser copied to clipboard

PHP - Monolog 2.x compatability?

Open zack6849 opened this issue 4 years ago • 6 comments

Hi There!

I wanted to use your project in a newer laravel project, which requires monolog 2.x

Are there any plans to update to 2.x, or are you opposed to a PR to do such a thing?

I did make a fork for this, i also removed the phpdoc generator from composer require dev, as it was causing issues and their readme suggested strongly that you don't use composer to install it for that very reason.

Thoughts?

Thanks!

zack6849 avatar Apr 27 '20 10:04 zack6849

If you can provide a PR that adapts the code to Monolog 2 and it does not radically change either the code or the requirements (PHP Version etc.) I‘ll merge it.

PS: Another PR for that phpdoc change will also be happily accepted if you can add the appropriate information about that change.

koraktor avatar Apr 29 '20 18:04 koraktor

Hm, it looks like all monolog 2.x releases needs php 7.2 or higher.

Are you opposed to having a php 7.2 or higher branch of this? php 5.x is pretty much deprecated at this point, not to say the library shouldn't support it, but is it necessary to hold it back for legacy compatibility when someone can simply download an older revision?

zack6849 avatar Apr 30 '20 13:04 zack6849

I think this would be unproblematic if it doesn‘t require huge code changes. And even if it does it might be worth having a look.

koraktor avatar May 03 '20 13:05 koraktor

I've gone ahead and created a PR for this

I ran tests, and got one failure, but the same failure happens on the current code, i'm unsure if it's a version compatibility issue, or if it's something that's always existed (I don't have a php 5.x installation to test with :) )

zack6849 avatar May 04 '20 13:05 zack6849

Hi there, any updates on this? I see that the PR is still pending and nothing has changed since May 5.

Rodhin avatar Jul 17 '20 09:07 Rodhin

Hi Rodhin, I've been busy and haven't changed anything recently, the latest updates are on the PR itself, here: https://github.com/koraktor/steam-condenser-php/pull/24

zack6849 avatar Jul 17 '20 12:07 zack6849