Passed
Pull Request — master (#2)
by Dominique
22:55
created
src/Spryker/Client/Session/ServiceProvider/SessionClientServiceProvider.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_SESSION] = function () {
28
+        $containerGlobals[static::CLIENT_SESSION] = function() {
29 29
             $container = new Container();
30 30
 
31 31
             return $container->getLocator()->session()->client();
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
@@ -242,7 +242,7 @@
 block discarded – undo
242 242
     return redis.call("DEL", KEYS[1])
243 243
 end
244 244
 return 0
245
-LUA;
245
+lua;
246 246
     }
247 247
 
248 248
 }
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.
Zed/ProductManagement/Dependency/Facade/ProductManagementToMoneyBridge.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@
 block discarded – undo
63 63
      */
64 64
     public function fromInteger($amount, $isoCode = null)
65 65
     {
66
-         return $this->moneyFacade->fromInteger($amount, $isoCode);
66
+            return $this->moneyFacade->fromInteger($amount, $isoCode);
67 67
     }
68 68
 
69 69
 }
Please login to merge, or discard this patch.
Spryker/Zed/ProductSetGui/Communication/Form/ReorderProductSetsFormType.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -42,10 +42,10 @@
 block discarded – undo
42 42
 
43 43
         $builder->get(static::FIELD_PRODUCT_SET_WEIGHTS)
44 44
             ->addModelTransformer(new CallbackTransformer(
45
-                function ($productSetIds = null) {
45
+                function($productSetIds = null) {
46 46
                     return $this->getFactory()->getUtilEncodingService()->encodeJson((array)$productSetIds);
47 47
                 },
48
-                function ($productSetIds = '{}') {
48
+                function($productSetIds = '{}') {
49 49
                     return $this->getFactory()->getUtilEncodingService()->decodeJson($productSetIds, true);
50 50
                 }
51 51
             ));
Please login to merge, or discard this patch.
Spryker/Zed/ProductSetGui/Communication/Form/General/GeneralFormType.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
     public function configureOptions(OptionsResolver $resolver)
46 46
     {
47 47
         $resolver->setDefaults([
48
-            'validation_groups' => function (FormInterface $form) {
48
+            'validation_groups' => function(FormInterface $form) {
49 49
                 $originalKey = $form->get(static::FIELD_PRODUCT_SET_KEY_ORIGINAL)->getData();
50 50
                 $updatedKey = $form->get(static::FIELD_PRODUCT_SET_KEY)->getData();
51 51
 
@@ -147,10 +147,10 @@  discard block
 block discarded – undo
147 147
 
148 148
         $builder->get(static::FIELD_WEIGHT)
149 149
             ->addModelTransformer(new CallbackTransformer(
150
-                function ($weight) {
150
+                function($weight) {
151 151
                     return $weight;
152 152
                 },
153
-                function ($weight) {
153
+                function($weight) {
154 154
                     return (int)$weight;
155 155
                 }
156 156
             ));
Please login to merge, or discard this patch.
Zed/ProductSetGui/Communication/Form/General/LocalizedGeneralFormType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
     public function configureOptions(OptionsResolver $resolver)
49 49
     {
50 50
         $resolver->setDefaults([
51
-            'validation_groups' => function (FormInterface $form) {
51
+            'validation_groups' => function(FormInterface $form) {
52 52
                 $originalUrl = $form->getData()[static::FIELD_ORIGINAL_URL];
53 53
                 $updatedUrl = $form->getData()[static::FIELD_URL];
54 54
 
Please login to merge, or discard this patch.
CartVariant/src/Spryker/Yves/CartVariant/CartVariantDependencyProvider.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
      */
40 40
     protected function provideProductClient(Container $container)
41 41
     {
42
-        $container[static::CLIENT_PRODUCT] = function (Container $container) {
42
+        $container[static::CLIENT_PRODUCT] = function(Container $container) {
43 43
             return new CartVariantToProductClientBridge($container->getLocator()->product()->client());
44 44
         };
45 45
         return $container;
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
52 52
      */
53 53
     protected function provideAvailabilityClient(Container $container)
54 54
     {
55
-        $container[static::CLIENT_AVAILABILITY] = function (Container $container) {
55
+        $container[static::CLIENT_AVAILABILITY] = function(Container $container) {
56 56
             return new CartVariantToAvailabilityClientBridge($container->getLocator()->availability()->client());
57 57
         };
58 58
         return $container;
Please login to merge, or discard this patch.
Zed/ProductReviewCollector/ProductReviewCollectorDependencyProvider.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
      */
50 50
     protected function addCollectorFacade(Container $container)
51 51
     {
52
-        $container[static::FACADE_COLLECTOR] = function (Container $container) {
52
+        $container[static::FACADE_COLLECTOR] = function(Container $container) {
53 53
             return new ProductReviewCollectorToCollectorBridge($container->getLocator()->collector()->facade());
54 54
         };
55 55
     }
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
      */
62 62
     protected function addSearchFacade(Container $container)
63 63
     {
64
-        $container[static::FACADE_SEARCH] = function (Container $container) {
64
+        $container[static::FACADE_SEARCH] = function(Container $container) {
65 65
             return new ProductReviewCollectorToSearchBridge($container->getLocator()->search()->facade());
66 66
         };
67 67
     }
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
      */
74 74
     protected function addDataReaderService(Container $container)
75 75
     {
76
-        $container[static::SERVICE_DATA_READER] = function (Container $container) {
76
+        $container[static::SERVICE_DATA_READER] = function(Container $container) {
77 77
             return $container->getLocator()->utilDataReader()->service();
78 78
         };
79 79
     }
@@ -85,7 +85,7 @@  discard block
 block discarded – undo
85 85
      */
86 86
     protected function addTouchQueryContainer(Container $container)
87 87
     {
88
-        $container[static::QUERY_CONTAINER_TOUCH] = function (Container $container) {
88
+        $container[static::QUERY_CONTAINER_TOUCH] = function(Container $container) {
89 89
             return $container->getLocator()->touch()->queryContainer();
90 90
         };
91 91
     }
@@ -97,7 +97,7 @@  discard block
 block discarded – undo
97 97
      */
98 98
     protected function addStore(Container $container)
99 99
     {
100
-        $container[static::STORE] = function () {
100
+        $container[static::STORE] = function() {
101 101
             return Store::getInstance();
102 102
         };
103 103
     }
Please login to merge, or discard this patch.