Failed Conditions
Branch master (6be865)
by Anton
53:12
created
src/Spryker/Zed/ProductGroup/Business/Model/ProductGroupDeleter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
     {
46 46
         $this->assertProductGroupForUpdate($productGroupTransfer);
47 47
 
48
-        $this->handleDatabaseTransaction(function () use ($productGroupTransfer) {
48
+        $this->handleDatabaseTransaction(function() use ($productGroupTransfer) {
49 49
             $this->executeUpdateProductGroupTransaction($productGroupTransfer);
50 50
         });
51 51
     }
Please login to merge, or discard this patch.
Spryker/Zed/ProductOption/Business/OptionGroup/ProductOptionItemSorter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@
 block discarded – undo
50 50
      */
51 51
     protected function sortItemsBySku(array $items)
52 52
     {
53
-        usort($items, function (ItemTransfer $item1, ItemTransfer $item2) {
53
+        usort($items, function(ItemTransfer $item1, ItemTransfer $item2) {
54 54
             if ($item1->getSku() !== $item2->getSku()) {
55 55
                 return $item1->getSku() > $item2->getSku();
56 56
             }
Please login to merge, or discard this patch.
src/Spryker/Zed/ProductOption/Communication/Form/ProductOptionGroupForm.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -150,7 +150,7 @@
 block discarded – undo
150 150
             'prototype' => true,
151 151
             'constraints' => [
152 152
                 new Callback([
153
-                    'callback' => function (ArrayObject $values, ExecutionContextInterface $context) {
153
+                    'callback' => function(ArrayObject $values, ExecutionContextInterface $context) {
154 154
                         if (count($values) === 0) {
155 155
                             $context->buildViolation('No option values added.')
156 156
                                 ->addViolation();
Please login to merge, or discard this patch.
src/Spryker/Zed/Customer/Business/Anonymizer/CustomerAnonymizer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -70,7 +70,7 @@
 block discarded – undo
70 70
         $customerTransfer->requireIdCustomer();
71 71
         $customerTransfer = $this->getCustomer($customerTransfer);
72 72
 
73
-        $this->handleDatabaseTransaction(function () use ($customerTransfer) {
73
+        $this->handleDatabaseTransaction(function() use ($customerTransfer) {
74 74
             $this->processTransaction($customerTransfer);
75 75
         });
76 76
     }
Please login to merge, or discard this patch.
Zed/CmsBlockCategoryConnector/Business/Model/CmsBlockCategoryWriter.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
      */
60 60
     public function updateCmsBlock(CmsBlockTransfer $cmsBlockTransfer)
61 61
     {
62
-        $this->handleDatabaseTransaction(function () use ($cmsBlockTransfer) {
62
+        $this->handleDatabaseTransaction(function() use ($cmsBlockTransfer) {
63 63
             $this->updateCmsBlockCategoryRelationsTransaction($cmsBlockTransfer);
64 64
         });
65 65
     }
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
71 71
      */
72 72
     public function updateCategory(CategoryTransfer $categoryTransfer)
73 73
     {
74
-        $this->handleDatabaseTransaction(function () use ($categoryTransfer) {
74
+        $this->handleDatabaseTransaction(function() use ($categoryTransfer) {
75 75
             $this->updateCategoryCmsBlockRelationsTransaction($categoryTransfer);
76 76
         });
77 77
     }
Please login to merge, or discard this patch.
src/Spryker/Yves/ZedRequest/Plugin/ZedRequestHeaderMiddleware.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
      */
42 42
     public function getCallable()
43 43
     {
44
-        return Middleware::mapRequest(function (RequestInterface $request) {
44
+        return Middleware::mapRequest(function(RequestInterface $request) {
45 45
             if ($request->hasHeader('X-Yves-Host')) {
46 46
                 $request = $request->withAddedHeader('X-Request-ID', $this->utilNetworkService->getRequestId());
47 47
             }
Please login to merge, or discard this patch.
ZedRequest/src/Spryker/Yves/ZedRequest/Plugin/ZedResponseLogPlugin.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
      */
34 34
     public function getCallable()
35 35
     {
36
-        return Middleware::mapResponse(function (ResponseInterface $response) {
36
+        return Middleware::mapResponse(function(ResponseInterface $response) {
37 37
             if ($response->hasHeader(AbstractHttpClient::HEADER_HOST_ZED)) {
38 38
                 $message = sprintf(
39 39
                     'Transfer response [%s]',
Please login to merge, or discard this patch.
ZedRequest/src/Spryker/Yves/ZedRequest/Plugin/ZedRequestLogPlugin.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
      */
34 34
     public function getCallable()
35 35
     {
36
-        return Middleware::mapRequest(function (RequestInterface $request) {
36
+        return Middleware::mapRequest(function(RequestInterface $request) {
37 37
             if ($request->hasHeader(AbstractHttpClient::HEADER_HOST_YVES)) {
38 38
                 $this->getLogger()->info(sprintf(
39 39
                     'Transfer request [%s] %s',
Please login to merge, or discard this patch.
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.