Passed
Push — master ( 7a7db5...8d3f48 )
by Fabian
05:03 queued 11s
created
src/Customer/CustomerBuilder.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
             $builder->customer->setEmail(sha1(uniqid('', true)) . '@example.com');
172 172
         }
173 173
         $addresses = array_map(
174
-            function (AddressBuilder $addressBuilder) {
174
+            function(AddressBuilder $addressBuilder) {
175 175
                 return $addressBuilder->buildWithoutSave();
176 176
             },
177 177
             $builder->addressBuilders
Please login to merge, or discard this patch.
src/Customer/CustomerFixture.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@
 block discarded – undo
51 51
     public function getAllAddressIds(): array
52 52
     {
53 53
         return array_map(
54
-            function (AddressInterface $address) {
54
+            function(AddressInterface $address) {
55 55
                 return $address->getId();
56 56
             },
57 57
             $this->customer->getAddresses()
Please login to merge, or discard this patch.
src/Sales/OrderBuilder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -102,7 +102,7 @@
 block discarded – undo
102 102
 
103 103
         // create products
104 104
         $products = array_map(
105
-            static function (ProductBuilder $productBuilder) {
105
+            static function(ProductBuilder $productBuilder) {
106 106
                 return $productBuilder->build();
107 107
             },
108 108
             $builder->productBuilders
Please login to merge, or discard this patch.
src/Sales/ShipmentBuilder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -115,7 +115,7 @@
 block discarded – undo
115 115
         }
116 116
 
117 117
         $tracks = array_map(
118
-            function (string $trackingNumber) {
118
+            function(string $trackingNumber) {
119 119
                 $carrierCode = strtok($this->order->getShippingMethod(), '_');
120 120
                 $track = $this->trackFactory->create();
121 121
                 $track->setCarrierCode($carrierCode);
Please login to merge, or discard this patch.
src/Sales/OrderFixtureRollback.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -77,7 +77,7 @@
 block discarded – undo
77 77
             $this->customerRepository->deleteById($orderFixture->getCustomerId());
78 78
             array_walk(
79 79
                 $orderItems,
80
-                function (OrderItemInterface $orderItem) {
80
+                function(OrderItemInterface $orderItem) {
81 81
                     $this->productRepository->deleteById($orderItem->getSku());
82 82
                 }
83 83
             );
Please login to merge, or discard this patch.