I have a PHP project, and i’m trying to scope only php files. My directory structure is as
According to docs Analysis Scope | SonarCloud Docs I’m trying to set my -Dsonar.sources=**/*.php but it fails saying invalid source.
However this document Analysis Parameters | SonarCloud Docs says sources flag should have path to directories, both the docs quite contradict with one another?
my question is is there a way to scope files with php extension only?
my project base directory is dir-x