@@ -18,11 +18,11 @@ |
||
| 18 | 18 | */ |
| 19 | 19 | public function load(ServiceContainer $container, array $params) |
| 20 | 20 | { |
| 21 | - $container->define('event_dispatcher.listeners.data_provider', function () use ($container) { |
|
| 21 | + $container->define('event_dispatcher.listeners.data_provider', function() use ($container) { |
|
| 22 | 22 | return new DataProviderListener(new ExampleParser(), new DataProviderExtractor()); |
| 23 | 23 | }, ['event_dispatcher.listeners']); |
| 24 | 24 | |
| 25 | - $container->define('runner.maintainers.data_provider', function () use ($container) { |
|
| 25 | + $container->define('runner.maintainers.data_provider', function() use ($container) { |
|
| 26 | 26 | return new DataProviderMaintainer(new ExampleParser(), new DataProviderExtractor()); |
| 27 | 27 | }, ['runner.maintainers']); |
| 28 | 28 | } |
@@ -103,10 +103,10 @@ |
||
| 103 | 103 | */ |
| 104 | 104 | private function buildExampleTitle(int $index, int $numberOfParameters, array $dataRow, ExampleNode $example) |
| 105 | 105 | { |
| 106 | - $title = $index + 1 . ') ' . $example->getTitle(); |
|
| 106 | + $title = $index + 1.') '.$example->getTitle(); |
|
| 107 | 107 | |
| 108 | 108 | if ($numberOfParameters < count($dataRow)) { |
| 109 | - $title .= ': ' . $dataRow[0]; |
|
| 109 | + $title .= ': '.$dataRow[0]; |
|
| 110 | 110 | } |
| 111 | 111 | |
| 112 | 112 | return $title; |
@@ -78,7 +78,7 @@ |
||
| 78 | 78 | $providedData = $this->providerData[$this->exampleParser->getDataProvider($example)]; |
| 79 | 79 | |
| 80 | 80 | if (!array_key_exists($exampleNum, $providedData)) { |
| 81 | - return ; |
|
| 81 | + return; |
|
| 82 | 82 | } |
| 83 | 83 | |
| 84 | 84 | $data = $providedData[$exampleNum]; |