Passed
Push — master ( 7e7d16...d2790e )
by mark
56s
created
Setup/src/Spryker/Zed/Setup/Communication/Console/Npm/RunnerConsole.php 2 patches
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@
 block discarded – undo
54 54
 
55 55
 Example:
56 56
  - code:npm --build-all  will build the client resources for the core, the project zed and the project yves code
57
-EOM
57
+eom
58 58
         );
59 59
 
60 60
         $this->addOption(
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -120,7 +120,7 @@
 block discarded – undo
120 120
         $this->info('Run command: ' . $command);
121 121
         $process = new Process($command, APPLICATION_ROOT_DIR);
122 122
         $process->setTimeout(null);
123
-        $process->run(function ($type, $buffer) {
123
+        $process->run(function($type, $buffer) {
124 124
             echo $buffer;
125 125
         });
126 126
 
Please login to merge, or discard this patch.
src/Spryker/Zed/Collector/Business/Collector/AbstractCollector.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -409,7 +409,7 @@
 block discarded – undo
409 409
     }
410 410
 
411 411
     /**
412
-     * @param array $entityCollection
412
+     * @param \Orm\Zed\Touch\Persistence\SpyTouch[] $entityCollection
413 413
      * @param string $touchKeyColumnName
414 414
      * @param \Spryker\Zed\Collector\Business\Exporter\Writer\Storage\TouchUpdaterSet $touchUpdaterSet
415 415
      *
Please login to merge, or discard this patch.
StateMachine/src/Spryker/Zed/StateMachine/Business/StateMachine/Builder.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -561,7 +561,7 @@
 block discarded – undo
561 561
     }
562 562
 
563 563
     /**
564
-     * @param array $eventMap
564
+     * @param EventInterface[] $eventMap
565 565
      * @param string $sourceName
566 566
      * @param string $eventName
567 567
      *
Please login to merge, or discard this patch.
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -132,7 +132,7 @@
 block discarded – undo
132 132
             $processFile = $this->getAttributeString($xmlProcess, self::PROCESS_FILE_ATTRIBUTE);
133 133
 
134 134
             if ($processFile === null) {
135
-                 continue;
135
+                    continue;
136 136
             }
137 137
 
138 138
             $processName = $this->getAttributeString($xmlProcess, 'name');
Please login to merge, or discard this patch.
Bundles/Braintree/src/Spryker/Zed/Braintree/Business/BraintreeFacade.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -26,9 +26,9 @@
 block discarded – undo
26 26
     public function saveOrderPayment(QuoteTransfer $quoteTransfer, CheckoutResponseTransfer $checkoutResponseTransfer)
27 27
     {
28 28
         $this
29
-             ->getFactory()
30
-             ->createOrderSaver()
31
-             ->saveOrderPayment($quoteTransfer, $checkoutResponseTransfer);
29
+                ->getFactory()
30
+                ->createOrderSaver()
31
+                ->saveOrderPayment($quoteTransfer, $checkoutResponseTransfer);
32 32
     }
33 33
 
34 34
     /**
Please login to merge, or discard this patch.
Bundles/Ratepay/src/Spryker/Zed/Ratepay/Business/RatepayFacade.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -33,8 +33,8 @@
 block discarded – undo
33 33
     public function saveOrderPayment(QuoteTransfer $quoteTransfer, CheckoutResponseTransfer $checkoutResponseTransfer)
34 34
     {
35 35
         $this->getFactory()
36
-             ->createOrderSaver($quoteTransfer, $checkoutResponseTransfer)
37
-             ->saveOrderPayment();
36
+                ->createOrderSaver($quoteTransfer, $checkoutResponseTransfer)
37
+                ->saveOrderPayment();
38 38
     }
39 39
 
40 40
     /**
Please login to merge, or discard this patch.
src/Spryker/Zed/Discount/Communication/Controller/VoucherController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -106,7 +106,7 @@
 block discarded – undo
106 106
 
107 107
         $streamedResponse = new StreamedResponse();
108 108
 
109
-        $streamedResponse->setCallback(function () use ($generatedVouchers) {
109
+        $streamedResponse->setCallback(function() use ($generatedVouchers) {
110 110
             $csvHandle = fopen('php://output', 'w+');
111 111
             fputcsv($csvHandle, ['Voucher Code']);
112 112
 
Please login to merge, or discard this patch.
Specification/CollectorSpecification/CollectorAndSpecification.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
         return array_uintersect(
46 46
             $lefCollectedItems,
47 47
             $rightCollectedItems,
48
-            function (DiscountableItemTransfer $collected, DiscountableItemTransfer $toCollect) {
48
+            function(DiscountableItemTransfer $collected, DiscountableItemTransfer $toCollect) {
49 49
                 return strcmp(spl_object_hash($collected->getOriginalItemCalculatedDiscounts()), spl_object_hash($toCollect->getOriginalItemCalculatedDiscounts()));
50 50
             }
51 51
         );
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
@@ -158,10 +158,10 @@
 block discarded – undo
158 158
     protected function addBoolModelTransformer(FormBuilderInterface $builder, $fieldName)
159 159
     {
160 160
         $builder->get($fieldName)->addModelTransformer(new CallbackTransformer(
161
-            function ($originalValue) {
161
+            function($originalValue) {
162 162
                 return $originalValue ? 'yes' : 'no';
163 163
             },
164
-            function ($submittedValue) {
164
+            function($submittedValue) {
165 165
                 return $submittedValue === 'yes' ? true : false;
166 166
             }
167 167
         ));
Please login to merge, or discard this patch.
Ratepay/src/Spryker/Zed/Ratepay/Business/Api/Model/RequestModelFactory.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
     /**
30 30
      * @param string $modelType
31 31
      *
32
-     * @return \Spryker\Zed\Ratepay\Business\Api\Model\RequestInterface
32
+     * @return callable
33 33
      */
34 34
     public function build($modelType)
35 35
     {
Please login to merge, or discard this patch.