Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHP - Monolog 2.x compatability? #329

Open
zack6849 opened this issue Apr 27, 2020 · 6 comments · May be fixed by koraktor/steam-condenser-php#24
Open

PHP - Monolog 2.x compatability? #329

zack6849 opened this issue Apr 27, 2020 · 6 comments · May be fixed by koraktor/steam-condenser-php#24
Labels

Comments

@zack6849
Copy link

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!

@koraktor
Copy link
Owner

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.

@zack6849
Copy link
Author

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?

@koraktor
Copy link
Owner

koraktor commented May 3, 2020

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.

@zack6849 zack6849 linked a pull request May 4, 2020 that will close this issue
@zack6849
Copy link
Author

zack6849 commented May 4, 2020

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 :) )

@koraktor koraktor added the PHP label May 4, 2020
@Rodhin
Copy link

Rodhin commented Jul 17, 2020

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

@zack6849
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants