Passed
Pull Request — master (#5)
by Dominique
38:29
created
tests/SprykerTest/Zed/CategoryImage/Business/CategoryImageFacadeTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -231,7 +231,7 @@
 block discarded – undo
231 231
      */
232 232
     protected function getIdCategoryImageSetCollection(array $categoryImageSetCollection): array
233 233
     {
234
-        return array_map(function (CategoryImageSetTransfer $categoryImageSetTransfer) {
234
+        return array_map(function(CategoryImageSetTransfer $categoryImageSetTransfer) {
235 235
             return $categoryImageSetTransfer->getIdCategoryImageSet();
236 236
         }, $categoryImageSetCollection);
237 237
     }
Please login to merge, or discard this patch.
src/Spryker/Zed/CategoryImage/Business/ImageSet/ImageSetCreator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
      */
37 37
     public function createCategoryImageSetsForCategory(CategoryTransfer $categoryTransfer): ArrayObject
38 38
     {
39
-        return $this->getTransactionHandler()->handleTransaction(function () use ($categoryTransfer) {
39
+        return $this->getTransactionHandler()->handleTransaction(function() use ($categoryTransfer) {
40 40
             return $this->executeCreateCategoryImageSetsForCategoryTransaction($categoryTransfer);
41 41
         });
42 42
     }
Please login to merge, or discard this patch.
src/Spryker/Zed/CategoryImage/Business/ImageSet/ImageSetDeleter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
      */
44 44
     public function deleteCategoryImageSetsByIdCategory(int $idCategory): void
45 45
     {
46
-        $this->getTransactionHandler()->handleTransaction(function () use ($idCategory) {
46
+        $this->getTransactionHandler()->handleTransaction(function() use ($idCategory) {
47 47
             $this->executeDeleteCategoryImageSetsByIdCategoryTransaction($idCategory);
48 48
         });
49 49
     }
Please login to merge, or discard this patch.
src/Spryker/Zed/CategoryImage/Business/ImageSet/ImageSetUpdater.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
      */
47 47
     public function updateCategoryImageSetsForCategory(CategoryTransfer $categoryTransfer): void
48 48
     {
49
-        $this->getTransactionHandler()->handleTransaction(function () use ($categoryTransfer) {
49
+        $this->getTransactionHandler()->handleTransaction(function() use ($categoryTransfer) {
50 50
             $this->executeUpdateCategoryImageSetsForCategoryTransaction($categoryTransfer);
51 51
         });
52 52
     }
Please login to merge, or discard this patch.
src/Spryker/Zed/CategoryImageGui/Communication/Form/ImageSetForm.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
             'data_class' => CategoryImageSetTransfer::class,
52 52
             'constraints' => new Valid(),
53 53
             'required' => false,
54
-            'validation_groups' => function () use ($validationGroups) {
54
+            'validation_groups' => function() use ($validationGroups) {
55 55
                 return $validationGroups;
56 56
             },
57 57
             'compound' => true,
@@ -154,7 +154,7 @@  discard block
 block discarded – undo
154 154
                 'allow_delete' => true,
155 155
                 'prototype' => true,
156 156
                 'constraints' => [new Callback([
157
-                    'callback' => function ($images, ExecutionContextInterface $context) {
157
+                    'callback' => function($images, ExecutionContextInterface $context) {
158 158
                         $selectedAttributes = [];
159 159
                         foreach ($images as $valueSet) {
160 160
                             if (!empty($valueSet['value'])) {
Please login to merge, or discard this patch.
Yves/DummyPayment/Dependency/Injector/CheckoutDependencyInjector.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 injectPaymentSubForms(Container $container)
41 41
     {
42
-        $container->extend(CheckoutDependencyProvider::PAYMENT_SUB_FORMS, function (SubFormPluginCollection $paymentSubForms) {
42
+        $container->extend(CheckoutDependencyProvider::PAYMENT_SUB_FORMS, function(SubFormPluginCollection $paymentSubForms) {
43 43
             $paymentSubForms->add(new DummyPaymentCreditCardSubFormPlugin());
44 44
             $paymentSubForms->add(new DummyPaymentInvoiceSubFormPlugin());
45 45
 
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
      */
57 57
     protected function injectPaymentMethodHandler(Container $container)
58 58
     {
59
-        $container->extend(CheckoutDependencyProvider::PAYMENT_METHOD_HANDLER, function (StepHandlerPluginCollection $paymentMethodHandler) {
59
+        $container->extend(CheckoutDependencyProvider::PAYMENT_METHOD_HANDLER, function(StepHandlerPluginCollection $paymentMethodHandler) {
60 60
             $dummyPaymentHandlerPlugin = new DummyPaymentHandlerPlugin();
61 61
 
62 62
             $paymentMethodHandler->add($dummyPaymentHandlerPlugin, DummyPaymentConfig::PAYMENT_METHOD_CREDIT_CARD);
Please login to merge, or discard this patch.
Application/src/Spryker/Yves/Application/ApplicationDependencyProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
      */
37 37
     protected function addApplicationPlugins(Container $container): Container
38 38
     {
39
-        $container->set(static::PLUGINS_APPLICATION, function (Container $container): array {
39
+        $container->set(static::PLUGINS_APPLICATION, function(Container $container): array {
40 40
             return $this->getApplicationPlugins();
41 41
         });
42 42
 
Please login to merge, or discard this patch.
src/Spryker/Shared/Application/Communication/ControllerServiceBuilder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
         RouteNameResolverInterface $routeNameResolver
30 30
     ) {
31 31
         $serviceName = 'controller.service.' . str_replace('/', '.', trim($routeNameResolver->resolve(), '/'));
32
-        $application[$serviceName] = function () use ($application, $controllerResolver, $bundleControllerAction) {
32
+        $application[$serviceName] = function() use ($application, $controllerResolver, $bundleControllerAction) {
33 33
             $controller = $controllerResolver->resolve($bundleControllerAction);
34 34
             $controller->setApplication($application);
35 35
             $controller->initialize();
Please login to merge, or discard this patch.
src/Spryker/Zed/SalesReclamation/Business/Reclamation/ReclamationWriter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@
 block discarded – undo
49 49
         $this->assertReclamationCreateRequestRequiredAttributes($reclamationCreateRequestTransfer);
50 50
 
51 51
         return $this->getTransactionHandler()->handleTransaction(
52
-            function () use ($reclamationCreateRequestTransfer) {
52
+            function() use ($reclamationCreateRequestTransfer) {
53 53
                 return $this->executeCreateReclamationTransaction($reclamationCreateRequestTransfer);
54 54
             }
55 55
         );
Please login to merge, or discard this patch.