Passed
Push — master ( c58a40...6d37ad )
by Mathias
10:02 queued 04:27
created
module/Auth/test/AuthTest/Service/ForgotPasswordTest.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -71,12 +71,12 @@  discard block
 block discarded – undo
71 71
             ->getMock();
72 72
 
73 73
         $this->loginFilterMock = $this->getMockBuilder('Auth\Filter\LoginFilter')
74
-                                         ->disableOriginalConstructor()
75
-                                         ->getMock();
74
+                                            ->disableOriginalConstructor()
75
+                                            ->getMock();
76 76
 
77 77
         $this->optionsMock = $this->getMockBuilder('Auth\Options\ModuleOptions')
78
-                                         ->disableOriginalConstructor()
79
-                                         ->getMock();
78
+                                            ->disableOriginalConstructor()
79
+                                            ->getMock();
80 80
 
81 81
         $this->testedObject = new ForgotPassword($this->userRepositoryMock, $this->tokenGeneratorMock, $this->loginFilterMock, $this->optionsMock);
82 82
 
@@ -149,8 +149,8 @@  discard block
 block discarded – undo
149 149
     }
150 150
 
151 151
     /**
152
-    * @todo fix or delete
153
-    */
152
+     * @todo fix or delete
153
+     */
154 154
     /*
155 155
     public function testProceed()
156 156
     {
Please login to merge, or discard this patch.
module/Core/test/CoreTest/Controller/AdminControllerTest.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -43,10 +43,10 @@
 block discarded – undo
43 43
 
44 44
     protected function setUp(): void
45 45
     {
46
-	    $events = $this->getMockBuilder(EventManager::class)
47
-	                   ->setMethods(['getEvent', 'triggerEvent'])
48
-	                   ->getMock();
49
-	    $this->target = new AdminController($events);
46
+        $events = $this->getMockBuilder(EventManager::class)
47
+                        ->setMethods(['getEvent', 'triggerEvent'])
48
+                        ->getMock();
49
+        $this->target = new AdminController($events);
50 50
     }
51 51
 
52 52
     public function testIndexAction()
Please login to merge, or discard this patch.
module/Core/test/CoreTest/Form/DefaultButtonsFieldsetTest.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -35,8 +35,8 @@
 block discarded – undo
35 35
     }
36 36
 
37 37
     /**
38
-    * @todo
39
-    */
38
+     * @todo
39
+     */
40 40
     /*
41 41
     public function testInit()
42 42
     {
Please login to merge, or discard this patch.
module/Core/test/CoreTest/Form/BaseFormTest.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -26,9 +26,9 @@  discard block
 block discarded – undo
26 26
     protected function setUp(): void
27 27
     {
28 28
         $this->target = $this->getMockBuilder('Core\Form\BaseForm')
29
-                             ->disableOriginalConstructor()
30
-                             ->setMethods(array('AddButtonsFieldset', 'AddBaseFieldset', 'add'))
31
-                             ->getMock();
29
+                                ->disableOriginalConstructor()
30
+                                ->setMethods(array('AddButtonsFieldset', 'AddBaseFieldset', 'add'))
31
+                                ->getMock();
32 32
     }
33 33
 
34 34
     public function testConstructor()
@@ -50,8 +50,8 @@  discard block
 block discarded – undo
50 50
     }
51 51
     
52 52
     /**
53
-    * @todo
54
-    */
53
+     * @todo
54
+     */
55 55
     /*
56 56
     public function testAddBaseFieldsetWithoutBaseFieldsetSet()
57 57
     {
Please login to merge, or discard this patch.
module/Core/test/CoreTest/Form/FormTest.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -41,8 +41,8 @@  discard block
 block discarded – undo
41 41
     }
42 42
 
43 43
     /**
44
-    * @todo
45
-    */
44
+     * @todo
45
+     */
46 46
     /*
47 47
     public function testAdd()
48 48
     {
@@ -107,8 +107,8 @@  discard block
 block discarded – undo
107 107
     }
108 108
 
109 109
     /**
110
-    * @todo
111
-    */
110
+     * @todo
111
+     */
112 112
     /*
113 113
     public function testDisableElement()
114 114
     {    }
Please login to merge, or discard this patch.
module/Core/test/CoreTest/Form/SummaryFormTest.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -81,8 +81,8 @@
 block discarded – undo
81 81
     }
82 82
 
83 83
     /**
84
-    * @todo
85
-    */
84
+     * @todo
85
+     */
86 86
     /*
87 87
     public function testIsValid()
88 88
     {
Please login to merge, or discard this patch.
module/Core/test/CoreTest/Form/SummaryFormButtonsFieldsetTest.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -35,8 +35,8 @@
 block discarded – undo
35 35
     }
36 36
 
37 37
     /**
38
-    * @todo
39
-    */
38
+     * @todo
39
+     */
40 40
     /*
41 41
     public function testInit()
42 42
     {
Please login to merge, or discard this patch.
module/Install/src/Listener/TracyListener.php 1 patch
Indentation   +25 added lines, -25 removed lines patch added patch discarded remove patch
@@ -23,31 +23,31 @@
 block discarded – undo
23 23
  */
