Test Setup Failed
Push — master ( 568f60...80f464 )
by
unknown
03:06
created
Bundle/CaseBundle/Tests/Unit/EventListener/SearchIndexDataListenerTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
         $htmlTagHelper->expects($this->any())
25 25
             ->method('stripTags')
26 26
             ->willReturnCallback(
27
-                function ($value) {
27
+                function($value) {
28 28
                     return trim(strip_tags($value));
29 29
                 }
30 30
             );
Please login to merge, or discard this patch.
src/Oro/Bundle/ContactBundle/Entity/Manager/ContactApiEntityManager.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -75,7 +75,7 @@
 block discarded – undo
75 75
                 'accounts'     => ['fields' => 'id'],
76 76
                 'picture'      => ['fields' => 'id']
77 77
             ],
78
-            'post_serialize'  => function (array &$result) {
78
+            'post_serialize'  => function(array &$result) {
79 79
                 $this->postSerializeContact($result);
80 80
             }
81 81
         ];
Please login to merge, or discard this patch.
src/Oro/Bundle/ContactBundle/Controller/Api/Rest/ContactController.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -108,14 +108,14 @@
 block discarded – undo
108 108
             'assigneeId'       => $userIdFilter,
109 109
             'assigneeUsername' => $userNameFilter,
110 110
         ];
111
-        $map              = [
111
+        $map = [
112 112
             'ownerId'          => 'owner',
113 113
             'ownerUsername'    => 'owner',
114 114
             'assigneeId'       => 'assignedTo',
115 115
             'assigneeUsername' => 'assignedTo',
116 116
             'phone'            => 'phones.phone'
117 117
         ];
118
-        $joins            = [
118
+        $joins = [
119 119
             'phones'
120 120
         ];
121 121
         $criteria = $this->getFilterCriteria($this->getSupportedQueryParameters('cgetAction'), $filterParameters, $map);
Please login to merge, or discard this patch.
src/Oro/Bundle/ContactBundle/Controller/Api/Rest/ContactPhoneController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -153,7 +153,7 @@
 block discarded – undo
153 153
     protected function getPreparedItem($entity, $resultFields = [])
154 154
     {
155 155
         $result['id']      = $entity->getId();
156
-        $result['owner']   = (string) $entity->getOwner();
156
+        $result['owner']   = (string)$entity->getOwner();
157 157
         $result['phone']   = $entity->getPhone();
158 158
         $result['primary'] = $entity->isPrimary();
159 159
 
Please login to merge, or discard this patch.
Bundle/ContactBundle/Tests/Functional/AbstractContactPaginationTestCase.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
14 14
     /**
15 15
      * @var array
16 16
      */
17
-    protected $gridParams         = [
17
+    protected $gridParams = [
18 18
         'contacts-grid' =>
19 19
             'i=1&p=25&s%5BlastName%5D=-1&s%5BfirstName%5D=-1'
20 20
     ];
Please login to merge, or discard this patch.
Bundle/ContactBundle/Tests/Functional/DataFixtures/LoadContactPhoneData.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
     const FIRST_ENTITY_NAME  = '1111111';
14 14
     const SECOND_ENTITY_NAME = '2222222';
15 15
     const THIRD_ENTITY_NAME  = '3333333';
16
-    const FOURTH_ENTITY_NAME  = '4444444';
16
+    const FOURTH_ENTITY_NAME = '4444444';
17 17
 
18 18
     public function getDependencies()
19 19
     {
Please login to merge, or discard this patch.
Bundle/ContactBundle/Tests/Functional/DataFixtures/LoadContactEmailData.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
     const FIRST_ENTITY_NAME  = '[email protected]';
14 14
     const SECOND_ENTITY_NAME = '[email protected]';
15 15
     const THIRD_ENTITY_NAME  = '[email protected]';
16
-    const FOURTH_ENTITY_NAME  = '[email protected]';
16
+    const FOURTH_ENTITY_NAME = '[email protected]';
17 17
 
18 18
     public function getDependencies()
19 19
     {
Please login to merge, or discard this patch.
ContactBundle/Tests/Unit/EventListener/PrepareResultItemListenerTest.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.
Tests/Unit/Validator/Constraints/HasContactInformationValidatorTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
         $translator
25 25
             ->expects($this->any())
26 26
             ->method('trans')
27
-            ->will($this->returnCallback(function ($id) {
27
+            ->will($this->returnCallback(function($id) {
28 28
                 return $id;
29 29
             }));
30 30
 
Please login to merge, or discard this patch.