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

.phpqa.yml set multi extensions phpmetrics analyize will got No file found LogicException #187

Closed
mouson opened this issue Oct 30, 2019 · 2 comments

Comments

@mouson
Copy link

mouson commented Oct 30, 2019

.phpqa.yml

phpqa:
  tools:
    - phpmetrics
  extensions:
    - php
    - inc
[Edge\QA\Task\ParallelExec] "/phpqa/vendor/bin/phpmetrics" "./"  --excluded-dirs="Reports|vendor" --extensions php,inc --offline --report-html "PHPQA/phpmetrics.html" --report-xml "PHPQA/phpmetrics.xml"

image

--extensions php,inc change to --extensions "php|inc" can fix this problem.

@zdenekdrahos
Copy link
Member

  1. what phpmetrics version?
  2. what if you use extensions: ["php|inc"] in .phpqa.yml?

@mouson
Copy link
Author

mouson commented Oct 30, 2019

  1. phpqa docker image v1.23.1 https://hub.docker.com/r/zdenekdrahos/phpqa
  2. phpmetrics v1.10.0
  3. when I used extensions: ["php|inc"] in .phpqa.yml,phpmetrics will analyize php file and show error message sh: inc: not found

image

because --extensions php|inc command must be change to --extensions "php|inc"

and when I used extensions: ["php|inc"], parallel-lint, pdepend will show the same error sh: inc: not found.

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

No branches or pull requests

2 participants