add a new check with '$this must not be used inside a static function'
#52