Skip to content

Only check src directory for changes #2

Open
nesl247 opened this issue Mar 14, 2019 · 1 comment
Open

Only check src directory for changes #2

nesl247 opened this issue Mar 14, 2019 · 1 comment

Comments

@nesl247
Copy link

nesl247 commented Mar 14, 2019

It would be great if we could limit the scope in which it looks for files. So rather than looking at all files that end in .php for example, it would only look for src/**/*.php. This way configuration changes in /phinx.php, config/parameters.php, etc. type of files would not trigger the suggestion.

@maks-rafalko
Copy link
Member

A simple solution would be to introduce sourceDir (similar to testDir from the config

testDir: 'tests',
)

I don't think I'm able to do it in the near future, so PR is very welcome!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants