Junit predefined rules is not working

I am using sonarqube server version 8.9 and scanner version 4.8, when I tried running test files using test scope the files are not being analysed and predefined rules are not being checked.

Hi,

Your version is past EOL. You should upgrade to either the latest version or the current LTS at your earliest convenience. Your upgrade path is:

8.9.* → 9.9.1 → 10.1 (last step optional)

You may find these resources helpful:

If you have questions about upgrading, feel free to open a new thread for that here.

If your error persists after upgrade, please come back to us.

 
Ann