Passed
Pull Request — master (#5)
by Dominique
38:29
created
Bundles/Flysystem/src/Spryker/Service/Flysystem/Model/Stream.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
      */
39 39
     public function putStream($filesystemName, $path, $resource, array $config = [])
40 40
     {
41
-        $this->handleStreamOperation(function () use ($filesystemName, $path, $resource, $config) {
41
+        $this->handleStreamOperation(function() use ($filesystemName, $path, $resource, $config) {
42 42
             return $this->filesystemProvider
43 43
                 ->getFilesystemByName($filesystemName)
44 44
                 ->putStream($path, $resource, $config);
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
      */
54 54
     public function readStream($filesystemName, $path)
55 55
     {
56
-        return $this->handleStreamOperation(function () use ($filesystemName, $path) {
56
+        return $this->handleStreamOperation(function() use ($filesystemName, $path) {
57 57
             return $this->filesystemProvider
58 58
                 ->getFilesystemByName($filesystemName)
59 59
                 ->readStream($path);
@@ -70,7 +70,7 @@  discard block
 block discarded – undo
70 70
      */
71 71
     public function updateStream($filesystemName, $path, $resource, array $config = [])
72 72
     {
73
-        $this->handleStreamOperation(function () use ($filesystemName, $path, $resource, $config) {
73
+        $this->handleStreamOperation(function() use ($filesystemName, $path, $resource, $config) {
74 74
             return $this->filesystemProvider
75 75
                 ->getFilesystemByName($filesystemName)
76 76
                 ->updateStream($path, $resource, $config);
@@ -87,7 +87,7 @@  discard block
 block discarded – undo
87 87
      */
88 88
     public function writeStream($filesystemName, $path, $resource, array $config = [])
89 89
     {
90
-        $this->handleStreamOperation(function () use ($filesystemName, $path, $resource, $config) {
90
+        $this->handleStreamOperation(function() use ($filesystemName, $path, $resource, $config) {
91 91
             return $this->filesystemProvider
92 92
                 ->getFilesystemByName($filesystemName)
93 93
                 ->writeStream($path, $resource, $config);
Please login to merge, or discard this patch.
src/Spryker/Client/ProductRelation/ProductRelationClient.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -27,13 +27,13 @@
 block discarded – undo
27 27
      */
28 28
     public function getProductRelationsByIdProductAbstract($idProductAbstract)
29 29
     {
30
-         $localeName = $this->getFactory()
31
-             ->getLocaleClient()
32
-             ->getCurrentLocale();
30
+            $localeName = $this->getFactory()
31
+                ->getLocaleClient()
32
+                ->getCurrentLocale();
33 33
 
34
-         return $this->getFactory()
35
-             ->createProductRelationStorage($localeName)
36
-             ->getAll($idProductAbstract);
34
+            return $this->getFactory()
35
+                ->createProductRelationStorage($localeName)
36
+                ->getAll($idProductAbstract);
37 37
     }
38 38
 
39 39
 }
Please login to merge, or discard this patch.
Spryker/Zed/ProductRelation/Business/Relation/ProductRelationActivator.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
             );
62 62
         }
63 63
 
64
-        $this->handleDatabaseTransaction(function () use ($productRelationEntity) {
64
+        $this->handleDatabaseTransaction(function() use ($productRelationEntity) {
65 65
             $this->executeActivateRelationTransaction($productRelationEntity);
66 66
         });
67 67
     }
@@ -99,7 +99,7 @@  discard block
 block discarded – undo
99 99
             );
100 100
         }
101 101
 
102
-        $this->handleDatabaseTransaction(function () use ($productRelationEntity) {
102
+        $this->handleDatabaseTransaction(function() use ($productRelationEntity) {
103 103
             $this->executeDeactivateRelationTransaction($productRelationEntity);
104 104
         });
105 105
     }
Please login to merge, or discard this patch.
Spryker/Zed/Development/Business/Composer/Updater/BranchAliasUpdater.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -32,9 +32,9 @@
 block discarded – undo
32 32
         $alias = Config::get(DevelopmentConstants::COMPOSER_BRANCH_ALIAS);
33 33
 
34 34
         $composerJson[static::KEY_EXTRA] = [
35
-          static::KEY_BRANCH_ALIAS => [
36
-              static::KEY_MASTER_BRANCH => $alias,
37
-          ],
35
+            static::KEY_BRANCH_ALIAS => [
36
+                static::KEY_MASTER_BRANCH => $alias,
37
+            ],
38 38
         ];
39 39
 
40 40
         return $composerJson;
Please login to merge, or discard this patch.
Business/DependencyTree/DependencyGraph/OutgoingGraphBuilder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -171,7 +171,7 @@
 block discarded – undo
171 171
      */
172 172
     protected function filterBundles(array $dependencies)
173 173
     {
174
-        $callback = function ($bundle) {
174
+        $callback = function($bundle) {
175 175
             return !in_array($bundle, $this->bundlesToFilter);
176 176
         };
177 177
 
Please login to merge, or discard this patch.
src/Spryker/Zed/Development/Business/Stability/StabilityCalculator.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
83 83
      */
84 84
     protected function filter(array $bundlesDependencies)
85 85
     {
86
-        $callback = function (array $bundleDependency) {
86
+        $callback = function(array $bundleDependency) {
87 87
             return ($bundleDependency[DependencyTree::META_FOREIGN_BUNDLE] !== 'external');
88 88
         };
89 89
         $bundlesDependencies = array_filter($bundlesDependencies, $callback);
@@ -136,7 +136,7 @@  discard block
 block discarded – undo
136 136
             $this->buildIndirectIncomingDependencies($bundle, $indirectIncomingDependencies);
137 137
 
138 138
             $indirectIncomingDependencies = $indirectIncomingDependencies->getArrayCopy();
139
-            $callback = function ($bundle) use ($incomingBundles) {
139
+            $callback = function($bundle) use ($incomingBundles) {
140 140
                 return !in_array($bundle, $incomingBundles);
141 141
             };
142 142
             $indirectIncomingDependencies = array_filter($indirectIncomingDependencies, $callback);
Please login to merge, or discard this patch.
src/Spryker/Zed/ProductBundle/Persistence/ProductBundleQueryContainer.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -55,10 +55,10 @@  discard block
 block discarded – undo
55 55
     public function queryBundledProductBySku($sku)
56 56
     {
57 57
         return $this->getFactory()
58
-           ->createProductBundleQuery()
59
-           ->useSpyProductRelatedByFkBundledProductQuery()
60
-              ->filterBySku($sku)
61
-           ->endUse();
58
+            ->createProductBundleQuery()
59
+            ->useSpyProductRelatedByFkBundledProductQuery()
60
+                ->filterBySku($sku)
61
+            ->endUse();
62 62
     }
63 63
 
64 64
     /**
@@ -85,8 +85,8 @@  discard block
 block discarded – undo
85 85
     public function queryBundleByIdProductBundle($idProductBundle)
86 86
     {
87 87
         return $this->getFactory()
88
-           ->createProductBundleQuery()
89
-           ->filterByIdProductBundle($idProductBundle);
88
+            ->createProductBundleQuery()
89
+            ->filterByIdProductBundle($idProductBundle);
90 90
     }
91 91
 
92 92
     /**
Please login to merge, or discard this patch.
ProductBundle/Communication/Plugin/Sales/ProductBundleOrderSaverPlugin.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
      */
30 30
     public function saveOrder(QuoteTransfer $quoteTransfer, CheckoutResponseTransfer $checkoutResponse)
31 31
     {
32
-         $this->getFacade()->saveSalesOrderBundleItems($quoteTransfer, $checkoutResponse);
32
+            $this->getFacade()->saveSalesOrderBundleItems($quoteTransfer, $checkoutResponse);
33 33
     }
34 34
 
35 35
 }
Please login to merge, or discard this patch.
Communication/Plugin/Cart/CartBundleAvailabilityPreCheckPlugin.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
      */
28 28
     public function check(CartChangeTransfer $cartChangeTransfer)
29 29
     {
30
-         return $this->getFacade()->preCheckCartAvailability($cartChangeTransfer);
30
+            return $this->getFacade()->preCheckCartAvailability($cartChangeTransfer);
31 31
     }
32 32
 
33 33
 }
Please login to merge, or discard this patch.