There is no plan on our side to just copy CodeSniffer rules but we can get some inspiration from them We want to develop more Bug Detection rules and these hints can easily fit with this goal.
These past months we have been implementing a Type Inference stack for PHP with the goal to detect PHP vulnerabilities (feature provided for Java and C# with the SonarQube Developer Edition).
This Type Inference stack is not yet part of SonarPHP but if we imagine that one day it is moved there, we could implement such Bug Detection rules.
Would you be able to list CodeSniffer’s rules that are related to “wrong type” ?