Passed
Push — master ( 240c83...03f39b )
by Mathias
06:41
created
Applications/src/Repository/Event/UpdateFilesPermissionsSubscriber.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -57,9 +57,9 @@
 block discarded – undo
57 57
                 foreach ($document->getAttachments() as $attachment) {
58 58
                     /* @var \Applications\Entity\Attachment $attachment */
59 59
                     $attachment->getMetadata()
60
-                               ->getPermissions()
61
-                               ->clear()
62
-                               ->inherit($permissions);
60
+                                ->getPermissions()
61
+                                ->clear()
62
+                                ->inherit($permissions);
63 63
                     if ($isUpdate) {
64 64
                         $uow->computeChangeSet(
65 65
                             $dm->getClassMetadata(get_class($attachment)),
Please login to merge, or discard this patch.
Factory/EventManager/EventManagerAbstractFactory/CreateEventManagerTest.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -41,8 +41,8 @@  discard block
 block discarded – undo
41 41
     protected function setUp(): void
42 42
     {
43 43
         $this->target = $this->getMockBuilder('\Core\Factory\EventManager\EventManagerAbstractFactory')
44
-                             ->setMethods([ 'attachListeners', 'getConfig' ])
45
-                             ->getMock();
44
+                                ->setMethods([ 'attachListeners', 'getConfig' ])
45
+                                ->getMock();
46 46
     }
47 47
 
48 48
     protected function setTargetConfig($config)
@@ -69,9 +69,9 @@  discard block
 block discarded – undo
69 69
     protected function getServiceManagerMock($events, $args = [])
70 70
     {
71 71
         $services = $this->getMockBuilder('\Laminas\ServiceManager\ServiceManager')
72
-                         ->setMethods(['has', 'get', 'build'])
73
-                         ->disableOriginalConstructor()
74
-                         ->getMock();
72
+                            ->setMethods(['has', 'get', 'build'])
73
+                            ->disableOriginalConstructor()
74
+                            ->getMock();
75 75
 
76 76
 
77 77
         if (is_Array($events)) {
@@ -203,9 +203,9 @@  discard block
 block discarded – undo
203 203
     {
204 204
         $event = new \Laminas\EventManager\Event();
205 205
         $events = $this->getMockBuilder('\Laminas\EventManager\EventManager')
206
-                       ->disableOriginalConstructor()
207
-                       ->setMethods(['setIdentifiers', 'setEventPrototype'])
208
-                       ->getMock()
206
+                        ->disableOriginalConstructor()
207
+                        ->setMethods(['setIdentifiers', 'setEventPrototype'])
208
+                        ->getMock()
209 209
         ;
210 210
         $events
211 211
             ->expects($this->once())
Please login to merge, or discard this patch.