Avoid going down the tree in findFiles() if there will be no match
Open
Nobody has claimed this yet.
type:enhancement
- Dominant language
- PHP
- Stars
- 37
- Forks
- 18
- Avg merge
- 59m
- Merged PRs (30d)
- 1
Description
For example, if there's vendor/** path excluded, there's no sense in traversing whole vendor directory.
That will likely break backwards compatibility.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the findFiles() entry point and inspect how excluded paths are handled during directory traversal. Confirm the intended behavior for an excluded vendor/** path, review any existing traversal coverage, and ensure the change preserves backward compatibility.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- operating-systems
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100