@shudder this is not just an issue with polyfills, but with any dev package. You could inadvertently use a class or a function defined in a package that is only in your dev dependency tree, and be none the wiser.
You can avoid these issues using checkers like this one: https://github.com/shipmonk-rnd/composer-dependency-analyser
=> More informations about this toot | View the thread | More toots from alessandrolai@phpc.social
=> View shudder@phpc.social profile
text/gemini
This content has been proxied by September (3851b).