@@ -6,7 +6,7 @@ |
||
| 6 | 6 | 'cacheDir' => __DIR__, |
| 7 | 7 | 'cacheFileMode' => 0770 & ~umask(), |
| 8 | 8 | 'features' => 0, |
| 9 | - 'includePaths' => [], |
|
| 10 | - 'excludePaths' => [], |
|
| 9 | + 'includePaths' => [ ], |
|
| 10 | + 'excludePaths' => [ ], |
|
| 11 | 11 | 'containerClass' => \Go\Core\GoAspectContainer::class, |
| 12 | 12 | ]; |
@@ -21,7 +21,7 @@ discard block |
||
| 21 | 21 | { |
| 22 | 22 | $serviceLocator = $this->prophesize(ServiceLocatorInterface::class); |
| 23 | 23 | $serviceLocator->get('config') |
| 24 | - ->willReturn(['goaop_module' => require static::CONFIG_PATH]) |
|
| 24 | + ->willReturn([ 'goaop_module' => require static::CONFIG_PATH ]) |
|
| 25 | 25 | ->shouldBeCalled(); |
| 26 | 26 | |
| 27 | 27 | $factory = new AspectKernelFactory(); |
@@ -42,7 +42,7 @@ discard block |
||
| 42 | 42 | { |
| 43 | 43 | $serviceLocator = $this->prophesize(ServiceLocatorInterface::class); |
| 44 | 44 | $serviceLocator->get('config') |
| 45 | - ->willReturn(['goaop_module' => require static::CONFIG_PATH]) |
|
| 45 | + ->willReturn([ 'goaop_module' => require static::CONFIG_PATH ]) |
|
| 46 | 46 | ->shouldBeCalled(); |
| 47 | 47 | |
| 48 | 48 | $factory = new AspectKernelFactory(); |
@@ -41,7 +41,7 @@ discard block |
||
| 41 | 41 | $eventManager = $this->prophesize(EventManagerInterface::class); |
| 42 | 42 | $eventManager->attach( |
| 43 | 43 | Argument::exact(ModuleEvent::EVENT_LOAD_MODULES_POST), |
| 44 | - Argument::exact([$module, 'initializeAspects']) |
|
| 44 | + Argument::exact([ $module, 'initializeAspects' ]) |
|
| 45 | 45 | )->shouldBeCalled(); |
| 46 | 46 | |
| 47 | 47 | $moduleManager = $this->prophesize(ModuleManagerInterface::class); |
@@ -66,7 +66,7 @@ discard block |
||
| 66 | 66 | ->willReturn($aspectContainer->reveal()) |
| 67 | 67 | ->shouldBeCalled(); |
| 68 | 68 | $serviceManager->get('config') |
| 69 | - ->willReturn(['goaop_aspect' => ['testAspect']]) |
|
| 69 | + ->willReturn([ 'goaop_aspect' => [ 'testAspect' ] ]) |
|
| 70 | 70 | ->shouldBeCalled(); |
| 71 | 71 | $serviceManager->get('testAspect') |
| 72 | 72 | ->willReturn($aspect) |