Completed
Push — master ( 99ca87...95904e )
by Andrey
23:44
created
src/ObjectConstructor/ObjectConstructorAbstractFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@
 block discarded – undo
63 63
         $name = $objectConstructorConfig->getName();
64 64
         $options = $objectConstructorConfig->getOptions();
65 65
 
66
-        $objectConstructor =  $serviceLocator->get(
66
+        $objectConstructor = $serviceLocator->get(
67 67
             $name,
68 68
             $options
69 69
         );
Please login to merge, or discard this patch.
src/ObjectConstructor/DoctrineObjectConstructorFactory.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
             $errMsg = 'Manager registry service name not specified';
40 40
             throw new Exception\RuntimeException($errMsg);
41 41
         }
42
-        $managerRegistry = $serviceLocator->get($creationOptions['managerRegistry']);
42
+        $managerRegistry = $serviceLocator->get($creationOptions[ 'managerRegistry' ]);
43 43
 
44 44
         if (!$managerRegistry instanceof ManagerRegistry) {
45 45
             $errMsg = sprintf(
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
             $errMsg = 'Fallback constructor name not specified';
55 55
             throw new Exception\RuntimeException($errMsg);
56 56
         }
57
-        $fallbackConstructor = $serviceLocator->get($creationOptions['fallbackConstructor']);
57
+        $fallbackConstructor = $serviceLocator->get($creationOptions[ 'fallbackConstructor' ]);
58 58
 
59 59
         if (!$fallbackConstructor instanceof ObjectConstructorInterface) {
60 60
             $errMsg = sprintf(
Please login to merge, or discard this patch.
src/Visitor/NamingStrategyTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
             throw new Exception\RuntimeException($errMsg);
41 41
         }
42 42
 
43
-        $namingStrategy = $creationOptions['namingStrategy'];
43
+        $namingStrategy = $creationOptions[ 'namingStrategy' ];
44 44
 
45 45
         return $serviceLocator->get($namingStrategy);
46 46
     }
Please login to merge, or discard this patch.
src/Visitor/VisitorsAbstractFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@
 block discarded – undo
64 64
         $name = $visitorConfig->getName();
65 65
         $options = $visitorConfig->getOptions();
66 66
 
67
-        $visitor =  $serviceLocator->get(
67
+        $visitor = $serviceLocator->get(
68 68
             $name,
69 69
             $options
70 70
         );
Please login to merge, or discard this patch.
src/Visitor/VisitorsMapAbstractFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -71,7 +71,7 @@
 block discarded – undo
71 71
         $moduleOptions = $moduleOptionsManager->get(ModuleOptions::class);
72 72
 
73 73
 
74
-        $list = [];
74
+        $list = [ ];
75 75
 
76 76
         if ($isSerializationVisitors) {
77 77
             $list = $moduleOptions->getSerializationVisitor($name);
Please login to merge, or discard this patch.
src/Visitor/JsonSerializationVisitorFactory.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -36,13 +36,13 @@
 block discarded – undo
36 36
 
37 37
         $creationOptions = $this->getCreationOptions();
38 38
         if (array_key_exists('jsonOptions', $creationOptions)) {
39
-            $jsonOptions = $creationOptions['jsonOptions'];
39
+            $jsonOptions = $creationOptions[ 'jsonOptions' ];
40 40
             if (!is_array($jsonOptions)) {
41 41
                 $errMsg = 'Json options is not array';
42 42
                 throw new Exception\RuntimeException($errMsg);
43 43
             }
44 44
             if (array_key_exists('options', $jsonOptions)) {
45
-                $visitor->setOptions($jsonOptions['options']);
45
+                $visitor->setOptions($jsonOptions[ 'options' ]);
46 46
             }
47 47
         }
48 48
 
Please login to merge, or discard this patch.
src/Visitor/XmlDeserializationVisitorFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
         $xmlDeserializationVisitor = new XmlDeserializationVisitor($namingStrategy);
36 36
 
37 37
         if (array_key_exists('doctypeWhitelist', $creationOptions)) {
38
-            $doctypeWhitelist = $creationOptions['doctypeWhitelist'];
38
+            $doctypeWhitelist = $creationOptions[ 'doctypeWhitelist' ];
39 39
             if (!is_array($doctypeWhitelist)) {
40 40
                 $errMsg = 'Doctype whitelist not array';
41 41
                 throw new Exception\RuntimeException($errMsg);
Please login to merge, or discard this patch.
src/MetadataDriver/FileLocatorFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
             $errMsg = 'Directories for FileLocator is not specified';
36 36
             throw new Exception\RuntimeException($errMsg);
37 37
         }
38
-        $directories = $creationOptions['directories'];
38
+        $directories = $creationOptions[ 'directories' ];
39 39
 
40 40
         if (!is_array($directories)) {
41 41
             $errMsg = 'Directories for FileLocator is not array';
Please login to merge, or discard this patch.
src/MetadataDriver/LazyLoadingDriverFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
             throw new Exception\RuntimeException($errMsg);
36 36
         }
37 37
 
38
-        $realDriverId = $creationOptions['realDriverId'];
38
+        $realDriverId = $creationOptions[ 'realDriverId' ];
39 39
 
40 40
         if (!$serviceLocator instanceof ContainerInterface) {
41 41
             $errMsg = sprintf('Service  locator not implement %s', ContainerInterface::class);
Please login to merge, or discard this patch.