Follow-up to #2408371: Proxies of module interfaces don't work
Problem/Motivation
- addPSR4() during test runs ads more and more PSR-4 data to the autoloader, which is a small memory leak.
Proposed resolution
- Use setPSR4() instead of addPSR4(), because there is no way to reset the autoloader's state and the composer autoloader itself is a singleton.
Remaining tasks
- Do it
User interface changes
- None
API changes
- None
Data model changes
- None