Test Setup Failed
Push — master ( dc0943...e083ea )
by
unknown
04:03
created
src/Oro/Bundle/FormBundle/Tests/Behat/Context/FeatureContext.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
         $this->waitForAjax();
28 28
 
29 29
         /** @var NodeElement $priceList */
30
-        $priceList = $this->spin(function (FeatureContext $context) use ($value) {
30
+        $priceList = $this->spin(function(FeatureContext $context) use ($value) {
31 31
             $priceList = $context->getPage()->find('named', ['content', $value]);
32 32
 
33 33
             if ($priceList && $priceList->isVisible()) {
Please login to merge, or discard this patch.
src/Oro/Bundle/FormBundle/Tests/Behat/Context/FormContext.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -531,7 +531,7 @@
 block discarded – undo
531 531
         /** @var NodeElement[] $options */
532 532
         $options = $element->findAll('css', 'option');
533 533
 
534
-        return array_map(function (NodeElement $option) {
534
+        return array_map(function(NodeElement $option) {
535 535
             return $option->getText();
536 536
         }, $options);
537 537
     }
Please login to merge, or discard this patch.
Bundle/AttachmentBundle/Tests/Unit/Formatter/ImageEncodedFormatterTest.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
             ->getMockBuilder('Symfony\Component\HttpKernel\Config\FileLocator')
28 28
             ->disableOriginalConstructor()
29 29
             ->getMock();
30
-        $this->formatter   = new ImageEncodedFormatter($this->fileManager, $this->fileLocator);
30
+        $this->formatter = new ImageEncodedFormatter($this->fileManager, $this->fileLocator);
31 31
     }
32 32
 
33 33
     public function testGetFormatterName()
Please login to merge, or discard this patch.
Oro/Bundle/SecurityBundle/Owner/AbstractEntityOwnershipDecisionMaker.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -252,8 +252,7 @@
 block discarded – undo
252 252
         }
253 253
 
254 254
         $ownerId = $domainObject instanceof DomainObjectReference ?
255
-            $domainObject->getOwnerId() :
256
-            $this->getObjectIdIgnoreNull($this->getOwner($domainObject));
255
+            $domainObject->getOwnerId() : $this->getObjectIdIgnoreNull($this->getOwner($domainObject));
257 256
         if ($metadata->isBusinessUnitOwned()) {
258 257
             return $this->isUserBusinessUnit($this->getObjectId($user), $ownerId, $deep, $organizationId);
259 258
         } elseif ($metadata->isUserOwned()) {
Please login to merge, or discard this patch.
src/Oro/Bundle/SecurityBundle/Authentication/TokenSerializer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@
 block discarded – undo
76 76
         return implode(
77 77
             ',',
78 78
             array_map(
79
-                function (RoleInterface $role) {
79
+                function(RoleInterface $role) {
80 80
                     return $role->getRole();
81 81
                 },
82 82
                 $token->getRoles()
Please login to merge, or discard this patch.
src/Oro/Bundle/SecurityBundle/Acl/Cache/AclCache.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -100,7 +100,7 @@  discard block
 block discarded – undo
100 100
         // get access to field aces in order to clone their identity
101 101
         // to prevent serialize/unserialize bug with few field aces per one sid
102 102
 
103
-        $privatePropReader = function (Acl $acl, $field) {
103
+        $privatePropReader = function(Acl $acl, $field) {
104 104
             return $acl->$field;
105 105
         };
106 106
         $privatePropReader = \Closure::bind($privatePropReader, null, $acl);
@@ -108,7 +108,7 @@  discard block
 block discarded – undo
108 108
         $aces = $privatePropReader($acl, 'classFieldAces');
109 109
         $aces = array_merge($aces, $privatePropReader($acl, 'objectFieldAces'));
110 110
 
111
-        $privatePropWriter = function (FieldEntry $entry, $field, $value) {
111
+        $privatePropWriter = function(FieldEntry $entry, $field, $value) {
112 112
             $entry->$field = $value;
113 113
         };
114 114
 
Please login to merge, or discard this patch.
NotificationBundle/Tests/Unit/Manager/EmailNotificationSenderTest.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
             ->method('get')
37 37
             ->willReturnMap([
38 38
                 ['oro_notification.email_notification_sender_email', false, false, null, $testSenderEmail],
39
-                ['oro_notification.email_notification_sender_name', false, false, null, $testSenderName ]
39
+                ['oro_notification.email_notification_sender_name', false, false, null, $testSenderName]
40 40
             ])
41 41
         ;
42 42
 
@@ -134,7 +134,7 @@  discard block
 block discarded – undo
134 134
             ->method('get')
135 135
             ->willReturnMap([
136 136
                 ['oro_notification.email_notification_sender_email', false, false, null, $testSenderEmail],
137
-                ['oro_notification.email_notification_sender_name', false, false, null, $testSenderName ]
137
+                ['oro_notification.email_notification_sender_name', false, false, null, $testSenderName]
138 138
             ])
139 139
         ;
140 140
 
@@ -189,7 +189,7 @@  discard block
 block discarded – undo
189 189
             ->method('get')
190 190
             ->willReturnMap([
191 191
                 ['oro_notification.email_notification_sender_email', false, false, null, $testSenderEmail],
192
-                ['oro_notification.email_notification_sender_name', false, false, null, $testSenderName ]
192
+                ['oro_notification.email_notification_sender_name', false, false, null, $testSenderName]
193 193
             ])
194 194
         ;
195 195
 
Please login to merge, or discard this patch.
Tests/Unit/Form/EventListener/AdditionalEmailsSubscriberTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -105,7 +105,7 @@  discard block
 block discarded – undo
105 105
                 'additionalEmailAssociations',
106 106
                 $this->anything(),
107 107
                 $this->callback(
108
-                    function ($options) {
108
+                    function($options) {
109 109
                         $expectedChoices = [
110 110
                             'groups.owner' => 'Groups > Owner',
111 111
                             'users' => 'Users',
@@ -192,7 +192,7 @@  discard block
 block discarded – undo
192 192
                 'additionalEmailAssociations',
193 193
                 $this->anything(),
194 194
                 $this->callback(
195
-                    function ($options) {
195
+                    function($options) {
196 196
                         $expectedChoices = [
197 197
                             'groups.owner' => 'Groups > Owner',
198 198
                             'users' => 'Users',
Please login to merge, or discard this patch.
src/Oro/Bundle/NotificationBundle/Entity/RecipientList.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -208,7 +208,7 @@  discard block
 block discarded – undo
208 208
     {
209 209
         // get user emails
210 210
         $results = $this->getUsers()->map(
211
-            function (User $user) {
211
+            function(User $user) {
212 212
                 return sprintf(
213 213
                     '%s %s <%s>',
214 214
                     $user->getFirstName(),
@@ -221,7 +221,7 @@  discard block
 block discarded – undo
221 221
         $results = array_merge(
222 222
             $results,
223 223
             $this->getGroups()->map(
224
-                function (Group $group) use (&$results) {
224
+                function(Group $group) use (&$results) {
225 225
                     return sprintf(
226 226
                         '%s (group)',
227 227
                         $group->getName()
Please login to merge, or discard this patch.