Completed
Push — master ( d0e652...48ccfd )
by Андрей
9s
created
src/Filter/FilterUsedFixtureFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,6 +45,6 @@
 block discarded – undo
45 45
         $filterUsedFixtureService = $appServiceLocator->get(FilterUsedFixtureServiceInterface::class);
46 46
 
47 47
 
48
-        return new FilterUsedFixture($creationOptions['contextExecutor'], $filterUsedFixtureService);
48
+        return new FilterUsedFixture($creationOptions[ 'contextExecutor' ], $filterUsedFixtureService);
49 49
     }
50 50
 }
Please login to merge, or discard this patch.
src/Loader/DirectoryLoaderFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
     {
33 33
         $creationOptions = $this->getCreationOptions();
34 34
 
35
-        $directory = array_key_exists('directory', $creationOptions) ? $creationOptions['directory'] : null;
35
+        $directory = array_key_exists('directory', $creationOptions) ? $creationOptions[ 'directory' ] : null;
36 36
 
37 37
         return new RecursiveDirectoryLoader($directory);
38 38
     }
Please login to merge, or discard this patch.
src/Loader/GlobLoaderFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
     {
33 33
         $creationOptions = $this->getCreationOptions();
34 34
 
35
-        $directory = array_key_exists('directory', $creationOptions) ? $creationOptions['directory'] : null;
35
+        $directory = array_key_exists('directory', $creationOptions) ? $creationOptions[ 'directory' ] : null;
36 36
 
37 37
         return new RecursiveDirectoryLoader($directory);
38 38
     }
Please login to merge, or discard this patch.
config/doctrine.config.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,7 @@
 block discarded – undo
7 7
         'driver' => [
8 8
             Module::MODULE_NAME => [
9 9
                 'cache' => 'array',
10
-                'paths' => [__DIR__ . '/../src/Entity'],
10
+                'paths' => [ __DIR__ . '/../src/Entity' ],
11 11
                 'class' => 'Doctrine\ORM\Mapping\Driver\AnnotationDriver',
12 12
             ],
13 13
         ],
Please login to merge, or discard this patch.
Module.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -90,7 +90,7 @@  discard block
 block discarded – undo
90 90
     public function init(ModuleManagerInterface $manager)
91 91
     {
92 92
         if (!$manager instanceof ModuleManager) {
93
-            $errMsg =sprintf('Module manager not implement %s', ModuleManager::class);
93
+            $errMsg = sprintf('Module manager not implement %s', ModuleManager::class);
94 94
             throw new Exception\InvalidArgumentException($errMsg);
95 95
         }
96 96
 
@@ -143,7 +143,7 @@  discard block
 block discarded – undo
143 143
     public function onBootstrap(EventInterface $e)
144 144
     {
145 145
         if (!$e instanceof MvcEvent) {
146
-            $errMsg =sprintf('Event not implement %s', MvcEvent::class);
146
+            $errMsg = sprintf('Event not implement %s', MvcEvent::class);
147 147
             throw new Exception\InvalidArgumentException($errMsg);
148 148
         }
149 149
 
@@ -196,9 +196,9 @@  discard block
 block discarded – undo
196 196
         return [
197 197
             'Doctrine data fixture',
198 198
             'nnx:fixture execute-fixture --fixtureClassName=' => 'Run fixture bu class name',
199
-            ['--fixtureClassName=FIXTURE_CLASS_NAME', 'Fixture class name'],
199
+            [ '--fixtureClassName=FIXTURE_CLASS_NAME', 'Fixture class name' ],
200 200
             'nnx:fixture run-executor --executorName=' => 'Run fixture executor by name',
201
-            ['--executorName==EXECUTOR_NAME', 'Executor name'],
201
+            [ '--executorName==EXECUTOR_NAME', 'Executor name' ],
202 202
         ];
203 203
     }
204 204
 
Please login to merge, or discard this patch.
src/Utils/ManagerRegistryProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
     {
42 42
 
43 43
         //@see \Nnx\Doctrine\Listener\ManagerRegistryListener
44
-        $results = $this->getEventManager()->trigger('get.doctrineManagerRegistry', $this, [], function ($managerRegistry) {
44
+        $results = $this->getEventManager()->trigger('get.doctrineManagerRegistry', $this, [ ], function($managerRegistry) {
45 45
             return $managerRegistry instanceof ManagerRegistry;
46 46
         });
47 47
 
Please login to merge, or discard this patch.
src/Executor/ExecutorInterface.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@  discard block
 block discarded – undo
22 22
      *
23 23
      * @return void
24 24
      */
25
-    public function import(array $contextData = []);
25
+    public function import(array $contextData = [ ]);
26 26
 
27 27
     /**
28 28
      * Откатить данные на основе информации из фикстур
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
      *
32 32
      * @return void
33 33
      */
34
-    public function purge(array $contextData = []);
34
+    public function purge(array $contextData = [ ]);
35 35
 
36 36
 
37 37
     /**
Please login to merge, or discard this patch.
src/FixtureInitializer/ConnectionRegistryEventSubscriberFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
      */
32 32
     public function createService(ServiceLocatorInterface $serviceLocator)
33 33
     {
34
-        $appServiceLocator = $serviceLocator instanceof AbstractPluginManager ?  $serviceLocator->getServiceLocator() : $serviceLocator;
34
+        $appServiceLocator = $serviceLocator instanceof AbstractPluginManager ? $serviceLocator->getServiceLocator() : $serviceLocator;
35 35
 
36 36
         /** @var ManagerRegistryProviderInterface $managerRegistryProvider */
37 37
         $managerRegistryProvider = $appServiceLocator->get(ManagerRegistryProviderInterface::class);
Please login to merge, or discard this patch.
src/FixtureInitializer/ManagerRegistryEventSubscriberFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
      */
32 32
     public function createService(ServiceLocatorInterface $serviceLocator)
33 33
     {
34
-        $appServiceLocator = $serviceLocator instanceof AbstractPluginManager ?  $serviceLocator->getServiceLocator() : $serviceLocator;
34
+        $appServiceLocator = $serviceLocator instanceof AbstractPluginManager ? $serviceLocator->getServiceLocator() : $serviceLocator;
35 35
 
36 36
         /** @var ManagerRegistryProviderInterface $managerRegistryProvider */
37 37
         $managerRegistryProvider = $appServiceLocator->get(ManagerRegistryProviderInterface::class);
Please login to merge, or discard this patch.