Skip to content

[Config] Fix looking for single files in phars with GlobResource #46364

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

Merged
merged 1 commit into from
May 17, 2022

Conversation

nicolas-grekas
Copy link
Member

Q A
Branch? 4.4
Bug fix? yes
New feature? no
Deprecations? no
Tickets -
License MIT
Doc PR -

Finder::in() only accepts directories as arguments, but GlobResource can feed it with files when looking inside a phar file (see #26845) or when using /**/ in the pattern.

This PR fixes it.

@carsonbot carsonbot added this to the 4.4 milestone May 16, 2022
@nicolas-grekas nicolas-grekas force-pushed the config-glob-phar branch 3 times, most recently from 93cbf96 to f132103 Compare May 16, 2022 16:52
@nicolas-grekas nicolas-grekas merged commit 37ffadd into symfony:4.4 May 17, 2022
@nicolas-grekas nicolas-grekas deleted the config-glob-phar branch May 17, 2022 12:41
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.

2 participants