Failed Conditions
Push — master ( 494e02...0ec8a9 )
by mark
68:47 queued 24:21
created
Zed/Cms/Business/Version/Migration/CmsPageLocalizedAttributesMigration.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
     public function migrate(CmsVersionDataTransfer $originVersionDataTransfer, CmsVersionDataTransfer $targetVersionDataTransfer): void
47 47
     {
48
-        $this->getTransactionHandler()->handleTransaction(function () use ($originVersionDataTransfer, $targetVersionDataTransfer) {
48
+        $this->getTransactionHandler()->handleTransaction(function() use ($originVersionDataTransfer, $targetVersionDataTransfer) {
49 49
             $this->executeMigrateTransaction($originVersionDataTransfer, $targetVersionDataTransfer);
50 50
         });
51 51
     }
Please login to merge, or discard this patch.
Cms/src/Spryker/Zed/Cms/Business/Version/Migration/CmsTemplateMigration.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 migrate(CmsVersionDataTransfer $originVersionDataTransfer, CmsVersionDataTransfer $targetVersionDataTransfer): void
46 46
     {
47
-        $this->getTransactionHandler()->handleTransaction(function () use ($targetVersionDataTransfer) {
47
+        $this->getTransactionHandler()->handleTransaction(function() use ($targetVersionDataTransfer) {
48 48
             $this->executeMigrateTransaction($targetVersionDataTransfer);
49 49
         });
50 50
     }
Please login to merge, or discard this patch.
Bundles/Cms/src/Spryker/Zed/Cms/Business/Version/VersionRollback.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -91,7 +91,7 @@
 block discarded – undo
91 91
      */
92 92
     protected function migrateVersions(SpyCmsVersion $originVersionEntity, SpyCmsVersion $targetVersionEntity, int $idCmsPage, int $version): CmsVersionTransfer
93 93
     {
94
-        return $this->getTransactionHandler()->handleTransaction(function () use ($originVersionEntity, $targetVersionEntity, $idCmsPage, $version) {
94
+        return $this->getTransactionHandler()->handleTransaction(function() use ($originVersionEntity, $targetVersionEntity, $idCmsPage, $version) {
95 95
             return $this->executeMigrateVersion($originVersionEntity, $targetVersionEntity, $idCmsPage, $version);
96 96
         });
97 97
     }
Please login to merge, or discard this patch.
Bundles/Cms/src/Spryker/Zed/Cms/Business/Version/VersionPublisher.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -106,7 +106,7 @@
 block discarded – undo
106 106
      */
107 107
     protected function saveAndTouchCmsVersion(string $data, int $idCmsPage, string $versionName, int $versionNumber): CmsVersionTransfer
108 108
     {
109
-        return $this->getTransactionHandler()->handleTransaction(function () use ($data, $idCmsPage, $versionName, $versionNumber) {
109
+        return $this->getTransactionHandler()->handleTransaction(function() use ($data, $idCmsPage, $versionName, $versionNumber) {
110 110
             return $this->executeSaveAndTouchCmsVersionTransaction($data, $idCmsPage, $versionName, $versionNumber);
111 111
         });
112 112
     }
Please login to merge, or discard this patch.
Cms/src/Spryker/Zed/Cms/Business/Page/Store/CmsPageStoreRelationReader.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.
Zed/Cms/Business/Version/Migration/CmsGlossaryKeyMappingMigration.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
     public function migrate(CmsVersionDataTransfer $originVersionDataTransfer, CmsVersionDataTransfer $targetVersionDataTransfer): void
47 47
     {
48
-        $this->getTransactionHandler()->handleTransaction(function () use ($originVersionDataTransfer, $targetVersionDataTransfer) {
48
+        $this->getTransactionHandler()->handleTransaction(function() use ($originVersionDataTransfer, $targetVersionDataTransfer) {
49 49
             $this->executeMigrateTransaction($originVersionDataTransfer, $targetVersionDataTransfer);
50 50
         });
51 51
     }
Please login to merge, or discard this patch.
Bundles/ZedRequest/src/Spryker/Client/ZedRequest/Messenger/Messenger.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -134,9 +134,9 @@
 block discarded – undo
134 134
         return $this->zedClient->getSuccessStatusMessages();
135 135
     }
136 136
 
137
-   /**
138
-    * @return void
139
-    */
137
+    /**
138
+     * @return void
139
+     */
140 140
     protected function pushResponseErrorMessagesToMessenger(): void
141 141
     {
142 142
         foreach ($this->getResponsesErrorMessages() as $errorMessage) {
Please login to merge, or discard this patch.
SprykerTest/Zed/Synchronization/Business/Message/QueueMessageHelperTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -62,10 +62,10 @@
 block discarded – undo
62 62
     {
63 63
         $utilEncodingService = $this->getMockBuilder(SynchronizationToUtilEncodingServiceInterface::class)->getMock();
64 64
 
65
-        $utilEncodingService->method('decodeJson')->willReturnCallback(function ($jsonValue, $assoc, $depth = null, $options = null) {
65
+        $utilEncodingService->method('decodeJson')->willReturnCallback(function($jsonValue, $assoc, $depth = null, $options = null) {
66 66
             return json_decode($jsonValue, $assoc);
67 67
         });
68
-        $utilEncodingService->method('encodeJson')->willReturnCallback(function ($array) {
68
+        $utilEncodingService->method('encodeJson')->willReturnCallback(function($array) {
69 69
             return json_encode($array);
70 70
         });
71 71
 
Please login to merge, or discard this patch.
src/Spryker/Zed/CompanyRoleGui/Communication/Form/CompanyRoleCreateForm.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -141,7 +141,7 @@  discard block
 block discarded – undo
141 141
      */
142 142
     protected function disableIsDefaultFieldWhenChecked(FormBuilderInterface $builder)
143 143
     {
144
-        $builder->addEventListener(FormEvents::PRE_SET_DATA, function (FormEvent $event) {
144
+        $builder->addEventListener(FormEvents::PRE_SET_DATA, function(FormEvent $event) {
145 145
             /** @var \Generated\Shared\Transfer\CompanyRoleTransfer $companyRoleTransfer */
146 146
             $companyRoleTransfer = $event->getData();
147 147
             $form = $event->getForm();
@@ -203,7 +203,7 @@  discard block
 block discarded – undo
203 203
      */
204 204
     protected function getInputDataCallbackPermissionCollectionTransformer(): Closure
205 205
     {
206
-        return function ($permissionCollection = []): array {
206
+        return function($permissionCollection = []): array {
207 207
             $permissions = [];
208 208
             if (!empty($permissionCollection[PermissionCollectionTransfer::PERMISSIONS])) {
209 209
                 foreach ($permissionCollection[PermissionCollectionTransfer::PERMISSIONS] as $permission) {
@@ -220,7 +220,7 @@  discard block
 block discarded – undo
220 220
      */
221 221
     protected function getOutputDataCallbackPermissionCollectionTransformer(): Closure
222 222
     {
223
-        return function ($permissionCollectionSubmitted = []): PermissionCollectionTransfer {
223
+        return function($permissionCollectionSubmitted = []): PermissionCollectionTransfer {
224 224
             $permissionCollectionTransfer = new PermissionCollectionTransfer();
225 225
             foreach ($permissionCollectionSubmitted as $permission) {
226 226
                 $permissionTransfer = (new PermissionTransfer())
Please login to merge, or discard this patch.