GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
some/path/*/to/dir expands items recursively from some/path/
some/path//to/dir expands items only within some/path/ directory
Added ant-like globbing feature.
some/path/**/to/dir expands items recursively from some/path/
some/path/*/to/dir expands items only within some/path/ directory
This can be handy if you need, say, to exclude some files from coverage in PHPUnit only by directory name, for example, if you have module structure like this (as Magento does)
│ ├── etc
│ ├── Helper
│ ├── Model
│ ├── Objects
│ ├── sql
│ └── Test
you can't exclude Test or sql folder from coverage by pattern. With my patch you can do it easily this way:
where app/code/local directory contains various modules with the structure described above.
I have started to migrate my projects from File_Iterator to FinderFacade / Symfony's Finder and do not want to add new features to File_Iterator. Thank you for your contribution, though.
It's a pity.
If you're not against the idea itself, I could try to implement it there :)
It's already implemented there :)