gretard / sonar-ps-plugin

Powershell language plugin for SonarQube
GNU Lesser General Public License v3.0
37 stars 7 forks source link

SonarQube 10.6 emits a warning about using getStringArray to read file suffixes #35

Open testworksau opened 3 months ago

testworksau commented 3 months ago

We are seeing this message in our scans since upgrading to SonarQube 10.6:

WARN: Property 'sonar.ps.file.suffixes' is not declared as multi-values/property set 
but was read using 'getStringArray' method. The SonarQube plugin declaring this 
property should be updated.

It looks like this is the line that triggers the warning:

https://github.com/gretard/sonar-ps-plugin/blob/446e7153465e455f1c578c333f4e1ab616116b22/sonar-ps-plugin/src/main/java/org/sonar/plugins/powershell/PowershellLanguage.java#L22

We are not sure if 10.6 introduced the problem; it could just be a coincidence that we noticed it after our upgrade.

This PR should fix the problem: https://github.com/gretard/sonar-ps-plugin/pull/33

testworksau commented 1 day ago

@gretard is there anything further that we can do to help get a release of this please? 🙏🏼