24 24
 class TracyListener implements ListenerAggregateInterface
25 25
 {
26
-	use ListenerAggregateTrait;
26
+    use ListenerAggregateTrait;
27 27
 	
28
-	/**
29
-	 * {@inheritDoc}
30
-	 * @see \Laminas\EventManager\ListenerAggregateInterface::attach()
31
-	 */
32
-	public function attach(EventManagerInterface $events, $priority = 1)
33
-	{
34
-		$this->listeners[] = $events->attach(MvcEvent::EVENT_DISPATCH_ERROR, [$this, 'handleError'], $priority);
35
-		$this->listeners[] = $events->attach(MvcEvent::EVENT_RENDER_ERROR, [$this, 'handleError'], $priority);
36
-	}
28
+    /**
29
+     * {@inheritDoc}
30
+     * @see \Laminas\EventManager\ListenerAggregateInterface::attach()
31
+     */
32
+    public function attach(EventManagerInterface $events, $priority = 1)
33
+    {
34
+        $this->listeners[] = $events->attach(MvcEvent::EVENT_DISPATCH_ERROR, [$this, 'handleError'], $priority);
35
+        $this->listeners[] = $events->attach(MvcEvent::EVENT_RENDER_ERROR, [$this, 'handleError'], $priority);
36
+    }
37 37
 	
38
-	/**
39
-	 * @param MvcEvent $e
40
-	 */
41
-	public function handleError(MvcEvent $e)
42
-	{
43
-		if ($e->getError() == \Laminas\Mvc\Application::ERROR_EXCEPTION) {
44
-			if (Debugger::$productionMode) {
45
-				// log an exception in production environment (this will send email as well if email address is set)
46
-				Debugger::log($e->getParam('exception'), Debugger::ERROR);
47
-			} else {
48
-				// just re-throw an exception in non-production environment to let tracy display so called blue screen
49
-				throw $e->getParam('exception');
50
-			}
51
-		}
52
-	}
38
+    /**
39
+     * @param MvcEvent $e
40
+     */
41
+    public function handleError(MvcEvent $e)
42
+    {
43
+        if ($e->getError() == \Laminas\Mvc\Application::ERROR_EXCEPTION) {
44
+            if (Debugger::$productionMode) {
45
+                // log an exception in production environment (this will send email as well if email address is set)
46
+                Debugger::log($e->getParam('exception'), Debugger::ERROR);
47
+            } else {
48
+                // just re-throw an exception in non-production environment to let tracy display so called blue screen
49
+                throw $e->getParam('exception');
50
+            }
51
+        }
52
+    }
53 53
 }
Please login to merge, or discard this patch.
module/Install/test/InstallTest/ModuleTest.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -101,8 +101,8 @@
 block discarded – undo
101 101
         $application->expects($this->once())->method('getServiceManager')->willReturn($services);
102 102
 
103 103
         $event = $this->getMockBuilder('\Laminas\Mvc\MvcEvent')
104
-                      ->disableOriginalConstructor()
105
-                      ->getMock();
104
+                        ->disableOriginalConstructor()
105
+                        ->getMock();
106 106
 
107 107
         $event->expects($this->once())->method('getApplication')->willReturn($application);
108 108
 
Please login to merge, or discard this patch.