You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
today I was stumbling over a problem of wrongly used TestCase class because autocompletion liked monologs class more then the phpunit one.
this remindet me of a similar issue we had in the past with PHPStan: phpstan/phpstan-src#634
do you think monolog could make a similar move and deprecate+rename the monologs' TestCase class so autocompletion in popular IDEs won't accidentally add monologs TestCase class instead of e.g. PHPunits class?
I think most arguments why this is a good idea and actually the root cause is a phpstorm bug was already discussed in the linked PHPStan issue. I think a lot of people would have less problems when this class would be renamed, even though its totally fine because its in a dedicated namespace.
The text was updated successfully, but these errors were encountered:
Monolog version 3
Write your question here.
today I was stumbling over a problem of wrongly used
TestCase
class because autocompletion liked monologs class more then the phpunit one.this remindet me of a similar issue we had in the past with PHPStan: phpstan/phpstan-src#634
do you think monolog could make a similar move and deprecate+rename the monologs' TestCase class so autocompletion in popular IDEs won't accidentally add monologs TestCase class instead of e.g. PHPunits class?
I think most arguments why this is a good idea and actually the root cause is a phpstorm bug was already discussed in the linked PHPStan issue. I think a lot of people would have less problems when this class would be renamed, even though its totally fine because its in a dedicated namespace.
The text was updated successfully, but these errors were encountered: