Passed
Push — master ( 093472...d84877 )
by
unknown
26:06
created
src/Spryker/Client/Search/Delegator/Adapter/SearchDelegatorAdapter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -164,7 +164,7 @@
 block discarded – undo
164 164
      */
165 165
     protected function addSearchContextToSearchDocumentTransfers(array $searchDocumentTransfers): array
166 166
     {
167
-        return array_map(function (SearchDocumentTransfer $searchDocumentTransfer) {
167
+        return array_map(function(SearchDocumentTransfer $searchDocumentTransfer) {
168 168
             return $this->addSearchContextToSearchDocumentTransfer($searchDocumentTransfer);
169 169
         }, $searchDocumentTransfers);
170 170
     }
Please login to merge, or discard this patch.
Bundles/Search/src/Spryker/Client/Search/Delegator/SearchDelegator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -215,7 +215,7 @@
 block discarded – undo
215 215
      */
216 216
     protected function expandSearchContextTransferForSearchDocumentTransfers(array $searchDocumentTransfers): array
217 217
     {
218
-        return array_map(function (SearchDocumentTransfer $searchDocumentTransfer) {
218
+        return array_map(function(SearchDocumentTransfer $searchDocumentTransfer) {
219 219
             return $this->expandSearchContextTransferForSearchDocumentTransfer($searchDocumentTransfer);
220 220
         }, $searchDocumentTransfers);
221 221
     }
Please login to merge, or discard this patch.
Business/Definition/Loader/IndexDefinitionLoaderTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -94,7 +94,7 @@
 block discarded – undo
94 94
         $splFileInfoMock->method('getExtension')->willReturn(static::SCHEMA_DEFINITION_FILE_EXTENSION);
95 95
 
96 96
         $finderMock = $this->createMock(Finder::class);
97
-        $finderMock->method('getIterator')->willReturnCallback(function () use ($splFileInfoMock) {
97
+        $finderMock->method('getIterator')->willReturnCallback(function() use ($splFileInfoMock) {
98 98
             yield $splFileInfoMock;
99 99
         });
100 100
 
Please login to merge, or discard this patch.
Shared/SearchElasticsearch/_support/Helper/ElasticsearchHelper.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -79,7 +79,7 @@  discard block
 block discarded – undo
79 79
      */
80 80
     protected function addCleanup(Index $index): void
81 81
     {
82
-        $this->cleanup[$index->getName()] = function () use ($index) {
82
+        $this->cleanup[$index->getName()] = function() use ($index) {
83 83
             if ($index->exists()) {
84 84
                 $index->delete();
85 85
 
@@ -239,7 +239,7 @@  discard block
 block discarded – undo
239 239
      */
240 240
     public function addCleanupForSnapshotInRepository(string $repositoryName, string $snapshotName): void
241 241
     {
242
-        $this->cleanup[] = function () use ($repositoryName, $snapshotName) {
242
+        $this->cleanup[] = function() use ($repositoryName, $snapshotName) {
243 243
             if ($this->existsSnapshotInRepository($repositoryName, $snapshotName)) {
244 244
                 $this->getSnapshot()->deleteSnapshot($repositoryName, $snapshotName);
245 245
             }
Please login to merge, or discard this patch.
src/Spryker/Zed/CmsBlockStorage/Business/Storage/CmsBlockStorageWriter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -283,7 +283,7 @@
 block discarded – undo
283 283
      */
284 284
     protected function pairRemainingCmsBlockStorageEntities(array $mappedCmsBlockStorageEntities, array $pairs): array
285 285
     {
286
-        array_walk_recursive($mappedCmsBlockStorageEntities, function (SpyCmsBlockStorage $cmsBlockStorageEntity) use (&$pairs) {
286
+        array_walk_recursive($mappedCmsBlockStorageEntities, function(SpyCmsBlockStorage $cmsBlockStorageEntity) use (&$pairs) {
287 287
             $pairs[] = [
288 288
                 static::CMS_BLOCK_ENTITY => null,
289 289
                 static::CMS_BLOCK_STORAGE_ENTITY => $cmsBlockStorageEntity,
Please login to merge, or discard this patch.
Plugin/CmsContentWidget/CmsBlockContentWidgetPlugin.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -72,8 +72,7 @@
 block discarded – undo
72 72
 
73 73
             if ($isActive) {
74 74
                 $templatePath = !$templateIdentifier && $cmsBlockTransfer->getCmsBlockTemplate() ?
75
-                    $cmsBlockTransfer->getCmsBlockTemplate()->getTemplatePath() :
76
-                    $this->resolveTemplatePath($templateIdentifier);
75
+                    $cmsBlockTransfer->getCmsBlockTemplate()->getTemplatePath() : $this->resolveTemplatePath($templateIdentifier);
77 76
 
78 77
                 $rendered .= $twig->render($templatePath, [
79 78
                     'placeholders' => $this->getPlaceholders($cmsBlockTransfer),
Please login to merge, or discard this patch.
Plugin/Event/Listener/ProductOfferStoragePublishListenerTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
     {
41 41
         parent::setUp();
42 42
 
43
-        $this->tester->setDependency(QueueDependencyProvider::QUEUE_ADAPTERS, function (Container $container) {
43
+        $this->tester->setDependency(QueueDependencyProvider::QUEUE_ADAPTERS, function(Container $container) {
44 44
             return [
45 45
                 $container->getLocator()->rabbitMq()->client()->createQueueAdapter(),
46 46
             ];
Please login to merge, or discard this patch.
Plugin/Event/Listener/ProductOfferStockStoragePublishListenerTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
     {
41 41
         parent::setUp();
42 42
 
43
-        $this->tester->setDependency(QueueDependencyProvider::QUEUE_ADAPTERS, function (Container $container) {
43
+        $this->tester->setDependency(QueueDependencyProvider::QUEUE_ADAPTERS, function(Container $container) {
44 44
             return [
45 45
                 $container->getLocator()->rabbitMq()->client()->createQueueAdapter(),
46 46
             ];
Please login to merge, or discard this patch.
Plugin/Event/Listener/OmsProductReservationStoragePublishListenerTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
     {
41 41
         parent::setUp();
42 42
 
43
-        $this->tester->setDependency(QueueDependencyProvider::QUEUE_ADAPTERS, function (Container $container) {
43
+        $this->tester->setDependency(QueueDependencyProvider::QUEUE_ADAPTERS, function(Container $container) {
44 44
             return [
45 45
                 $container->getLocator()->rabbitMq()->client()->createQueueAdapter(),
46 46
             ];
Please login to merge, or discard this patch.