Completed
Pull Request — master (#95)
by Arnaud
18:01 queued 15:25
created
AdminBundle/DependencyInjection/CompilerPass/ResourceCompilerPassTest.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@  discard block
 block discarded – undo
16 16
         $resourceCollection
17 17
             ->expects($this->once())
18 18
             ->method('addMethodCall')
19
-            ->willReturnCallback(function ($name, $parameters) {
19
+            ->willReturnCallback(function($name, $parameters) {
20 20
                 $this->assertEquals('add', $name);
21 21
                 $this->assertCount(1, $parameters);
22 22
                 $this->assertInstanceOf(Resource::class, $parameters[0]);
@@ -81,7 +81,7 @@  discard block
 block discarded – undo
81 81
 
82 82
         $compilerPass = new ResourceCompilerPass();
83 83
 
84
-        $this->assertExceptionRaised(\Exception::class, function () use ($compilerPass, $builder) {
84
+        $this->assertExceptionRaised(\Exception::class, function() use ($compilerPass, $builder) {
85 85
             $compilerPass->process($builder);
86 86
         });
87 87
     }
@@ -110,7 +110,7 @@  discard block
 block discarded – undo
110 110
 
111 111
         $compilerPass = new ResourceCompilerPass();
112 112
 
113
-        $this->assertExceptionRaised(\Exception::class, function () use ($compilerPass, $builder) {
113
+        $this->assertExceptionRaised(\Exception::class, function() use ($compilerPass, $builder) {
114 114
             $compilerPass->process($builder);
115 115
         });
116 116
     }
Please login to merge, or discard this patch.
sam.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@  discard block
 block discarded – undo
18 18
     'copy' => [],
19 19
 ];
20 20
 $eventDispatcher = new EventDispatcher();
21
-$eventDispatcher->addListener(NotificationEvent::NAME, function (NotificationEvent $event) {
21
+$eventDispatcher->addListener(NotificationEvent::NAME, function(NotificationEvent $event) {
22 22
     echo $event->getMessage()."\n";
23 23
 });
24 24
 
@@ -68,7 +68,7 @@  discard block
 block discarded – undo
68 68
 $builder = new TaskBuilder();
69 69
 $tasks = $builder->build($tasks);
70 70
 
71
-$normalizer = new Normalizer(realpath(__DIR__ . '/AdminBundle'));
71
+$normalizer = new Normalizer(realpath(__DIR__.'/AdminBundle'));
72 72
 $locator = new Locator($normalizer);
73 73
 
74 74
 $runner = new TaskRunner(
Please login to merge, or discard this patch.