php-parallel-lint/PHP-Parallel-Lint

Excluding directories does not work.

leonhelmus opened this issue · 1 comments

When using the exclude it seems it does not read the directories when using this code:

$content = stream_get_contents(STDIN);

Because of that it doesn't exclude the directories when using phplint --exclude.

It never reaches this part of the code:

} else if (is_dir($path)) {

I noticed that the path must include the path of parsed folder.

For example, I'm linting ../other-project

I must use --exclude ../other-project/vendor and not simply --exclude vendor