Test Setup Failed
Push — master ( 568f60...80f464 )
by
unknown
03:06
created
Oro/Bundle/ContactBundle/Tests/Unit/Formatter/ContactNameFormatterTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
 
28 28
         $this->nameFormatter->expects($this->any())
29 29
             ->method('format')
30
-            ->will($this->returnCallback(function (Contact $contact) {
30
+            ->will($this->returnCallback(function(Contact $contact) {
31 31
                 return trim(implode(' ', [$contact->getFirstName(), $contact->getLastName()]));
32 32
             }));
33 33
     }
Please login to merge, or discard this patch.
Oro/Bundle/DemoDataBundle/Migrations/Data/Demo/ORM/AbstractDemoFixture.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -164,7 +164,7 @@
 block discarded – undo
164 164
             ->getArrayResult();
165 165
 
166 166
         return array_map(
167
-            function ($item) {
167
+            function($item) {
168 168
                 return $item['id'];
169 169
             },
170 170
             $items
Please login to merge, or discard this patch.
Bundle/MagentoBundle/Migrations/Schema/v1_49/CreatedCreditMemoTables.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
     /** @var ActivityListExtension */
27 27
     protected $activityListExtension;
28 28
 
29
-     /** @var ExtendExtension */
29
+        /** @var ExtendExtension */
30 30
     protected $extendExtension;
31 31
 
32 32
     /**
Please login to merge, or discard this patch.
Oro/Bundle/MagentoBundle/Tests/Unit/Form/Type/CustomerAddressTypeTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
                 $this->isType('string'),
47 47
                 $this->isType('string'),
48 48
                 $this->callback(
49
-                    function ($item) {
49
+                    function($item) {
50 50
                         $this->assertInternalType('array', $item);
51 51
                         $this->assertArrayHasKey('label', $item);
52 52
 
Please login to merge, or discard this patch.
src/Oro/Bundle/MagentoBundle/Tests/Selenium/ManageIntegrationTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
         $httpCode = curl_getinfo($ch, CURLINFO_HTTP_CODE);
27 27
         curl_close($ch);
28 28
 
29
-        if (!($httpCode>=200 && $httpCode<300)) {
29
+        if (!($httpCode >= 200 && $httpCode < 300)) {
30 30
             $this->markTestSkipped('Magento instance is not available');
31 31
         }
32 32
 
Please login to merge, or discard this patch.
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/SalesBundle/Controller/Api/Rest/SalesFunnelController.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -46,8 +46,8 @@
 block discarded – undo
46 46
      */
47 47
     public function cgetAction()
48 48
     {
49
-        $page = (int) $this->getRequest()->get('page', 1);
50
-        $limit = (int) $this->getRequest()->get('limit', self::ITEMS_PER_PAGE);
49
+        $page = (int)$this->getRequest()->get('page', 1);
50
+        $limit = (int)$this->getRequest()->get('limit', self::ITEMS_PER_PAGE);
51 51
 
52 52
         return $this->handleGetListRequest($page, $limit);
53 53
     }
Please login to merge, or discard this patch.