Test Setup Failed
Push — master ( 80f464...13bd30 )
by
unknown
03:16
created
Oro/Bundle/MagentoBundle/Command/AddContactsToMagentoCustomersCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@
 block discarded – undo
52 52
      */
53 53
     public function execute(InputInterface $input, OutputInterface $output)
54 54
     {
55
-        $logger    = new OutputLogger($output);
55
+        $logger = new OutputLogger($output);
56 56
         $logger->info('Executing command started.');
57 57
 
58 58
         $integrationIds = $input->getOption('integration-id');
Please login to merge, or discard this patch.
src/Oro/Bundle/SalesBundle/Entity/Lead.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -518,7 +518,7 @@
 block discarded – undo
518 518
      */
519 519
     public function __toString()
520 520
     {
521
-        return (string) $this->getName();
521
+        return (string)$this->getName();
522 522
     }
523 523
 
524 524
     /**
Please login to merge, or discard this patch.
src/Oro/Bundle/SalesBundle/Controller/Api/Rest/LeadPhoneController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@
 block discarded – undo
60 60
 
61 61
             return new JsonResponse(["id" => ""]);
62 62
         } catch (\Exception $e) {
63
-            return new JsonResponse(["code" => $e->getCode(), "message"=>$e->getMessage() ], $e->getCode());
63
+            return new JsonResponse(["code" => $e->getCode(), "message"=>$e->getMessage()], $e->getCode());
64 64
         }
65 65
     }
66 66
 
Please login to merge, or discard this patch.
src/Oro/Bundle/MagentoBundle/Tests/Functional/Api/CreditMemoApiTest.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@  discard block
 block discarded – undo
23 23
     {
24 24
         $entityType = $this->getEntityType(CreditMemo::class);
25 25
         $response = $this->cget(['entity' => $entityType]);
26
-        $this->assertResponseContains(__DIR__.'/responses/get_credit_memos.yml', $response);
26
+        $this->assertResponseContains(__DIR__ . '/responses/get_credit_memos.yml', $response);
27 27
     }
28 28
 
29 29
     public function testGetCreditMemo()
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
             'entity' => $this->getEntityType(CreditMemo::class),
33 33
             'id' => '<toString(@creditMemo->id)>',
34 34
         ]);
35
-        $this->assertResponseContains(__DIR__.'/responses/get_credit_memo.yml', $response);
35
+        $this->assertResponseContains(__DIR__ . '/responses/get_credit_memo.yml', $response);
36 36
     }
37 37
 
38 38
     public function testUpdateCreditMemo()
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
             [
47 47
                 'data' => [
48 48
                     'type' => $entityType,
49
-                    'id' => (string) $creditMemo->getId(),
49
+                    'id' => (string)$creditMemo->getId(),
50 50
                     'attributes' => [
51 51
                         'transactionId' => '100000XT'
52 52
                     ]
@@ -64,12 +64,12 @@  discard block
 block discarded – undo
64 64
 
65 65
         $response = $this->post(
66 66
             ['entity' => $entityType],
67
-            __DIR__.'/requests/create_credit_memo.yml'
67
+            __DIR__ . '/requests/create_credit_memo.yml'
68 68
         );
69 69
 
70 70
         /** @var CreditMemo $creditMemo */
71 71
         $creditMemo = $this->getCreditMemoRepository()->findOneByOriginId('2');
72
-        $this->assertResponseContains(__DIR__.'/responses/create_credit_memo.yml', $response, $creditMemo);
72
+        $this->assertResponseContains(__DIR__ . '/responses/create_credit_memo.yml', $response, $creditMemo);
73 73
         $this->assertSame($this->getReference('organization')->getId(), $creditMemo->getOrganization()->getId());
74 74
         $this->assertSame($this->getReference('user')->getId(), $creditMemo->getOwner()->getId());
75 75
         $this->assertSame($this->getReference('guestOrder')->getId(), $creditMemo->getOrder()->getId());
Please login to merge, or discard this patch.
src/Oro/Bundle/SalesBundle/Controller/Api/Rest/SalesFunnelController.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -47,8 +47,8 @@
 block discarded – undo
47 47
      */
48 48
     public function cgetAction(Request $request)
49 49
     {
50
-        $page = (int) $request->get('page', 1);
51
-        $limit = (int) $request->get('limit', self::ITEMS_PER_PAGE);
50
+        $page = (int)$request->get('page', 1);
51
+        $limit = (int)$request->get('limit', self::ITEMS_PER_PAGE);
52 52
 
53 53
         return $this->handleGetListRequest($page, $limit);
54 54
     }
Please login to merge, or discard this patch.
src/Oro/Bundle/SalesBundle/Controller/Api/Rest/OpportunityController.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -54,8 +54,8 @@
 block discarded – undo
54 54
      */
55 55
     public function cgetAction(Request $request)
56 56
     {
57
-        $page  = (int) $request->get('page', 1);
58
-        $limit = (int) $request->get('limit', self::ITEMS_PER_PAGE);
57
+        $page  = (int)$request->get('page', 1);
58
+        $limit = (int)$request->get('limit', self::ITEMS_PER_PAGE);
59 59
 
60 60
         $contactIdFilter  = new IdentifierToReferenceFilter($this->getDoctrine(), 'OroContactBundle:Contact');
61 61
         $filterParameters = [
Please login to merge, or discard this patch.
src/Oro/Bundle/SalesBundle/Controller/Api/Rest/B2bCustomerController.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -45,8 +45,8 @@
 block discarded – undo
45 45
      */
46 46
     public function cgetAction(Request $request)
47 47
     {
48
-        $page = (int) $request->get('page', 1);
49
-        $limit = (int) $request->get('limit', self::ITEMS_PER_PAGE);
48
+        $page = (int)$request->get('page', 1);
49
+        $limit = (int)$request->get('limit', self::ITEMS_PER_PAGE);
50 50
 
51 51
         return $this->handleGetListRequest($page, $limit);
52 52
     }
Please login to merge, or discard this patch.
src/Oro/Bundle/SalesBundle/Entity/Repository/OpportunityRepository.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -67,7 +67,7 @@
 block discarded – undo
67 67
             $qb->setParameter(':organization', $organization);
68 68
         }
69 69
 
70
-        return (bool) $qb->getQuery()->getSingleScalarResult();
70
+        return (bool)$qb->getQuery()->getSingleScalarResult();
71 71
     }
72 72
 
73 73
     /**
Please login to merge, or discard this patch.