-
-
Notifications
You must be signed in to change notification settings - Fork 385
Simplify PhpFilesFinder #3649
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Simplify PhpFilesFinder #3649
Conversation
06626d8
to
2478c6f
Compare
@@ -11,13 +11,4 @@ final class StaticNonPhpFileSuffixes | |||
*/ | |||
public const SUFFIXES = ['neon', 'yaml', 'xml', 'yml', 'twig', 'latte', 'blade.php', 'tpl']; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wonder how is this class needed now. What prevents it from being removed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it seems you are fine with dropping this constant and you don't mind BC.
therefore I moved the constant to the last remainig consumer and removed the whole class
Thanks 👍 |
I couldn't measure any perf difference.
it might result in a perf boost when symfony/symfony#50087 is contained in symfony