Failed Conditions
Branch master (6be865)
by Anton
53:12
created
Bundles/Company/src/Spryker/Zed/Company/Business/Model/Company.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -70,7 +70,7 @@  discard block
 block discarded – undo
70 70
             ->setIsSuccessful(true);
71 71
 
72 72
         try {
73
-            $companyResponseTransfer = $this->getTransactionHandler()->handleTransaction(function () use ($companyResponseTransfer) {
73
+            $companyResponseTransfer = $this->getTransactionHandler()->handleTransaction(function() use ($companyResponseTransfer) {
74 74
                 $companyResponseTransfer = $this->executeSaveCompanyTransaction($companyResponseTransfer);
75 75
                 $companyResponseTransfer = $this->executePostCreatePlugins($companyResponseTransfer);
76 76
 
@@ -98,7 +98,7 @@  discard block
 block discarded – undo
98 98
             ->setCompanyTransfer($companyTransfer)
99 99
             ->setIsSuccessful(true);
100 100
 
101
-        return $this->getTransactionHandler()->handleTransaction(function () use ($companyResponseTransfer) {
101
+        return $this->getTransactionHandler()->handleTransaction(function() use ($companyResponseTransfer) {
102 102
             return $this->executeSaveCompanyTransaction($companyResponseTransfer);
103 103
         });
104 104
     }
Please login to merge, or discard this patch.
src/Spryker/Zed/Company/Business/Model/CompanyStoreRelationReader.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@
 block discarded – undo
55 55
      */
56 56
     protected function getIdStores(ArrayObject $relatedStores): array
57 57
     {
58
-        return array_map(function (StoreTransfer $storeTransfer) {
58
+        return array_map(function(StoreTransfer $storeTransfer) {
59 59
             return $storeTransfer->getIdStore();
60 60
         }, $relatedStores->getArrayCopy());
61 61
     }
Please login to merge, or discard this patch.
CompanyRole/src/Spryker/Zed/CompanyRole/Business/Model/CompanyRole.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
69 69
      */
70 70
     public function create(CompanyRoleTransfer $companyRoleTransfer): CompanyRoleResponseTransfer
71 71
     {
72
-        return $this->getTransactionHandler()->handleTransaction(function () use ($companyRoleTransfer) {
72
+        return $this->getTransactionHandler()->handleTransaction(function() use ($companyRoleTransfer) {
73 73
             return $this->executeCompanyRoleSaveTransaction($companyRoleTransfer);
74 74
         });
75 75
     }
@@ -108,7 +108,7 @@  discard block
 block discarded – undo
108 108
      */
109 109
     public function update(CompanyRoleTransfer $companyRoleTransfer): void
110 110
     {
111
-        $this->getTransactionHandler()->handleTransaction(function () use ($companyRoleTransfer) {
111
+        $this->getTransactionHandler()->handleTransaction(function() use ($companyRoleTransfer) {
112 112
             $this->executeCompanyRoleSaveTransaction($companyRoleTransfer);
113 113
         });
114 114
     }
@@ -124,7 +124,7 @@  discard block
 block discarded – undo
124 124
             ->setCompanyRoleTransfer($companyRoleTransfer)
125 125
             ->setIsSuccessful(true);
126 126
 
127
-        return $this->getTransactionHandler()->handleTransaction(function () use ($companyRoleResponseTransfer) {
127
+        return $this->getTransactionHandler()->handleTransaction(function() use ($companyRoleResponseTransfer) {
128 128
             return $this->executeDeleteTransaction($companyRoleResponseTransfer);
129 129
         });
130 130
     }
@@ -136,7 +136,7 @@  discard block
 block discarded – undo
136 136
      */
137 137
     public function saveCompanyUser(CompanyUserTransfer $companyUserTransfer): void
138 138
     {
139
-        $this->getTransactionHandler()->handleTransaction(function () use ($companyUserTransfer) {
139
+        $this->getTransactionHandler()->handleTransaction(function() use ($companyUserTransfer) {
140 140
             $this->entityManager->saveCompanyUser($companyUserTransfer);
141 141
         });
142 142
     }
Please login to merge, or discard this patch.
Plugin/ServiceProvider/AssertUrlConfigurationServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
      */
38 38
     public function boot(Application $app)
39 39
     {
40
-        $app->before(function (Request $request) {
40
+        $app->before(function(Request $request) {
41 41
             $this->assertMatchingHostName($request);
42 42
         }, Application::EARLY_EVENT);
43 43
     }
Please login to merge, or discard this patch.
Plugin/ServiceProvider/AssertUrlConfigurationServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
      */
38 38
     public function boot(Application $app)
39 39
     {
40
-        $app->before(function (Request $request) {
40
+        $app->before(function(Request $request) {
41 41
             $this->assertMatchingHostName($request);
42 42
         }, Application::EARLY_EVENT);
43 43
     }
Please login to merge, or discard this patch.
src/Spryker/Zed/CategoryDataImport/Business/Model/CategoryWriterStep.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -161,7 +161,7 @@
 block discarded – undo
161 161
                 $this->addPublishEvents(CategoryEvents::CATEGORY_TREE_PUBLISH, $categoryNodeEntity->getIdCategoryNode());
162 162
             }
163 163
 
164
-            $convertCallback = function ($value) {
164
+            $convertCallback = function($value) {
165 165
                 return mb_strtolower(str_replace(' ', '-', $value));
166 166
             };
167 167
             $urlPathParts = array_map($convertCallback, $urlPathParts);
Please login to merge, or discard this patch.
Spryker/Zed/SharedCart/Business/Installer/QuotePermissionGroupInstaller.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
      */
43 43
     public function install(): void
44 44
     {
45
-        $this->getTransactionHandler()->handleTransaction(function () {
45
+        $this->getTransactionHandler()->handleTransaction(function() {
46 46
             $this->executeInstallTransaction();
47 47
         });
48 48
     }
Please login to merge, or discard this patch.
src/Spryker/Zed/Development/Business/CodeBuilder/Bridge/BridgeBuilder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -560,7 +560,7 @@
 block discarded – undo
560 560
 
561 561
         $useStatements = array_keys($useStatements);
562 562
         sort($useStatements);
563
-        $useStatements = array_reduce($useStatements, function ($prevUseStatement, $useStatement) {
563
+        $useStatements = array_reduce($useStatements, function($prevUseStatement, $useStatement) {
564 564
             return $prevUseStatement . PHP_EOL . 'use ' . $useStatement . ';';
565 565
         }, '');
566 566
 
Please login to merge, or discard this patch.
Zed/ShoppingList/Business/Installer/ShoppingListPermissionInstaller.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
      */
43 43
     public function install(): void
44 44
     {
45
-        $this->getTransactionHandler()->handleTransaction(function () {
45
+        $this->getTransactionHandler()->handleTransaction(function() {
46 46
             $this->executeInstallTransaction();
47 47
         });
48 48
     }
Please login to merge, or discard this patch.