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 8.0 | 8.1 support with tests coverage #45

Closed
wants to merge 6 commits into from

Conversation

ybelenko
Copy link

Faced really frustrating bug using package(PDO notice about arguments count mismatch) so I spent a day to cover main class(MySQLHandler) with unit tests. I was able to achieve 100% test coverage. Hope it means something.

It's hard to say whether we need extra major tag(3.0.0) at 0b7ca19 for PHP 8.1. Probably 96a2949 should be tagged as 2.0.0 then Composer must resolve appropriate Monolog version.

P.S. still not sure that my own bug has been fixed 🤣 Version installed via Composer command (^1.0.6) has significant differences with latest master.

@amacado
Copy link
Collaborator

amacado commented Sep 17, 2023

Hello @ybelenko, your contribution is welcome! I've taken over the maintenance for this project and one main task is to upgrade it for PHP8 compatibility (along with monolog v3). I'm closing this pull request in favor of #47. If you feel something is missing there please feel free to create a pull request towards https://github.com/waza-ari/monolog-mysql/tree/v2.x.

@amacado amacado closed this Sep 17, 2023
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.

2 participants