@@ -48,8 +48,7 @@ discard block |
||
| 48 | 48 | |
| 49 | 49 | try { |
| 50 | 50 | $feature = $parser->parse($feature); |
| 51 | -} |
|
| 52 | -catch (Exception $ex) { |
|
| 51 | +} catch (Exception $ex) { |
|
| 53 | 52 | echo $ex->getMessage() . "\n"; |
| 54 | 53 | exit; |
| 55 | 54 | } |
@@ -57,8 +56,7 @@ discard block |
||
| 57 | 56 | foreach ($feature->getScenarios() as $scenario) { |
| 58 | 57 | if ($scenario instanceof OutlineNode) { |
| 59 | 58 | echo $scenario->getExampleTable() . "\n\n"; |
| 60 | - } |
|
| 61 | - elseif ($scenario instanceof ScenarioNode) { |
|
| 59 | + } elseif ($scenario instanceof ScenarioNode) { |
|
| 62 | 60 | foreach ($scenario->getSteps() as $step) { |
| 63 | 61 | foreach ($step->getArguments() as $argument) { |
| 64 | 62 | if ($argument instanceof TableNode) { |