src/Edde/Common/Template/Macro/SwitchMacro.php
Method inline
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function inline(IMacro $source, ICompiler $compiler, \Iterator $iterator, INode $node, string $name, $value = null) {
switch ($name) {
case'switch':
$source->on(self::EVENT_PRE_ENTER, function () use ($value) {
$this->macroOpenSwitch($this->delimite($value));
- Create a ticketCreate a ticket
Method inline
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public function inline(IMacro $source, ICompiler $compiler, \Iterator $iterator, INode $node, string $name, $value = null) {
- Create a ticketCreate a ticket