Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHP-Parallel-Lint should support the extensions #104

Closed
paolomainardi opened this issue Jan 29, 2018 · 2 comments · Fixed by #105
Closed

PHP-Parallel-Lint should support the extensions #104

paolomainardi opened this issue Jan 29, 2018 · 2 comments · Fixed by #105

Comments

@paolomainardi
Copy link
Contributor

It seems that the --extensions arguments is ignored by parallel-linter command, you know better than me that most of the times just "php" extension is not enough, i'll try in the next few days to implement it.

@sarcisal
Copy link

Hi Paolo,
I had the same problem with phpcs tool. But I understood the issue when I saw the following comments on a thread for Drupal 8:

zdenekdrahos added a commit that referenced this issue Jan 30, 2018
closes #104

$ vendor/bin/parallel-lint --help
PHP Parallel Lint version 0.9.1
-------------------------------
Usage:
    parallel-lint [sa] [-p php] [-e ext] [-j num] [--exclude dir] [files or directories]

Options:
    -e <ext>        Check only files with selected extensions separated by comma.
                    (default: php,php3,php4,php5,phtml)
@paolomainardi
Copy link
Contributor Author

Thanks a lot!

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

Successfully merging a pull request may close this issue.

2 participants