Passed
Pull Request — master (#5)
by Dominique
38:29
created
Bundles/Sales/src/Spryker/Zed/Sales/Persistence/SalesQueryContainer.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -193,12 +193,12 @@
 block discarded – undo
193 193
     public function querySalesOrderDetails($idSalesOrder)
194 194
     {
195 195
         $query = $this->getFactory()->createSalesOrderQuery()
196
-         ->setModelAlias('order')
197
-         ->filterByIdSalesOrder($idSalesOrder)
198
-         ->innerJoinWith('order.BillingAddress billingAddress')
199
-         ->innerJoinWith('billingAddress.Country billingCountry')
200
-         ->innerJoinWith('order.ShippingAddress shippingAddress')
201
-         ->innerJoinWith('shippingAddress.Country shippingCountry');
196
+            ->setModelAlias('order')
197
+            ->filterByIdSalesOrder($idSalesOrder)
198
+            ->innerJoinWith('order.BillingAddress billingAddress')
199
+            ->innerJoinWith('billingAddress.Country billingCountry')
200
+            ->innerJoinWith('order.ShippingAddress shippingAddress')
201
+            ->innerJoinWith('shippingAddress.Country shippingCountry');
202 202
 
203 203
         return $query;
204 204
     }
Please login to merge, or discard this patch.
src/Spryker/Client/Search/ServiceProvider/SearchClientServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
     public function register(Application $app)
26 26
     {
27 27
         $containerGlobals = new ContainerGlobals();
28
-        $containerGlobals[static::CLIENT_SEARCH] = function () {
28
+        $containerGlobals[static::CLIENT_SEARCH] = function() {
29 29
             $container = new Container();
30 30
 
31 31
             return $container->getLocator()->search()->client();
Please login to merge, or discard this patch.
src/Spryker/Zed/DiscountPromotion/Business/DiscountPromotionFacade.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -79,9 +79,9 @@
 block discarded – undo
79 79
      */
80 80
     public function findDiscountPromotionByIdDiscountPromotion($idDiscountPromotion)
81 81
     {
82
-         return $this->getFactory()
83
-             ->createDiscountPromotionReader()
84
-             ->findDiscountPromotionByIdDiscountPromotion($idDiscountPromotion);
82
+            return $this->getFactory()
83
+                ->createDiscountPromotionReader()
84
+                ->findDiscountPromotionByIdDiscountPromotion($idDiscountPromotion);
85 85
     }
86 86
 
87 87
     /**
Please login to merge, or discard this patch.
Communication/Plugin/TaxSetProductAbstractReadPlugin.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -24,8 +24,8 @@
 block discarded – undo
24 24
      */
25 25
     public function read(ProductAbstractTransfer $productAbstractTransfer)
26 26
     {
27
-         return $this->getFacade()
28
-             ->mapTaxSet($productAbstractTransfer);
27
+            return $this->getFacade()
28
+                ->mapTaxSet($productAbstractTransfer);
29 29
     }
30 30
 
31 31
 }
Please login to merge, or discard this patch.
src/Spryker/Zed/ProductSearch/Communication/Form/SearchPreferencesForm.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -173,10 +173,10 @@
 block discarded – undo
173 173
     protected function addBoolModelTransformer(FormBuilderInterface $builder, $fieldName)
174 174
     {
175 175
         $builder->get($fieldName)->addModelTransformer(new CallbackTransformer(
176
-            function ($originalValue) {
176
+            function($originalValue) {
177 177
                 return $originalValue ? 'yes' : 'no';
178 178
             },
179
-            function ($submittedValue) {
179
+            function($submittedValue) {
180 180
                 return $submittedValue === 'yes' ? true : false;
181 181
             }
182 182
         ));
Please login to merge, or discard this patch.
Spryker/Yves/Messenger/Plugin/Provider/FlashMessengerServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
      */
23 23
     public function register(Application $app)
24 24
     {
25
-        $app['flash_messenger'] = function ($app) {
25
+        $app['flash_messenger'] = function($app) {
26 26
             return $this->createFlashMessenger($app);
27 27
         };
28 28
     }
Please login to merge, or discard this patch.
Messenger/Communication/Plugin/ServiceProvider/MessengerServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
      */
25 25
     public function register(Application $app)
26 26
     {
27
-        $app['messenger'] = function () {
27
+        $app['messenger'] = function() {
28 28
             return $this->getFacade();
29 29
         };
30 30
     }
Please login to merge, or discard this patch.
ErrorHandler/Plugin/ServiceProvider/WhoopsErrorHandlerServiceProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
         $userPath = Config::get(ErrorHandlerConstants::USER_BASE_PATH, '');
51 51
         $handler = new PrettyPageHandler();
52 52
         if ($userPath) {
53
-            $handler->setEditor(function ($file, $line) use ($userPath) {
53
+            $handler->setEditor(function($file, $line) use ($userPath) {
54 54
                 $serverPath = Config::get(ErrorHandlerConstants::SERVER_BASE_PATH, '/data/shop/development/current');
55 55
                 $file = str_replace($serverPath, $userPath, $file);
56 56
 
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
      */
77 77
     protected function getErrorLoggerCallbackHandler()
78 78
     {
79
-        return new CallbackHandler(function ($exception) {
79
+        return new CallbackHandler(function($exception) {
80 80
             ErrorLogger::getInstance()->log($exception);
81 81
         });
82 82
     }
Please login to merge, or discard this patch.
DataImport/Business/Model/DataReader/CsvReader/CsvReaderConfiguration.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
     public function setDataImporterReaderConfigurationTransfer(DataImporterReaderConfigurationTransfer $dataImporterReaderConfigurationTransfer)
41 41
     {
42 42
         $modified = $dataImporterReaderConfigurationTransfer->modifiedToArray();
43
-        $modified = array_filter($modified, function ($value) {
43
+        $modified = array_filter($modified, function($value) {
44 44
             return ($value !== null);
45 45
         });
46 46
         $this->dataImporterReaderConfigurationTransfer->fromArray($modified);
Please login to merge, or discard this patch.