Failed Conditions
Branch master (6be865)
by Anton
53:12
created
Testify/tests/SprykerTest/Shared/Testify/_support/Fixtures/Fixture.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -124,7 +124,7 @@
 block discarded – undo
124 124
     protected function executeTestMethod(Actor $I): FixturesContainerInterface
125 125
     {
126 126
         if (!method_exists($this->testClassInstance, $this->testMethod)) {
127
-            throw new TestRuntimeException("Method {$this->testMethod} can't be found in tested class");
127
+            throw new TestRuntimeException("method {$this->testMethod} can't be found in tested class");
128 128
         }
129 129
 
130 130
         return call_user_func([$this->testClassInstance, $this->testMethod], $I, $this->scenario);
Please login to merge, or discard this patch.
Store/src/Spryker/Yves/Store/Plugin/Application/StoreApplicationPlugin.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
     protected function addStore(ContainerInterface $container): ContainerInterface
43 43
     {
44
-        $container[static::STORE] = function () {
44
+        $container[static::STORE] = function() {
45 45
             return $this->getStoreName();
46 46
         };
47 47
 
Please login to merge, or discard this patch.
Spryker/Zed/PriceCartConnector/Business/Validator/PriceProductValidator.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -230,11 +230,11 @@
 block discarded – undo
230 230
      */
231 231
     protected function getProductWithoutPriceSkus(array $priceProductTransfers, array $items): array
232 232
     {
233
-        $totalItemSkus = array_map(function (ItemTransfer $item) {
233
+        $totalItemSkus = array_map(function(ItemTransfer $item) {
234 234
             return $item->getSku();
235 235
         }, $items);
236 236
 
237
-        $validProductSkus = array_map(function (PriceProductTransfer $priceProductTransfer) {
237
+        $validProductSkus = array_map(function(PriceProductTransfer $priceProductTransfer) {
238 238
             return $priceProductTransfer->getSkuProduct();
239 239
         }, $priceProductTransfers);
240 240
 
Please login to merge, or discard this patch.
src/Spryker/Zed/PriceProduct/Business/Model/PriceProductCriteriaBuilder.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -228,7 +228,7 @@  discard block
 block discarded – undo
228 228
      */
229 229
     protected function getStoreTransfersForPriceProductFilters(array $priceProductFilterTransfers): array
230 230
     {
231
-        $storeNames = array_map(function (PriceProductFilterTransfer $priceProductFilterTransfer) {
231
+        $storeNames = array_map(function(PriceProductFilterTransfer $priceProductFilterTransfer) {
232 232
             return $priceProductFilterTransfer->getStoreName();
233 233
         }, $priceProductFilterTransfers);
234 234
 
@@ -259,7 +259,7 @@  discard block
 block discarded – undo
259 259
      */
260 260
     protected function getCurrencyTransfersForPriceProductFilters(array $priceProductFilterTransfers): array
261 261
     {
262
-        $isoCodes = array_map(function (PriceProductFilterTransfer $priceProductFilterTransfer) {
262
+        $isoCodes = array_map(function(PriceProductFilterTransfer $priceProductFilterTransfer) {
263 263
             return $priceProductFilterTransfer->getCurrencyIsoCode();
264 264
         }, $priceProductFilterTransfers);
265 265
 
Please login to merge, or discard this patch.
Zed/ProductImageCartConnector/Business/Expander/ProductImageExpander.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
      */
37 37
     public function expandItems(CartChangeTransfer $cartChangeTransfer)
38 38
     {
39
-        $productIds = array_map(function (ItemTransfer $itemTransfer) {
39
+        $productIds = array_map(function(ItemTransfer $itemTransfer) {
40 40
             return $itemTransfer->getId();
41 41
         }, $cartChangeTransfer->getItems()->getArrayCopy());
42 42
         $productImages = $this->productImageFacade->getProductImagesByProductIdsAndProductImageSetName($productIds, ProductImageCartConnectorConfig::DEFAULT_IMAGE_SET_NAME);
Please login to merge, or discard this patch.
Sales/src/Spryker/Zed/Sales/Business/Model/Order/SalesOrderSaver.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -125,7 +125,7 @@
 block discarded – undo
125 125
     {
126 126
         $this->assertOrderRequirements($quoteTransfer);
127 127
 
128
-        $this->handleDatabaseTransaction(function () use ($quoteTransfer, $saveOrderTransfer) {
128
+        $this->handleDatabaseTransaction(function() use ($quoteTransfer, $saveOrderTransfer) {
129 129
             $this->saveOrderSalesTransaction($quoteTransfer, $saveOrderTransfer);
130 130
         });
131 131
     }
Please login to merge, or discard this patch.
Comment/src/Spryker/Zed/Comment/Business/Writer/CommentThreadWriter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -87,7 +87,7 @@
 block discarded – undo
87 87
             ->requireOwnerId()
88 88
             ->requireOwnerType();
89 89
 
90
-        return $this->getTransactionHandler()->handleTransaction(function () use ($commentFilterTransfer, $commentRequestTransfer) {
90
+        return $this->getTransactionHandler()->handleTransaction(function() use ($commentFilterTransfer, $commentRequestTransfer) {
91 91
             return $this->executeDuplicateCommentThreadTransaction($commentFilterTransfer, $commentRequestTransfer);
92 92
         });
93 93
     }
Please login to merge, or discard this patch.
Bundles/Comment/src/Spryker/Client/Comment/CommentDependencyProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
      */
39 39
     protected function addZedRequestClient(Container $container): Container
40 40
     {
41
-        $container->set(static::CLIENT_ZED_REQUEST, function (Container $container) {
41
+        $container->set(static::CLIENT_ZED_REQUEST, function(Container $container) {
42 42
             return new CommentToZedRequestClientBridge($container->getLocator()->zedRequest()->client());
43 43
         });
44 44
 
Please login to merge, or discard this patch.
Zed/CommentSalesConnector/CommentSalesConnectorDependencyProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
      */
39 39
     protected function addCommentFacade(Container $container): Container
40 40
     {
41
-        $container->set(static::FACADE_COMMENT, function (Container $container) {
41
+        $container->set(static::FACADE_COMMENT, function(Container $container) {
42 42
             return new CommentSalesConnectorToCommentFacadeBridge($container->getLocator()->comment()->facade());
43 43
         });
44 44
 
Please login to merge, or discard this patch.