Test Setup Failed
Push — master ( c44b4b...5b27e5 )
by
unknown
04:09
created
Entity/VisibilityResolved/Repository/CustomerGroupCategoryRepository.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -163,7 +163,7 @@  discard block
 block discarded – undo
163 163
         $qb = $this->getEntityManager()->createQueryBuilder();
164 164
 
165 165
         $configFallback = CustomerGroupCategoryVisibilityResolved::VISIBILITY_FALLBACK_TO_CONFIG;
166
-        $qb->select('COALESCE(agcvr.visibility, cvr.visibility, '. $qb->expr()->literal($configFallback).')')
166
+        $qb->select('COALESCE(agcvr.visibility, cvr.visibility, ' . $qb->expr()->literal($configFallback) . ')')
167 167
             ->from('OroCatalogBundle:Category', 'category')
168 168
             ->leftJoin(
169 169
                 'OroVisibilityBundle:VisibilityResolved\CategoryVisibilityResolved',
@@ -206,7 +206,7 @@  discard block
 block discarded – undo
206 206
 
207 207
         $qb->select(
208 208
             'IDENTITY(scope.customerGroup) as customerGroupId',
209
-            'COALESCE(agcvr.visibility, cvr.visibility, '. $qb->expr()->literal($configFallback).') as visibility',
209
+            'COALESCE(agcvr.visibility, cvr.visibility, ' . $qb->expr()->literal($configFallback) . ') as visibility',
210 210
             'agcvr.visibility as a',
211 211
             'cvr.visibility as b'
212 212
         )
Please login to merge, or discard this patch.
Unit/EventListener/WebsiteSearchProductVisibilityIndexerListenerTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@
 block discarded – undo
47 47
     public function testOnWebsiteSearchIndex()
48 48
     {
49 49
         $websiteId = 1;
50
-        $context =  [AbstractIndexer::CONTEXT_CURRENT_WEBSITE_ID_KEY => $websiteId];
50
+        $context = [AbstractIndexer::CONTEXT_CURRENT_WEBSITE_ID_KEY => $websiteId];
51 51
         $event = new IndexEntityEvent(\stdClass::class, [], $context);
52 52
 
53 53
         $this->websiteContextManager
Please login to merge, or discard this patch.
UPSBundle/TimeInTransit/Result/Factory/TimeInTransitResultFactory.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -47,14 +47,14 @@
 block discarded – undo
47 47
         // Parsing transit response data is important, so we should fire an exception if some elements are not found.
48 48
         try {
49 49
             // Define a shortcut to make lines shorter.
50
-            $timeInTransitResponse =& $data['TimeInTransitResponse'];
50
+            $timeInTransitResponse = & $data['TimeInTransitResponse'];
51 51
 
52 52
             // A "1" normally indicates a successful response, whereas a "0" indicates a Transient or Hard error.
53
-            $responseStatusCode = (string) $timeInTransitResponse['Response']['ResponseStatus']['Code'];
53
+            $responseStatusCode = (string)$timeInTransitResponse['Response']['ResponseStatus']['Code'];
54 54
             $responseStatusDescription = $timeInTransitResponse['Response']['ResponseStatus']['Description'];
55 55
 
56 56
             foreach ($timeInTransitResponse['TransitResponse']['ServiceSummary'] as $serviceTimeInTransit) {
57
-                $estimatedArrival =& $serviceTimeInTransit['EstimatedArrival'];
57
+                $estimatedArrival = & $serviceTimeInTransit['EstimatedArrival'];
58 58
 
59 59
                 $arrivalDate = $this
60 60
                     ->parseArrivalDateTime($estimatedArrival['Arrival']['Date'], $estimatedArrival['Arrival']['Time']);
Please login to merge, or discard this patch.
src/Oro/Bundle/UPSBundle/Cache/ShippingPriceCache.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -135,6 +135,6 @@
 block discarded – undo
135 135
      */
136 136
     protected function setNamespace($id)
137 137
     {
138
-        $this->cache->setNamespace(self::NAME_SPACE.'_'.$id);
138
+        $this->cache->setNamespace(self::NAME_SPACE . '_' . $id);
139 139
     }
140 140
 }
Please login to merge, or discard this patch.
src/Oro/Bundle/UPSBundle/Tests/Unit/Factory/PriceRequestFactoryTest.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->measureUnitConversion = $this->getMockBuilder(MeasureUnitConversion::class)
78 78
             ->disableOriginalConstructor()->getMock();
79 79
         $this->measureUnitConversion->expects(static::any())->method('convert')->willReturnCallback(
80
-            function () {
80
+            function() {
81 81
                 $args = func_get_args();
82 82
 
83 83
                 return $args[0];
Please login to merge, or discard this patch.
src/Oro/Bundle/UPSBundle/Tests/Unit/Cache/ShippingPriceCacheTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@
 block discarded – undo
59 59
 
60 60
         $this->cacheProvider->expects(static::once())
61 61
             ->method('setNamespace')
62
-            ->with('oro_ups_shipping_price_'.self::SETTINGS_ID);
62
+            ->with('oro_ups_shipping_price_' . self::SETTINGS_ID);
63 63
 
64 64
         $this->cacheKey = $this->getCacheKeyMock($this->settings, self::CACHE_KEY);
65 65
 
Please login to merge, or discard this patch.
src/Oro/Bundle/SEOBundle/Limiter/WebCatalogProductLimiter.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -151,7 +151,7 @@  discard block
 block discarded – undo
151 151
         $em = $this->doctrineHelper->getEntityManager(Product::class);
152 152
         $qb = $em->createQueryBuilder();
153 153
 
154
-        $qb->select('IDENTITY(productContentVariant.product_page_product), '. (int)$version)
154
+        $qb->select('IDENTITY(productContentVariant.product_page_product), ' . (int)$version)
155 155
             ->from(ContentVariant::class, 'productContentVariant')
156 156
             ->innerJoin(
157 157
                 ContentNode::class,
@@ -231,7 +231,7 @@  discard block
 block discarded – undo
231 231
         $em = $this->doctrineHelper->getEntityManager(Product::class);
232 232
         $qb = $em->createQueryBuilder();
233 233
 
234
-        $qb->select('segmentSnapshot.integerEntityId, '. (int)$version)
234
+        $qb->select('segmentSnapshot.integerEntityId, ' . (int)$version)
235 235
             ->from(ContentVariant::class, 'productCollectionContentVariant')
236 236
             ->innerJoin(
237 237
                 SegmentSnapshot::class,
Please login to merge, or discard this patch.
src/Oro/Bundle/RFPBundle/Tests/Unit/Form/Type/RequestTypeTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -104,7 +104,7 @@  discard block
 block discarded – undo
104 104
                                 [
105 105
                                     'quantity' => 10,
106 106
                                     'productUnit' => 'kg',
107
-                                    'price' => ['value' => 20, 'currency' => 'USD',],
107
+                                    'price' => ['value' => 20, 'currency' => 'USD', ],
108 108
                                 ],
109 109
                             ],
110 110
                         ],
@@ -435,7 +435,7 @@  discard block
 block discarded – undo
435 435
         $currencySelectionType      = new CurrencySelectionTypeStub();
436 436
         $requestProductItemType     = $this->prepareRequestProductItemType();
437 437
         $productUnitSelectionType   = $this->prepareProductUnitSelectionType();
438
-        $customerMultiSelectType     = $this->prepareCustomerUserMultiSelectType();
438
+        $customerMultiSelectType = $this->prepareCustomerUserMultiSelectType();
439 439
 
440 440
         $customerSelectType = new StubEntityType(
441 441
             [
Please login to merge, or discard this patch.
src/Oro/Bundle/RFPBundle/Tests/Functional/DataFixtures/LoadRequestData.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -224,7 +224,7 @@
 block discarded – undo
224 224
      */
225 225
     public static function getRequestsFor($requestFieldName, $requestFieldValue)
226 226
     {
227
-        return array_filter(self::$requests, function ($request) use ($requestFieldName, $requestFieldValue) {
227
+        return array_filter(self::$requests, function($request) use ($requestFieldName, $requestFieldValue) {
228 228
             return array_key_exists($requestFieldName, $request) && $request[$requestFieldName] == $requestFieldValue;
229 229
         });
230 230
     }
Please login to merge, or discard this patch.