| 1 | <?php |
||
| 10 | class ErrorSuppression implements AnalyzerPassInterface |
||
| 11 | { |
||
| 12 | use DefaultMetadataPassTrait; |
||
| 13 | |||
| 14 | const DESCRIPTION = 'Discourages the use of the `@` operator to silence errors.'; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * @param Expr\ErrorSuppress $expr |
||
| 18 | * @param Context $context |
||
| 19 | * @return bool |
||
| 20 | */ |
||
| 21 | public function pass(Expr\ErrorSuppress $expr, Context $context) |
||
| 31 | |||
| 32 | /** |
||
| 33 | * @return array |
||
| 34 | */ |
||
| 35 | public function getRegister() |
||
| 41 | } |
||
| 42 |