| 1 | <?php |
||
| 15 | class Pow extends AbstractExpressionCompiler |
||
| 16 | { |
||
| 17 | protected $name = 'PhpParser\Node\Expr\AssignOp\Pow'; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * It's used in conditions |
||
| 21 | * {left-expr} **= {right-expr} |
||
| 22 | * |
||
| 23 | * @param \PhpParser\Node\Expr\AssignOp\Pow $expr |
||
| 24 | * @param Context $context |
||
| 25 | * @return CompiledExpression |
||
| 26 | */ |
||
| 27 | protected function compile($expr, Context $context) |
||
| 48 | } |
||
| 49 |
The break statement is not necessary if it is preceded for example by a return statement:
If you would like to keep this construct to be consistent with other case statements, you can safely mark this issue as a false-positive.