Skip to content

Allowed for psr/log 2.0 and 3.0 to be installed as well #129

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

Merged
merged 1 commit into from
Feb 15, 2022
Merged

Allowed for psr/log 2.0 and 3.0 to be installed as well #129

merged 1 commit into from
Feb 15, 2022

Conversation

boris-glumpler
Copy link
Contributor

This PR allows for any current psr/log version to be installed. I did have to bump the PHP version to 7.2 because of partial contravariance. Tests are passing, but there might be an issue with phpdocumentor/phpdocumentor as it still requires psr/log v1. Wasn't sure how to handle that.

fixes #128

@jcupitt
Copy link
Member

jcupitt commented Feb 15, 2022

Hi @boris-glumpler, thank you for doing this work.

I'm just finishing up php-vips 2.0 (it gets rid of the annoying binary extension and uses php 7.4's FFI to call into libvips instead). Could we merge this PR as part of that?

It should be finished in a few days (I hope). The branch is here, if you're curious:

https://github.com/libvips/php-vips/tree/switch-to-php-ffi

It runs most examples correctly, but a few tests still need fixing and it needs a bit of polish.

@jcupitt jcupitt merged commit b23917a into libvips:master Feb 15, 2022
@jcupitt
Copy link
Member

jcupitt commented Feb 15, 2022

Sorry, I hadn't actually read your PR. It's very simple, so I've just merged.

I've merged it to the ffi branch as well, so it should be in 2.0.

@boris-glumpler
Copy link
Contributor Author

Yup, it's not exactly complicated ;) Cheers! Looking forward to v2.0!

@boris-glumpler boris-glumpler deleted the psr-log branch February 15, 2022 08:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

psr/log 2.0 conflict
2 participants