Completed
Pull Request — master (#8)
by Martin
04:36
created
tests/resources/goaop_module.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@
 block discarded – undo
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
 ];
Please login to merge, or discard this patch.
tests/Unit/Factory/AspectKernelFactoryTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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();
Please login to merge, or discard this patch.
tests/Unit/ModuleTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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)
Please login to merge, or discard this patch.