-
-
Notifications
You must be signed in to change notification settings - Fork 942
Closed
Description
Feature request
When you install phpstan it comes with bundled packages. The problem is you never know which version will be used eg while unit testing if your package needs the same package. So your tests will fail randomly 😁1 I'm not sure how phpstan autoloader work, maybe the problem actual only for autoload.files?
Today's case (phpstan version version is outdated and not yet have Mbstring::mb_ltrim())
Error: Call to undefined method Symfony\Polyfill\Mbstring\Mbstring::mb_ltrim()
Did PHPStan help you today? Did it make you happy in any way?
No response
Footnotes
-
First attempt is fail, the second is fine. ↩
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
