Passed
Push — master ( e0cd82...d9403f )
by
unknown
30:43
created
EventDispatcher/Plugin/Application/EventDispatcherApplicationPluginTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
         //Arrange
58 58
         $container = $this->createContainer();
59 59
         $eventDispatcherApplicationPlugin = $this->createEventDispatcherApplicationPlugin();
60
-        $container->set(static::SERVICE_DISPATCHER, function (ContainerInterface $container) {
60
+        $container->set(static::SERVICE_DISPATCHER, function(ContainerInterface $container) {
61 61
             return new SymfonyEventDispatcher();
62 62
         });
63 63
 
@@ -77,7 +77,7 @@  discard block
 block discarded – undo
77 77
         //Arrange
78 78
         $container = $this->createContainer();
79 79
         $eventDispatcherApplicationPlugin = $this->createEventDispatcherApplicationPlugin();
80
-        $container->set(static::SERVICE_DISPATCHER, function (ContainerInterface $container) {
80
+        $container->set(static::SERVICE_DISPATCHER, function(ContainerInterface $container) {
81 81
             $eventDispatcher = new SymfonyEventDispatcher();
82 82
 
83 83
             $eventDispatcher->addSubscriber($this->createDummyEventSubscriber());
Please login to merge, or discard this patch.
Business/ProductDiscontinued/ProductDiscontinuedWriter.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
             return (new ProductDiscontinuedResponseTransfer())->setIsSuccessful(false);
79 79
         }
80 80
 
81
-        return $this->getTransactionHandler()->handleTransaction(function () use ($productDiscontinueRequestTransfer) {
81
+        return $this->getTransactionHandler()->handleTransaction(function() use ($productDiscontinueRequestTransfer) {
82 82
             return $this->executeCreateTransaction($productDiscontinueRequestTransfer);
83 83
         });
84 84
     }
@@ -103,7 +103,7 @@  discard block
 block discarded – undo
103 103
             return $productDiscontinuedResponseTransfer;
104 104
         }
105 105
 
106
-        return $this->getTransactionHandler()->handleTransaction(function () use ($productDiscontinuedTransfer) {
106
+        return $this->getTransactionHandler()->handleTransaction(function() use ($productDiscontinuedTransfer) {
107 107
             return $this->executeDeleteTransaction($productDiscontinuedTransfer);
108 108
         });
109 109
     }
Please login to merge, or discard this patch.
Zed/ContentProductGui/Communication/Table/ProductAbstractSelectedTable.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -98,8 +98,7 @@
 block discarded – undo
98 98
         $this->defaultUrl = Url::generate(static::TABLE_IDENTIFIER, $parameters)->build();
99 99
         $this->tableClass = static::TABLE_CLASS;
100 100
         $identifierSuffix = !$this->identifierSuffix ?
101
-            static::TABLE_IDENTIFIER :
102
-            sprintf('%s-%s', static::TABLE_IDENTIFIER, $this->identifierSuffix);
101
+            static::TABLE_IDENTIFIER : sprintf('%s-%s', static::TABLE_IDENTIFIER, $this->identifierSuffix);
103 102
         $this->setTableIdentifier($identifierSuffix);
104 103
 
105 104
         $this->disableSearch();
Please login to merge, or discard this patch.
Zed/ContentProductGui/Communication/Table/ProductAbstractViewTable.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -84,8 +84,7 @@
 block discarded – undo
84 84
         $this->tableClass = static::TABLE_CLASS;
85 85
 
86 86
         $identifierSuffix = !$this->identifierSuffix ?
87
-            static::TABLE_IDENTIFIER :
88
-            sprintf('%s-%s', static::TABLE_IDENTIFIER, $this->identifierSuffix);
87
+            static::TABLE_IDENTIFIER : sprintf('%s-%s', static::TABLE_IDENTIFIER, $this->identifierSuffix);
89 88
         $this->setTableIdentifier($identifierSuffix);
90 89
 
91 90
         $config->setHeader([
Please login to merge, or discard this patch.
_support/ProductBundleProductListConnectorBusinessTester.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -80,7 +80,7 @@
 block discarded – undo
80 80
         $container = new Container();
81 81
         $dependencyProvider = new ProductBundleProductListConnectorDependencyProvider();
82 82
         $dependencyProvider->provideBusinessLayerDependencies($container);
83
-        $container[ProductBundleProductListConnectorDependencyProvider::FACADE_PRODUCT_BUNDLE] = function (Container $container) use ($productBundleProductListConnectorToProductBundleFacadeBridgeMock) {
83
+        $container[ProductBundleProductListConnectorDependencyProvider::FACADE_PRODUCT_BUNDLE] = function(Container $container) use ($productBundleProductListConnectorToProductBundleFacadeBridgeMock) {
84 84
             return $productBundleProductListConnectorToProductBundleFacadeBridgeMock;
85 85
         };
86 86
 
Please login to merge, or discard this patch.
Zed/DataImport/Business/DataReader/QueueReader/QueueReaderTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -68,7 +68,7 @@
 block discarded – undo
68 68
     {
69 69
         parent::setUp();
70 70
 
71
-        $this->tester->setDependency(DataImportDependencyProvider::CLIENT_QUEUE, function () {
71
+        $this->tester->setDependency(DataImportDependencyProvider::CLIENT_QUEUE, function() {
72 72
             return $this->createQueueClientMock();
73 73
         });
74 74
 
Please login to merge, or discard this patch.
src/Spryker/Zed/PriceProduct/Business/PriceProduct/PriceProductRemover.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@
 block discarded – undo
60 60
             ->requireIdPriceProduct()
61 61
             ->requirePriceDimension();
62 62
 
63
-        $this->getTransactionHandler()->handleTransaction(function () use ($priceProductTransfer): void {
63
+        $this->getTransactionHandler()->handleTransaction(function() use ($priceProductTransfer): void {
64 64
             $idPriceProductStore = $this->priceProductRepository->findIdPriceProductStoreByPriceProduct($priceProductTransfer);
65 65
 
66 66
             if ($idPriceProductStore !== null) {
Please login to merge, or discard this patch.
src/Spryker/Zed/PersistentCart/Business/Locker/QuoteLocker.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@
 block discarded – undo
64 64
      */
65 65
     public function resetQuoteLock(QuoteTransfer $quoteTransfer): QuoteResponseTransfer
66 66
     {
67
-        return $this->getTransactionHandler()->handleTransaction(function () use ($quoteTransfer) {
67
+        return $this->getTransactionHandler()->handleTransaction(function() use ($quoteTransfer) {
68 68
             return $this->executeResetQuoteLockTransaction($quoteTransfer);
69 69
         });
70 70
     }
Please login to merge, or discard this patch.
SprykerTest/Client/QuoteRequestAgent/QuoteRequestAgentConverterTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -119,7 +119,7 @@
 block discarded – undo
119 119
 
120 120
         $quoteRequestAgentStatusMock
121 121
             ->method('isQuoteRequestEditable')
122
-            ->willReturnCallback(function (QuoteRequestTransfer $quoteRequestTransfer) {
122
+            ->willReturnCallback(function(QuoteRequestTransfer $quoteRequestTransfer) {
123 123
                 return $quoteRequestTransfer->getStatus() === SharedQuoteRequestAgentConfig::STATUS_IN_PROGRESS;
124 124
             });
125 125
 
Please login to merge, or discard this patch.