| 1 | <?php |
||
| 11 | class AliasCheck extends AbstractFunctionCallAnalyzer |
||
| 12 | { |
||
| 13 | protected $map = array( |
||
| 14 | 'join' => 'implode', |
||
| 15 | 'sizeof' => 'count', |
||
| 16 | 'pos' => 'current', |
||
| 17 | 'strchr' => 'strstr', |
||
| 18 | 'show_source' => 'highlight_file', |
||
| 19 | 'key_exists' => 'array_key_exists', |
||
| 20 | 'is_real' => 'is_float', |
||
| 21 | 'is_double' => 'is_float', |
||
| 22 | 'is_integer' => 'is_int', |
||
| 23 | 'is_long' => 'is_int', |
||
| 24 | 'ini_alter' => 'ini_set', |
||
| 25 | 'fputs' => 'fwrite', |
||
| 26 | 'chop' => 'rtrim' |
||
| 27 | ); |
||
| 28 | |||
| 29 | public function pass(FuncCall $funcCall, Context $context) |
||
| 40 | } |
||
| 41 |