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
Remove Reflector from StubFilesExtensionLoader, replace with version checks
The loader previously used BetterReflection's Reflector to check whether
InputBag existed before loading its stubs. This triggered SourceLocator
initialization (an expensive cache-populating operation) on every analysis run.
Replace the reflectClass() call with an isInstalledVersionBelow() version check
(InputBag was introduced in symfony/http-foundation 5.1). Add a test that wires
a ThrowingSourceLocator into the DI container's betterReflectionSourceLocator
service, so any future regression that causes getFiles() to touch BetterReflection
will fail the test explicitly.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
0 commit comments