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

Project specific configuration #5

Closed
dshafik opened this issue Jul 21, 2015 · 2 comments
Closed

Project specific configuration #5

dshafik opened this issue Jul 21, 2015 · 2 comments

Comments

@dshafik
Copy link

dshafik commented Jul 21, 2015

It would be great if this looked for the configuration file within the current working directory (like box, phpunit, phpdox, etc) as well as supporting both phpqa.yml and phpqa.yml.dist.

This way I could specify the type of project, and what tools/config to use on a per-project basis.

jmolivas added a commit that referenced this issue Jul 22, 2015
@jmolivas
Copy link
Owner

@dshafik: Done may try updating project and test it again.

It supports both phpqa.yml and phpqa.yml.dist.

You can copy main config file https://github.com/jmolivas/phpqa/blob/master/config.yml and apply your changes or only set the values that you are trying to override, since the project load the main file and apply the one you have at your current working directory.

@jmolivas
Copy link
Owner

Once you have phpqa.yml or phpqa.yml.diston your current directory, you just run it like:

$ phpqa analyze --files=src/

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

No branches or pull requests

2 participants