@@ -42,7 +42,7 @@ discard block |
||
| 42 | 42 | $factory = new DataProviderFactory($entityManager); |
| 43 | 43 | $factory->add('a_data_provider', $dataProvider); |
| 44 | 44 | |
| 45 | - $this->assertExceptionRaised(Exception::class, function () use ($factory, $dataProvider) { |
|
| 45 | + $this->assertExceptionRaised(Exception::class, function() use ($factory, $dataProvider) { |
|
| 46 | 46 | $factory->add('a_data_provider', $dataProvider); |
| 47 | 47 | }); |
| 48 | 48 | } |
@@ -94,7 +94,7 @@ discard block |
||
| 94 | 94 | |
| 95 | 95 | $factory = new DataProviderFactory($entityManager); |
| 96 | 96 | |
| 97 | - $this->assertExceptionRaised(Exception::class, function () use ($factory) { |
|
| 97 | + $this->assertExceptionRaised(Exception::class, function() use ($factory) { |
|
| 98 | 98 | $factory->create('MyEntityClass'); |
| 99 | 99 | }); |
| 100 | 100 | } |
@@ -108,10 +108,10 @@ discard block |
||
| 108 | 108 | $factory->add('a_data_provider', $dataProvider); |
| 109 | 109 | |
| 110 | 110 | $this->assertEquals($dataProvider, $factory->get('a_data_provider')); |
| 111 | - $this->assertExceptionRaised(Exception::class, function () use ($factory) { |
|
| 111 | + $this->assertExceptionRaised(Exception::class, function() use ($factory) { |
|
| 112 | 112 | $factory->get('wrong_data_provider'); |
| 113 | 113 | }); |
| 114 | - $this->assertExceptionRaised(Exception::class, function () use ($factory) { |
|
| 114 | + $this->assertExceptionRaised(Exception::class, function() use ($factory) { |
|
| 115 | 115 | $factory->get(null, null); |
| 116 | 116 | }); |
| 117 | 117 | } |
@@ -36,7 +36,7 @@ |
||
| 36 | 36 | 'title' => 'Planet Application', |
| 37 | 37 | ]); |
| 38 | 38 | |
| 39 | - $this->assertExceptionRaised(LogicException::class, function () use ($configuration) { |
|
| 39 | + $this->assertExceptionRaised(LogicException::class, function() use ($configuration) { |
|
| 40 | 40 | $configuration->setParameters([ |
| 41 | 41 | 'an_other_configuration' => 'value', |
| 42 | 42 | ]); |