Completed
Push — master ( c209a2...8b3986 )
by
unknown
25s queued 10s
created
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.
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.
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.
src/Spryker/Zed/ZedNavigation/Business/Model/Extractor/PathExtractor.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
      */
23 23
     public function extractPathFromMenu(array $menu)
24 24
     {
25
-        $filteredMenu = array_filter($menu, function ($branch) {
25
+        $filteredMenu = array_filter($menu, function($branch) {
26 26
             return isset($branch[MenuFormatter::IS_ACTIVE]);
27 27
         });
28 28
         $path = [];
Please login to merge, or discard this patch.
src/Spryker/Zed/ProductRelation/Business/ProductRelationFacade.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -32,9 +32,9 @@
 block discarded – undo
32 32
      */
33 33
     public function getProductRelationTypeList()
34 34
     {
35
-         return $this->getFactory()
36
-             ->createProductRelationReader()
37
-             ->getProductRelationTypeList();
35
+            return $this->getFactory()
36
+                ->createProductRelationReader()
37
+                ->getProductRelationTypeList();
38 38
     }
39 39
 
40 40
     /**
Please login to merge, or discard this patch.
Communication/Form/NavigationNodeLocalizedAttributesFormType.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
         $resolver->setDefaults([
72 72
             'data_class' => NavigationNodeLocalizedAttributesTransfer::class,
73 73
             'required' => false,
74
-            'validation_groups' => function (FormInterface $form) {
74
+            'validation_groups' => function(FormInterface $form) {
75 75
                 $nodeType = $form->getParent()
76 76
                     ->getParent()
77 77
                     ->get(NavigationNodeFormType::FIELD_NODE_TYPE)
Please login to merge, or discard this patch.
src/Spryker/Zed/NavigationGui/NavigationGuiDependencyProvider.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
      */
42 42
     protected function provideNavigationFacade(Container $container)
43 43
     {
44
-        $container[self::FACADE_NAVIGATION] = function (Container $container) {
44
+        $container[self::FACADE_NAVIGATION] = function(Container $container) {
45 45
             return new NavigationGuiToNavigationBridge($container->getLocator()->navigation()->facade());
46 46
         };
47 47
     }
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
      */
54 54
     protected function provideLocaleFacade(Container $container)
55 55
     {
56
-        $container[self::FACADE_LOCALE] = function (Container $container) {
56
+        $container[self::FACADE_LOCALE] = function(Container $container) {
57 57
             return new NavigationGuiToLocaleBridge($container->getLocator()->locale()->facade());
58 58
         };
59 59
     }
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
      */
66 66
     protected function provideUrlFacade(Container $container)
67 67
     {
68
-        $container[self::FACADE_URL] = function (Container $container) {
68
+        $container[self::FACADE_URL] = function(Container $container) {
69 69
             return new NavigationGuiToUrlBridge($container->getLocator()->url()->facade());
70 70
         };
71 71
     }
Please login to merge, or discard this patch.
Spryker/Shared/Session/Business/Handler/Lock/Redis/RedisSpinLockLocker.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -193,7 +193,7 @@
 block discarded – undo
193 193
     return redis.call("DEL", KEYS[1])
194 194
 end
195 195
 return 0
196
-LUA;
196
+lua;
197 197
     }
198 198
 
199 199
 }
Please login to merge, or discard this patch.
src/Spryker/Zed/Session/Communication/Console/SessionRemoveLockConsole.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@
 block discarded – undo
50 50
 
51 51
 For Zed:
52 52
 session:lock:remove --zed <session_id>
53
-HELPTEXT;
53
+helptext;
54 54
     }
55 55
 
56 56
     /**
Please login to merge, or discard this patch.