Closed mostafasoufi closed 10 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Comparison is base (
003b4d2
) 36.26% compared to head (184d27d
) 36.26%.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
@mostafasoufi Monolog is used in the File src/Helper/LoggerHelper.php
. This Helper is used in all Commands, not just in the Tests. If you want to make Monolog optional, you have to change that file too, and maybe all places where this Helper is used.
They are only uses in /bin/browscap-php
which is not the main functionality of Browscap, isn't it?
Browscap can be used in two ways:
In the second Way, you can use these Commands. I do not know, if anyone uses Browscap this way.
If Monolog
is transfered to the dev-section, these Commands will break. This means that will be a breaking change.
I would suggest this is not mergable at least until the next major, since it would indeed break this functionality. It would help if we knew if people use this functionality or not 🤷
@mostafasoufi thank you for the PR, but since this is functionality people may use, which would break, this wouldn't be acceptable until a major release really. I'd suggest making an issue to see if others have feedback about it and we can discuss what the migration path might look like. Thank you though, we really appreciate it!
I inquired because I'm planning to upgrade Browscap for WordPress plugins like WP Statistics and SlimStat Analytics. However, since the pull request (PR) is closed, it looks like I'll need to fork the project and work on my own repository.
Regarding PR #465, why isn't MonoLog included in the development environment when it's used in the Commands classes for Unit tests?
Best