Index: trunk/tools/code-utils/check-vars.php |
— | — | @@ -429,6 +429,8 @@ |
430 | 430 | // This way we don't complay about missing return in internal wfProfile sections. |
431 | 431 | $this->mAfterProfileOut = 3; |
432 | 432 | } |
| 433 | + } elseif ( $token == '@' ) { |
| 434 | + $this->warning( "Use of @ operator in function {$this->mFunction}" ); |
433 | 435 | } elseif ( is_array ( $token ) ) { |
434 | 436 | if ( $token[0] == T_GLOBAL ) { |
435 | 437 | $this->mStatus = self::IN_GLOBAL; |