Passed
Push — master ( ee15b2...de8ec8 )
by Arnaud
259:49 queued 216:10
created
tests/phpunit/Event/Events/DataEventTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
         $this->assertFalse($event->hasFilter('my_filter'));
39 39
         $this->assertCount(0, $event->getFilters());
40 40
 
41
-        $this->assertExceptionRaised(FilterMissingException::class, function () use ($event) {
41
+        $this->assertExceptionRaised(FilterMissingException::class, function() use ($event) {
42 42
             $event->removeFilter('missing_filter');
43 43
         });
44 44
 
Please login to merge, or discard this patch.
tests/phpunit/Event/Events/ViewEventTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
         $request = new Request();
18 18
 
19 19
         $event = new ViewEvent($admin, $request);
20
-        $this->assertExceptionRaised(MissingViewException::class, function () use ($event) {
20
+        $this->assertExceptionRaised(MissingViewException::class, function() use ($event) {
21 21
             $event->getView();
22 22
         });
23 23
 
Please login to merge, or discard this patch.
tests/phpunit/Event/Events/FormEventTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
         $event->removeForm('entity');
28 28
         $this->assertFalse($event->hasForm('entity'));
29 29
 
30
-        $this->assertExceptionRaised(FormMissingException::class, function () use ($event) {
30
+        $this->assertExceptionRaised(FormMissingException::class, function() use ($event) {
31 31
             $event->removeForm('missing_form');
32 32
         });
33 33
     }
Please login to merge, or discard this patch.
tests/phpunit/Event/Events/RequestEventTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
         $request = new Request();
18 18
 
19 19
         $event = new RequestEvent($admin, $request);
20
-        $this->assertExceptionRaised(MissingActionException::class, function () use ($event) {
20
+        $this->assertExceptionRaised(MissingActionException::class, function() use ($event) {
21 21
             $event->getAction();
22 22
         });
23 23
 
Please login to merge, or discard this patch.
tests/phpunit/Debug/Collector/DebugCollectorTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
     {
19 19
         // Several methods are tested in this test as testing some methods as getData() or reset() without data is
20 20
         // useless
21
-        [$collector, $registry, $storage,] = $this->createCollector();
21
+        [$collector, $registry, $storage, ] = $this->createCollector();
22 22
 
23 23
         $this->assertEquals('admin.data_collector', $collector->getName());
24 24
         $this->assertEquals([], $collector->getData());
Please login to merge, or discard this patch.
tests/phpunit/DependencyInjection/LAGExtensionTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
         $this->container
20 20
             ->expects($this->atLeastOnce())
21 21
             ->method('setParameter')
22
-            ->willReturnCallback(function ($parameter, $value) {
22
+            ->willReturnCallback(function($parameter, $value) {
23 23
                 $this->assertContains($parameter, [
24 24
                     'lag_admin.application.configuration',
25 25
                     'lag.admins',
Please login to merge, or discard this patch.
tests/phpunit/Factory/AdminFactoryTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
             ->eventDispatcher
47 47
             ->expects($this->once())
48 48
             ->method('dispatch')
49
-            ->willReturnCallback(function ($event, $eventName) {
49
+            ->willReturnCallback(function($event, $eventName) {
50 50
                 $this->assertInstanceOf(AdminEvent::class, $event);
51 51
                 $this->assertEquals(AdminEvents::ADMIN_CREATE, $eventName);
52 52
 
Please login to merge, or discard this patch.
tests/phpunit/Factory/ActionFactoryTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@
 block discarded – undo
65 65
             ->eventDispatcher
66 66
             ->expects($this->once())
67 67
             ->method('dispatch')
68
-            ->willReturn(function ($actionEvent, $eventName) {
68
+            ->willReturn(function($actionEvent, $eventName) {
69 69
                 $this->assertInstanceOf(ActionEvent::class, $actionEvent);
70 70
                 $this->assertEquals(AdminEvents::ACTION_CREATE, $eventName);
71 71
             })
Please login to merge, or discard this patch.
tests/phpunit/Factory/FieldFactoryTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
             ->eventDispatcher
25 25
             ->expects($this->exactly(3))
26 26
             ->method('dispatch')
27
-            ->willReturnCallback(function ($event) {
27
+            ->willReturnCallback(function($event) {
28 28
                 if ($event instanceof FieldEvent) {
29 29
                     $this->assertEquals([
30 30
                         'template' => 'string.html.twig',
Please login to merge, or discard this patch.