Completed
Push — refonte ( 26af1d...23a748 )
by Arnaud
10:14 queued 07:27
created
Tests/AdminBundle/DataProvider/Factory/DataProviderFactoryTest.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
     }
Please login to merge, or discard this patch.
src/LAG/AdminBundle/Tests/AdminBundle/Configuration/ConfigurationTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
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
             ]);
Please login to merge, or discard this patch.