Passed
Pull Request — master (#5)
by Dominique
38:29
created
Client/ZedRequest/ServiceProvider/ZedRequestClientServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
     public function register(Application $app)
26 26
     {
27 27
         $containerGlobals = new ContainerGlobals();
28
-        $containerGlobals[static::CLIENT_ZED_REQUEST] = function () {
28
+        $containerGlobals[static::CLIENT_ZED_REQUEST] = function() {
29 29
             $container = new Container();
30 30
 
31 31
             return $container->getLocator()->zedRequest()->client();
Please login to merge, or discard this patch.
Zed/ZedRequest/Communication/Plugin/GatewayControllerListenerPlugin.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
             return $currentController;
47 47
         }
48 48
 
49
-        $newController = function () use ($controller, $action) {
49
+        $newController = function() use ($controller, $action) {
50 50
 
51 51
             MessengerConfig::setMessageTray(MessengerConstants::IN_MEMORY_TRAY);
52 52
 
Please login to merge, or discard this patch.
Assertion/Communication/Plugin/ServiceProvider/AssertionServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
      */
24 24
     public function register(Application $app)
25 25
     {
26
-        $app[self::ASSERTION] = function () {
26
+        $app[self::ASSERTION] = function() {
27 27
             return new AssertionFacade();
28 28
         };
29 29
     }
Please login to merge, or discard this patch.
Money/src/Spryker/Zed/Money/Communication/Form/Type/MoneyCollectionType.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@
 block discarded – undo
62 62
         $resolver->setRequired(static::OPTION_AMOUNT_PER_STORE);
63 63
 
64 64
         $resolver->setDefaults([
65
-           static::OPTION_AMOUNT_PER_STORE => true,
65
+            static::OPTION_AMOUNT_PER_STORE => true,
66 66
         ]);
67 67
 
68 68
         parent::configureOptions($resolver);
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
 
43 43
         $builder->addEventListener(
44 44
             FormEvents::PRE_SET_DATA,
45
-            function (FormEvent $event) use ($options) {
45
+            function(FormEvent $event) use ($options) {
46 46
                 $this->setInitialMoneyValueData($event, $options);
47 47
             }
48 48
         );
Please login to merge, or discard this patch.
Bundles/Money/src/Spryker/Zed/Money/Communication/Form/Type/MoneyType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@
 block discarded – undo
54 54
 
55 55
         $builder->addEventListener(
56 56
             FormEvents::PRE_SET_DATA,
57
-            function (FormEvent $event) use ($validationGroups) {
57
+            function(FormEvent $event) use ($validationGroups) {
58 58
                 $moneyCurrencyOptions = $this->getFactory()
59 59
                     ->createMoneyDataProvider()
60 60
                     ->getMoneyCurrencyOptionsFor($event->getData());
Please login to merge, or discard this patch.
Spryker/Zed/ProductOptionCartConnector/Business/Model/GroupKeyExpander.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@
 block discarded – undo
59 59
     {
60 60
         usort(
61 61
             $options,
62
-            function (ProductOptionTransfer $productOptionLeft, ProductOptionTransfer $productOptionRight) {
62
+            function(ProductOptionTransfer $productOptionLeft, ProductOptionTransfer $productOptionRight) {
63 63
                 return ($productOptionLeft->getIdProductOptionValue() < $productOptionRight->getIdProductOptionValue()) ? -1 : 1;
64 64
             }
65 65
         );
Please login to merge, or discard this patch.
Zed/ProductOptionCartConnector/Business/Model/ProductOptionCartQuantity.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
         foreach ($quoteTransfer->getItems() as $itemTransfer) {
22 22
             $itemQuantity = $itemTransfer->getQuantity();
23 23
             foreach ($itemTransfer->getProductOptions() as $productOptionTransfer) {
24
-                 $productOptionTransfer->setQuantity($itemQuantity);
24
+                    $productOptionTransfer->setQuantity($itemQuantity);
25 25
             }
26 26
         }
27 27
 
Please login to merge, or discard this patch.
Zed/ProductOptionCartConnector/Business/Model/GroupKeyExpanderTest.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -34,8 +34,8 @@  discard block
 block discarded – undo
34 34
         $changeTransfer = $this->createCartChangeTransfer(
35 35
             [
36 36
                 'cartItem1' => [
37
-                   (new ProductOptionTransfer())->setIdProductOptionValue(2),
38
-                   (new ProductOptionTransfer())->setIdProductOptionValue(1),
37
+                    (new ProductOptionTransfer())->setIdProductOptionValue(2),
38
+                    (new ProductOptionTransfer())->setIdProductOptionValue(1),
39 39
                 ],
40 40
             ]
41 41
         );
@@ -55,8 +55,8 @@  discard block
 block discarded – undo
55 55
         $changeTransfer = $this->createCartChangeTransfer(
56 56
             [
57 57
                 'cartItem1' => [
58
-                   (new ProductOptionTransfer())->setIdProductOptionValue(2),
59
-                   (new ProductOptionTransfer())->setIdProductOptionValue(1),
58
+                    (new ProductOptionTransfer())->setIdProductOptionValue(2),
59
+                    (new ProductOptionTransfer())->setIdProductOptionValue(1),
60 60
                 ],
61 61
             ]
62 62
         );
@@ -78,10 +78,10 @@  discard block
 block discarded – undo
78 78
         $changeTransfer = $this->createCartChangeTransfer(
79 79
             [
80 80
                 'cartItem1' => [
81
-                   (new ProductOptionTransfer())->setIdProductOptionValue(1),
82
-                   (new ProductOptionTransfer())->setIdProductOptionValue(3),
83
-                   (new ProductOptionTransfer())->setIdProductOptionValue('A'),
84
-                   (new ProductOptionTransfer())->setIdProductOptionValue(2),
81
+                    (new ProductOptionTransfer())->setIdProductOptionValue(1),
82
+                    (new ProductOptionTransfer())->setIdProductOptionValue(3),
83
+                    (new ProductOptionTransfer())->setIdProductOptionValue('A'),
84
+                    (new ProductOptionTransfer())->setIdProductOptionValue(2),
85 85
                 ],
86 86
                 'cartItem2' => [
87 87
                     (new ProductOptionTransfer())->setIdProductOptionValue(2),
Please login to merge, or discard this patch.
SprykerTest/Zed/CmsContentWidget/Business/CmsContentWidgetFacadeTest.php 2 patches
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -131,11 +131,11 @@  discard block
 block discarded – undo
131 131
     {
132 132
         return [
133 133
             [
134
-               'getFunctionName' => 'functionName',
135
-               'getAvailableTemplates' => [
136
-                   'identifier' => '@module/path/to/template.twig',
137
-               ],
138
-               'getUsageInformation' => 'how to..',
134
+                'getFunctionName' => 'functionName',
135
+                'getAvailableTemplates' => [
136
+                    'identifier' => '@module/path/to/template.twig',
137
+                ],
138
+                'getUsageInformation' => 'how to..',
139 139
             ],
140 140
             [
141 141
                 'getFunctionName' => 'functionName1',
@@ -185,7 +185,7 @@  discard block
 block discarded – undo
185 185
         $container = $this->createZedContainer();
186 186
         $container[CmsContentWidgetDependencyProvider::PLUGINS_CMS_CONTENT_WIDGET_PARAMETER_MAPPERS] = function (Container $container) use ($cmsContentWidgetParameterMapperPluginMock) {
187 187
             return [
188
-              'function' => $cmsContentWidgetParameterMapperPluginMock,
188
+                'function' => $cmsContentWidgetParameterMapperPluginMock,
189 189
             ];
190 190
         };
191 191
 
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -182,13 +182,13 @@
 block discarded – undo
182 182
         $cmsBusinessFactory = $this->createBusinessFactory();
183 183
 
184 184
         $container = $this->createZedContainer();
185
-        $container[CmsContentWidgetDependencyProvider::PLUGINS_CMS_CONTENT_WIDGET_PARAMETER_MAPPERS] = function (Container $container) use ($cmsContentWidgetParameterMapperPluginMock) {
185
+        $container[CmsContentWidgetDependencyProvider::PLUGINS_CMS_CONTENT_WIDGET_PARAMETER_MAPPERS] = function(Container $container) use ($cmsContentWidgetParameterMapperPluginMock) {
186 186
             return [
187 187
               'function' => $cmsContentWidgetParameterMapperPluginMock,
188 188
             ];
189 189
         };
190 190
 
191
-        $container[CmsContentWidgetDependencyProvider::FACADE_GLOSSARY] = function (Container $container) {
191
+        $container[CmsContentWidgetDependencyProvider::FACADE_GLOSSARY] = function(Container $container) {
192 192
             return $this->createGlossaryFacadeMock();
193 193
         };
194 194
 
Please login to merge, or discard this patch.