Completed
Push — master ( 6279d8...15f84e )
by mark
30s queued 11s
created
Communication/Form/DataProvider/AvailabilityStockFormDataProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -120,7 +120,7 @@
 block discarded – undo
120 120
     {
121 121
         usort(
122 122
             $stockProducts,
123
-            function (StockProductTransfer $stockProductLeftTransfer, StockProductTransfer $stockProductRightTransfer) {
123
+            function(StockProductTransfer $stockProductLeftTransfer, StockProductTransfer $stockProductRightTransfer) {
124 124
                 return strcmp($stockProductLeftTransfer->getStockType(), $stockProductRightTransfer->getStockType());
125 125
             }
126 126
         );
Please login to merge, or discard this patch.
Bundles/CmsGui/src/Spryker/Zed/CmsGui/Communication/Tabs/GlossaryTabs.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -33,10 +33,10 @@
 block discarded – undo
33 33
      */
34 34
     protected function build(TabsViewTransfer $tabsViewTransfer)
35 35
     {
36
-         $this->createPlaceHolderTabs($tabsViewTransfer)
36
+            $this->createPlaceHolderTabs($tabsViewTransfer)
37 37
             ->setFooter($tabsViewTransfer);
38 38
 
39
-         return $tabsViewTransfer;
39
+            return $tabsViewTransfer;
40 40
     }
41 41
 
42 42
     /**
Please login to merge, or discard this patch.
src/Spryker/Zed/CmsGui/Communication/Form/ArrayObjectTransformerTrait.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -18,10 +18,10 @@
 block discarded – undo
18 18
     protected function createArrayObjectModelTransformer()
19 19
     {
20 20
         return new CallbackTransformer(
21
-            function ($value) {
21
+            function($value) {
22 22
                 return (array)$value;
23 23
             },
24
-            function ($value) {
24
+            function($value) {
25 25
                 return new ArrayObject($value);
26 26
             }
27 27
         );
Please login to merge, or discard this patch.
src/Spryker/Zed/Development/Business/Stability/StabilityCalculator.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
83 83
      */
84 84
     protected function filter(array $bundlesDependencies)
85 85
     {
86
-        $callback = function (array $bundleDependency) {
86
+        $callback = function(array $bundleDependency) {
87 87
             return ($bundleDependency[DependencyTree::META_FOREIGN_BUNDLE] !== 'external');
88 88
         };
89 89
         $bundlesDependencies = array_filter($bundlesDependencies, $callback);
@@ -136,7 +136,7 @@  discard block
 block discarded – undo
136 136
             $this->buildIndirectIncomingDependencies($bundle, $indirectIncomingDependencies);
137 137
 
138 138
             $indirectIncomingDependencies = $indirectIncomingDependencies->getArrayCopy();
139
-            $callback = function ($bundle) use ($incomingBundles) {
139
+            $callback = function($bundle) use ($incomingBundles) {
140 140
                 return !in_array($bundle, $incomingBundles);
141 141
             };
142 142
             $indirectIncomingDependencies = array_filter($indirectIncomingDependencies, $callback);
Please login to merge, or discard this patch.
CmsGui/src/Spryker/Zed/CmsGui/Communication/Form/Page/CmsPageFormType.php 2 patches
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -231,7 +231,7 @@  discard block
 block discarded – undo
231 231
     protected function createValidFromRangeConstraint()
232 232
     {
233 233
         return new Callback([
234
-            'callback' => function ($dateTimeFrom, ExecutionContextInterface $context) {
234
+            'callback' => function($dateTimeFrom, ExecutionContextInterface $context) {
235 235
                 $cmsPageTransfer = $context->getRoot()->getData();
236 236
                 if (!$dateTimeFrom) {
237 237
                     if ($cmsPageTransfer->getValidTo()) {
@@ -258,7 +258,7 @@  discard block
 block discarded – undo
258 258
     protected function createValidToFieldRangeConstraint()
259 259
     {
260 260
         return new Callback([
261
-           'callback' => function ($dateTimeTo, ExecutionContextInterface $context) {
261
+           'callback' => function($dateTimeTo, ExecutionContextInterface $context) {
262 262
 
263 263
                 $cmsPageTransfer = $context->getRoot()->getData();
264 264
 
@@ -282,12 +282,12 @@  discard block
 block discarded – undo
282 282
     protected function createDateTimeModelTransformer()
283 283
     {
284 284
         return new CallbackTransformer(
285
-            function ($value) {
285
+            function($value) {
286 286
                 if ($value !== null) {
287 287
                     return new DateTime($value);
288 288
                 }
289 289
             },
290
-            function ($value) {
290
+            function($value) {
291 291
                 return $value;
292 292
             }
293 293
         );
Please login to merge, or discard this patch.
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -195,7 +195,7 @@  discard block
 block discarded – undo
195 195
                 'class' => 'datepicker safe-datetime',
196 196
             ],
197 197
             'constraints' => [
198
-                 $this->createValidFromRangeConstraint(),
198
+                    $this->createValidFromRangeConstraint(),
199 199
             ],
200 200
         ]);
201 201
 
@@ -262,7 +262,7 @@  discard block
 block discarded – undo
262 262
     protected function createValidToFieldRangeConstraint()
263 263
     {
264 264
         return new Callback([
265
-           'callback' => function ($dateTimeTo, ExecutionContextInterface $context) {
265
+            'callback' => function ($dateTimeTo, ExecutionContextInterface $context) {
266 266
 
267 267
                 $cmsPageTransfer = $context->getRoot()->getData();
268 268
 
@@ -276,7 +276,7 @@  discard block
 block discarded – undo
276 276
             if ($dateTimeTo < $cmsPageTransfer->getValidFrom()) {
277 277
                 $context->addViolation('Date "Valid to" cannot be earlier than "Valid from".');
278 278
             }
279
-           },
279
+            },
280 280
         ]);
281 281
     }
282 282
 
Please login to merge, or discard this patch.
CmsGui/src/Spryker/Zed/CmsGui/Dependency/Facade/CmsGuiToCmsBridge.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -114,7 +114,7 @@
 block discarded – undo
114 114
      */
115 115
     public function getPageUrlPrefix(CmsPageAttributesTransfer $cmsPageAttributesTransfer)
116 116
     {
117
-         return $this->cmsFacade->getPageUrlPrefix($cmsPageAttributesTransfer);
117
+            return $this->cmsFacade->getPageUrlPrefix($cmsPageAttributesTransfer);
118 118
     }
119 119
 
120 120
     /**
Please login to merge, or discard this patch.
Application/Communication/Plugin/ServiceProvider/RequestServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
44 44
      */
45 45
     public function boot(Application $app)
46 46
     {
47
-        $app->before(function (Request $request) {
47
+        $app->before(function(Request $request) {
48 48
             if ($this->isCli() && $request->server->get('argv', false)) {
49 49
                 $this->parseCliRequestData($request);
50 50
             } else {
Please login to merge, or discard this patch.
Bundles/Cms/src/Spryker/Zed/Cms/Business/Page/CmsPageActivator.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -85,7 +85,7 @@
 block discarded – undo
85 85
             );
86 86
         }
87 87
 
88
-         return true;
88
+            return true;
89 89
     }
90 90
 
91 91
     /**
Please login to merge, or discard this patch.
src/Spryker/Zed/ZedNavigation/ZedNavigationDependencyProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
      */
39 39
     protected function addUrlBuilder(Container $container)
40 40
     {
41
-        $container[static::URL_BUILDER] = function () {
41
+        $container[static::URL_BUILDER] = function() {
42 42
             return new UrlBuilder();
43 43
         };
44 44
 
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
52 52
      */
53 53
     protected function addUtilEncodingService(Container $container)
54 54
     {
55
-        $container[static::SERVICE_ENCODING] = function (Container $container) {
55
+        $container[static::SERVICE_ENCODING] = function(Container $container) {
56 56
             $navigationToUtilEncodingBridger = new ZedNavigationToUtilEncodingBridge(
57 57
                 $container->getLocator()->utilEncoding()->service()
58 58
             );
Please login to merge, or discard this patch.