Skip to content

Conversation

@simPod
Copy link
Contributor

@simPod simPod commented Nov 22, 2019

Fixes #34524

Q A
Branch? 4.4
Bug fix? yes
New feature? no
Deprecations? no
Tickets Fix #34524
License MIT
Doc PR N/A

Currently $interfaces in DirectoryLoader's state are thrown away when registerClasses() is called on it.

@simPod simPod force-pushed the fix-directory-loader branch from 83c0884 to 3c2f897 Compare November 22, 2019 15:26
@chalasr chalasr added this to the 4.4 milestone Nov 23, 2019
Copy link
Member

@nicolas-grekas nicolas-grekas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The fix LGTM. Could you please add a test case?

}
}

/** {@inheritdoc} */
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please use multiple lines for this, to keep consistency with the code base (see the very next method e.g.)

@nicolas-grekas
Copy link
Member

Oh, when is this method called at all?
After checking #34527, I'm not sure anymore this patch is correct (not that it has any effect).
Can you please advise?

@simPod
Copy link
Contributor Author

simPod commented Nov 25, 2019

This only enables DirectoryLoader to also register interfaces but #34527 is IMO better solution. I'll patch up the demo app so we can talk about something more concrete.

@nicolas-grekas
Copy link
Member

Replaced by #34729

@simPod simPod deleted the fix-directory-loader branch November 30, 2019 17:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants