| 1 | <?php |
||
| 11 | class DoNotUseGoto implements Pass\ConfigurablePassInterface, Pass\AnalyzerPassInterface |
||
| 12 | { |
||
| 13 | /** |
||
| 14 | * @param Stmt\Goto_ $stmt |
||
| 15 | * @param Context $context |
||
| 16 | * @return bool |
||
| 17 | */ |
||
| 18 | 1 | public function pass(Stmt\Goto_ $stmt, Context $context) |
|
| 24 | |||
| 25 | /** |
||
| 26 | * @return TreeBuilder |
||
| 27 | */ |
||
| 28 | public function getConfiguration() |
||
| 37 | |||
| 38 | /** |
||
| 39 | * @return array |
||
| 40 | */ |
||
| 41 | 1 | public function getRegister() |
|
| 47 | } |
||
| 48 |