Completed
Push — master ( 4c14c6...4ad177 )
by Mathias
25s queued 15s
created
module/Core/test/CoreTest/Form/Tree/AddItemFieldsetTest.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -51,19 +51,19 @@
 block discarded – undo
51 51
     {
52 52
         $mock = $this->getMockBuilder(AddItemFieldset::class)
53 53
             ->setMethods(['setObject', 'add'])
54
-             ->disableOriginalConstructor()->getMock();
54
+                ->disableOriginalConstructor()->getMock();
55 55
 
56 56
         $mock->expects($this->once())->method('setObject')->with($this->isInstanceOf(\ArrayObject::class));
57 57
 
58 58
         $mock->expects($this->exactly(6))->method('add')
59
-             ->withConsecutive(
60
-                 [['name' => 'id', 'type' => 'Hidden']],
61
-                 [['name' => 'current', 'type' => 'Hidden']],
62
-                 [['name' => 'do', 'type' => 'Hidden']],
63
-                 [['name' => 'name', 'type' => 'Text', 'options' => ['label' => 'Name'], 'attributes' => ['required' => 'required']]],
64
-                 [['name' => 'value', 'type' => 'Text', 'options' => ['label' => 'Value']]],
65
-                 [['name' => 'priority', 'type' => 'Text']]
66
-             );
59
+                ->withConsecutive(
60
+                    [['name' => 'id', 'type' => 'Hidden']],
61
+                    [['name' => 'current', 'type' => 'Hidden']],
62
+                    [['name' => 'do', 'type' => 'Hidden']],
63
+                    [['name' => 'name', 'type' => 'Text', 'options' => ['label' => 'Name'], 'attributes' => ['required' => 'required']]],
64
+                    [['name' => 'value', 'type' => 'Text', 'options' => ['label' => 'Value']]],
65
+                    [['name' => 'priority', 'type' => 'Text']]
66
+                );
67 67
 
68 68
         return $mock;
69 69
     }
Please login to merge, or discard this patch.
module/Core/test/CoreTest/Form/CustomizableFieldsetTraitTest.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -146,7 +146,7 @@
 block discarded – undo
146 146
 
147 147
         $this->assertEquals(
148 148
             ['test' => ['required' => true],
149
-              'test2' => ['filters' => []]],
149
+                'test2' => ['filters' => []]],
150 150
             $actual
151 151
         );
152 152
     }
Please login to merge, or discard this patch.
module/Core/test/CoreTestUtils/TestCase/SetupTargetTrait.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -282,10 +282,10 @@
 block discarded – undo
282 282
                         'return'  => isset($methodSpec['@return'])
283 283
                                      ? $call((array) $methodSpec['@return'])
284 284
                                      : (
285
-                                         isset($methodSpec['return'])
285
+                                            isset($methodSpec['return'])
286 286
                                         ? ('__self__' === $methodSpec['return'] ? $this->returnSelf() : $this->returnValue($methodSpec['return']))
287 287
                                         : null
288
-                                       ),
288
+                                        ),
289 289
                     ];
290 290
                 }
291 291
             }
Please login to merge, or discard this patch.
module/Core/test/CoreTestUtils/TestCase/TestSetterGetterTrait.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -185,7 +185,7 @@  discard block
 block discarded – undo
185 185
         $errTmpl = __METHOD__ . ': ' . get_class($this);
186 186
         if (!property_exists($this, 'target') || (!is_object($this->target) && !isset($spec['target']))) {
187 187
             throw new PHPUnitException($errTmpl
188
-                                                   . ' must define the property "target" and the value must be an object.');
188
+                                                    . ' must define the property "target" and the value must be an object.');
189 189
         }
190 190
 
191 191
         if (!is_array($spec)) {
@@ -399,7 +399,7 @@  discard block
 block discarded – undo
399 399
         }
400 400
 
401 401
         $err = __TRAIT__ . ': ' . get_class($this) . ': Setter ' . get_class($this->target) . '::' . $setter
402
-               . ($expect === $this->target ? ' breaks fluent interface.' : ' does not return expected value.');
402
+                . ($expect === $this->target ? ' breaks fluent interface.' : ' does not return expected value.');
403 403
 
404 404
 
405 405
         if (false === $args) {
Please login to merge, or discard this patch.
module/Jobs/test/JobsTest/Form/CompanyNameFieldsetTest.php 1 patch
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -34,9 +34,9 @@  discard block
 block discarded – undo
34 34
     protected function setUp(): void
35 35
     {
36 36
         $this->target = $this->getMockBuilder('\Jobs\Form\CompanyNameFieldset')
37
-                             ->disableOriginalConstructor()
38
-                             ->setMethods(array('setAttribute', 'setName', 'add'))
39
-                             ->getMock();
37
+                                ->disableOriginalConstructor()
38
+                                ->setMethods(array('setAttribute', 'setName', 'add'))
39
+                                ->getMock();
40 40
     }
41 41
 
42 42
     /**
@@ -53,12 +53,12 @@  discard block
 block discarded – undo
53 53
     public function testInitialization()
54 54
     {
55 55
         $this->target->expects($this->once())
56
-                     ->method('setAttribute')
57
-                     ->with('id', 'jobcompanyname-fieldset');
56
+                        ->method('setAttribute')
57
+                        ->with('id', 'jobcompanyname-fieldset');
58 58
 
59 59
         $this->target->expects($this->once())
60
-                     ->method('setName')
61
-                     ->with('jobCompanyName');
60
+                        ->method('setName')
61
+                        ->with('jobCompanyName');
62 62
 
63 63
         $addParam1 = array(
64 64
             'type' => 'Jobs/HiringOrganizationSelect',
@@ -93,10 +93,10 @@  discard block
 block discarded – undo
93 93
             ];
94 94
 
95 95
         $this->target->expects($this->exactly(2))
96
-                     ->method('add')
97
-                     ->withConsecutive(
98
-                         [$addParam1],
99
-                         [$addParam2]
96
+                        ->method('add')
97
+                        ->withConsecutive(
98
+                            [$addParam1],
99
+                            [$addParam2]
100 100
                     );
101 101
 
102 102
         $this->target->init();
Please login to merge, or discard this patch.
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.