Need help, please write me some example custom rules sonarqube in php project. I want to use this tool, but I can't find the detailed manual. Thank you!
Asked
Active
Viewed 303 times
0
-
[Why is “Can someone help me?” not an actual question?](http://meta.stackoverflow.com/q/284236) – EJoshuaS - Stand with Ukraine Jun 27 '17 at 14:46
1 Answers
1
- The best source of rule examples is SonarPHP itself
- Then see example of custom rule project here
- Overall documentation on custom rules for SonarPHP is here
And finally if you have any questions or feedback, you can write to sonarqube@googlegroups.com

Elena Vilchik
- 1,085
- 6
- 11
-
-
Elena Vilchik gave you the path of a custom rule project. Look at this file, it's quite informative: https://github.com/SonarSource/sonar-custom-rules-examples/blob/master/php-custom-rules/src/main/java/org/sonar/samples/php/checks/ForbiddenFunctionUseCheck.java – Zoette Jun 17 '17 at 09:59