How to exclude php files from CSS sonar

,

Hey
We would like to know how to exclude *.php files from CSS sensor. It doesn’t make sense in case of our project but takes additional minutes of analysis.

CSS settings in SonarCloud project doesn’t have php extension

But still sonar analyze php files:

Hello @GetoX,

it’s not possible at the moment to exclude .php files from CSS analysis.

We have currently a ticket to remove some other extensions from CSS, I added .php to the list.

Cheers,
Victor

Hmm is it possible to disable specific sensor (css) for single project?

1 Like