Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.6k
[Finder] Add GLOB_BRACE support in Finder::in() method#9705
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
and tests? |
@brikou could you add some tests? Might be similar to the ones forthe GLOB_DIR. |
if you don't by next week then we will take it on hacking day 👶 sounds like a good test to write |
@cordoval really great if someone can works on it at the symfonycon... |
Closing in favor of#9926 which includes a test case and a changelog update. |
@jakzal great! Thx |
…d (jakzal)This PR was merged into the 2.5-dev branch.Discussion----------[Finder] Added GLOB_BRACE support in Finder::in() method| Q | A| ------------- | ---| Bug fix? | no| New feature? | yes| BC breaks? | no| Deprecations? | no| Tests pass? | yes| Fixed tickets |#9705| License | MIT| Doc PR | ~**before**```php$finder->files()->in([ 'My/First/Directory', 'My/Second/Directory', 'My/Third/Directory',]);```**after**```php$finder->files()->in('My/{First,Second,Third}/Directory');```Commits-------e2698fc [Finder] Included GLOB_BRACE support in the CHANGELOG.30814d3 [Finder] Added a test case for the GLOB_BRACE in Finder:in().da67f5d [Finder] Added GLOB_BRACE support in Finder::in() method
piotrpasich commentedJan 2, 2014
@brikou I think it might be used with pipes, not commas
|
before
after