scrutinizer-ci / scrutinizer

Legacy repository - archives past feature requests/bug reports
https://scrutinizer-ci.com/docs
140 stars 36 forks source link

composer.json not detected if not in root directory #272

Open LewisW opened 10 years ago

LewisW commented 10 years ago

We've changed what we store in our repository to include our deployment and provisioning scripts, since they're so closely linked to each app anyway.

The problem we have now, is that there's no way to tell Scrutinizer where our base path is. We can set it only scrutinize our PHP code using filter -> paths, but it seems to only look for things like composer.json in the root directory. This means we miss out of a number of the automated inspections.

Is there anyway round this?

johannhartmann commented 9 years ago

We face the same problem, and it causes a mountain of false positives, too.

websmurf commented 8 years ago

We are facing the same issue here. Any solutions to this?

websmurf commented 8 years ago

Have worked around this by creating a symlink in the root to the composer.json and composer.lock file, but it would be nice not to have to duplicate content