@@ -16,7 +16,7 @@ discard block |
||
| 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 |
||
| 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 |
||
| 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 | } |
@@ -18,7 +18,7 @@ discard block |
||
| 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 |
||
| 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( |