Completed
Push — master ( f9363f...d49909 )
by Mathias
06:23
created
module/Jobs/test/JobsTest/Factory/Listener/DeleteJobFactoryTest.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -59,8 +59,8 @@
 block discarded – undo
59 59
         ;
60 60
 
61 61
         $auth->expects($this->once())
62
-             ->method('getUser')
63
-             ->will($this->returnValue($user))
62
+                ->method('getUser')
63
+                ->will($this->returnValue($user))
64 64
         ;
65 65
 
66 66
         $repository = $this->getMockBuilder(Job::class)->disableOriginalConstructor()->getMock();
Please login to merge, or discard this patch.
module/Jobs/test/JobsTest/Factory/Form/MultipostingSelectFactoryTest.php 1 patch
Indentation   +15 added lines, -15 removed lines patch added patch discarded remove patch
@@ -48,19 +48,19 @@  discard block
 block discarded – undo
48 48
         $channelOptions  = new ChannelOptions();
49 49
 
50 50
         $channelOptions->setCategory('testCat')
51
-                       ->setCurrency('€')
52
-                       ->setDescription('testDesc')
53
-                       ->setExternalkey('testExtKey')
54
-                       ->setHeadLine('testHL')
55
-                       ->setKey('testKey')
56
-                       ->setLabel('testLabel')
57
-                       ->setLinkText('testLinkTxt')
58
-                       ->setLogo('testLogo')
59
-                       ->setParams(array('test' => 'params'))
60
-                       ->setPrice('test', 1234)
61
-                       ->setPublishDuration(10)
62
-                       ->setRoute('testRoute')
63
-                       ->setTax(19);
51
+                        ->setCurrency('€')
52
+                        ->setDescription('testDesc')
53
+                        ->setExternalkey('testExtKey')
54
+                        ->setHeadLine('testHL')
55
+                        ->setKey('testKey')
56
+                        ->setLabel('testLabel')
57
+                        ->setLinkText('testLinkTxt')
58
+                        ->setLogo('testLogo')
59
+                        ->setParams(array('test' => 'params'))
60
+                        ->setPrice('test', 1234)
61
+                        ->setPublishDuration(10)
62
+                        ->setRoute('testRoute')
63
+                        ->setTax(19);
64 64
 
65 65
         $providerOptions->addChannel($channelOptions);
66 66
 
@@ -106,8 +106,8 @@  discard block
 block discarded – undo
106 106
         );
107 107
 
108 108
         $services->expects($this->exactly(3))
109
-                 ->method('get')
110
-                 ->will($this->returnValueMap($servicesMap))
109
+                    ->method('get')
110
+                    ->will($this->returnValueMap($servicesMap))
111 111
         ;
112 112
 
113 113
         $target = new MultipostingSelectFactory();
Please login to merge, or discard this patch.
module/Jobs/test/JobsTest/Entity/HistoryTest.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -93,9 +93,9 @@  discard block
 block discarded – undo
93 93
     
94 94
     
95 95
     /**
96
-    * @covers \Jobs\Entity\History::setDate
97
-    * @covers \Jobs\Entity\History::getDate
98
-    */
96
+     * @covers \Jobs\Entity\History::setDate
97
+     * @covers \Jobs\Entity\History::getDate
98
+     */
99 99
     public function testSetGetDate()
100 100
     {
101 101
         $date=new \DateTime("2017-02-28 11:11:11");
@@ -105,9 +105,9 @@  discard block
 block discarded – undo
105 105
     }
106 106
     
107 107
     /**
108
-    * @covers \Jobs\Entity\History::setMessage
109
-    * @covers \Jobs\Entity\History::getMessage
110
-    */
108
+     * @covers \Jobs\Entity\History::setMessage
109
+     * @covers \Jobs\Entity\History::getMessage
110
+     */
111 111
     public function testSetGetMessage()
112 112
     {
113 113
         $message="my message";
@@ -117,9 +117,9 @@  discard block
 block discarded – undo
117 117
     }
118 118
     
119 119
     /**
120
-    * @covers \Jobs\Entity\History::setStatus
121
-    * @covers \Jobs\Entity\History::getStatus
122
-    */
120
+     * @covers \Jobs\Entity\History::setStatus
121
+     * @covers \Jobs\Entity\History::getStatus
122
+     */
123 123
     public function testSetGetStatus()
124 124
     {
125 125
         $status=new Status(Status::CREATED);
Please login to merge, or discard this patch.
module/Jobs/test/JobsTest/Form/AtsModeFieldsetTest.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -84,9 +84,9 @@  discard block
 block discarded – undo
84 84
     public function testInitialization()
85 85
     {
86 86
         $target = $this->getMockBuilder('\Jobs\Form\AtsModeFieldset')
87
-                       ->disableOriginalConstructor()
88
-                       ->setMethods(array('add', 'setName'))
89
-                       ->getMock();
87
+                        ->disableOriginalConstructor()
88
+                        ->setMethods(array('add', 'setName'))
89
+                        ->getMock();
90 90
 
91 91
         $target->expects($this->once())->method('setName')->with('atsMode');
92 92
 
@@ -152,12 +152,12 @@  discard block
 block discarded – undo
152 152
         ];
153 153
 
154 154
         $target->expects($this->exactly(5))->method('add')
155
-               ->withConsecutive(
156
-                   array($addSelect),
157
-                   array($addUri),
158
-                   array($addEmail),
159
-                   array($addOneClickApply),
160
-                   array($addOneClickApplyProfiles)
155
+                ->withConsecutive(
156
+                    array($addSelect),
157
+                    array($addUri),
158
+                    array($addEmail),
159
+                    array($addOneClickApply),
160
+                    array($addOneClickApplyProfiles)
161 161
                 );
162 162
 
163 163
         $target->init();
Please login to merge, or discard this patch.
module/Cv/test/CvTest/Entity/CvTest.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -86,17 +86,17 @@
 block discarded – undo
86 86
             [ 'status', ['value' => new Status(), 'default' => new Status() ]],
87 87
             [ 'status', ['value' => Status::NONPUBLIC, 'expect' => '@' . Status::class]],
88 88
             [ 'status', ['value' => Status::PUBLIC_TO_ALL, 'ignore_getter' => true,
89
-                         'pre' => function () use ($permissions2) {
90
-                             $this->target->setPermissions($permissions2);
91
-                         }]
89
+                            'pre' => function () use ($permissions2) {
90
+                                $this->target->setPermissions($permissions2);
91
+                            }]
92 92
             ],
93 93
             [ 'status', ['value' => Status::NONPUBLIC, 'ignore_getter' => true,
94
-                         'pre' => function () use ($permissions2) {
95
-                             $this->target->setPermissions($permissions2);
96
-                         },
97
-                         'post' => function () use ($permissions2) {
98
-                             $permissions2->__phpunit_verify();
99
-                         }]
94
+                            'pre' => function () use ($permissions2) {
95
+                                $this->target->setPermissions($permissions2);
96
+                            },
97
+                            'post' => function () use ($permissions2) {
98
+                                $permissions2->__phpunit_verify();
99
+                            }]
100 100
             ],
101 101
             [ 'attachments', $defaultOptions],
102 102
             [ 'user', ['value' => new User(), 'ignore_getter' => true,
Please login to merge, or discard this patch.
module/Install/test/InstallTest/Form/InstallationTest.php 1 patch
Indentation   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -34,9 +34,9 @@  discard block
 block discarded – undo
34 34
     public function testInit()
35 35
     {
36 36
         $target = $this->getMockBuilder('\Install\Form\Installation')
37
-                       ->setMethods(array('add', 'setName', 'setAttributes'))
38
-                       ->disableOriginalConstructor()
39
-                       ->getMock();
37
+                        ->setMethods(array('add', 'setName', 'setAttributes'))
38
+                        ->disableOriginalConstructor()
39
+                        ->getMock();
40 40
 
41 41
         $add1 = array(
42 42
             'type'       => 'Text',
@@ -74,19 +74,19 @@  discard block
 block discarded – undo
74 74
         );
75 75
 
76 76
         $target->expects($this->exactly(4))
77
-               ->method('add')
78
-               ->withConsecutive(
79
-                   array($add1),
80
-                   array($add2),
81
-                   array($add3),
82
-                   array($add4)
83
-               )->will($this->returnSelf());
77
+                ->method('add')
78
+                ->withConsecutive(
79
+                    array($add1),
80
+                    array($add2),
81
+                    array($add3),
82
+                    array($add4)
83
+                )->will($this->returnSelf());
84 84
 
85 85
         $target->expects($this->once())->method('setName')->with('installation');
86 86
         $target->expects($this->once())->method('setAttributes')->with(
87 87
             array(
88
-                                                                           'method' => 'post',
89
-                                                                       )
88
+                                                                            'method' => 'post',
89
+                                                                        )
90 90
         );
91 91
         /* @var $target \PHPUnit_Framework_MockObject_MockObject|\Install\Form\Installation */
92 92
         $target->init();
@@ -103,7 +103,7 @@  discard block
 block discarded – undo
103 103
                 ),
104 104
                 'validators'        => array(
105 105
                     array('name' => MongoDbConnectionString::class,
106
-                          'break_chain_on_failure' => true),
106
+                            'break_chain_on_failure' => true),
107 107
                     array('name' => MongoDbConnection::class),
108 108
                 ),
109 109
             ),
Please login to merge, or discard this patch.
module/Organizations/test/OrganizationsTest/Form/EmployeeFieldsetTest.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -104,15 +104,15 @@
 block discarded – undo
104 104
                 ->getMock();
105 105
 
106 106
         $target->expects($this->exactly(4))
107
-               ->method('add')
108
-               ->withConsecutive(
109
-                   array($expectAdd1),
110
-                   array($expectAdd2),
111
-                   array($expectAdd3),
112
-                   array($expectAdd4)
107
+                ->method('add')
108
+                ->withConsecutive(
109
+                    array($expectAdd1),
110
+                    array($expectAdd2),
111
+                    array($expectAdd3),
112
+                    array($expectAdd4)
113 113
 
114 114
 
115
-               );
115
+                );
116 116
 
117 117
         $target->init();
118 118
     }
Please login to merge, or discard this patch.
module/Organizations/test/OrganizationsTest/Form/EmployeesFieldsetTest.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -88,11 +88,11 @@
 block discarded – undo
88 88
                 ->getMock();
89 89
 
90 90
         $target->expects($this->exactly(2))
91
-               ->method('add')
92
-               ->withConsecutive(
93
-                   array($expectAdd1),
94
-                   array($expectAdd2)
95
-               );
91
+                ->method('add')
92
+                ->withConsecutive(
93
+                    array($expectAdd1),
94
+                    array($expectAdd2)
95
+                );
96 96
 
97 97
         $target->init();
98 98
         $this->assertEquals('employees', $target->getName());
Please login to merge, or discard this patch.
module/Auth/test/AuthTest/Controller/Plugin/UserSwitcherTest.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -211,11 +211,11 @@  discard block
 block discarded – undo
211 211
         $this->assertTrue($this->target->switchUser('switchedUser'));
212 212
         $this->assertEquals(
213 213
             [
214
-                 'isSwitchedUser' => true,
215
-                 'originalUser' => 'originalUser',
216
-                 'params' => [], 'ref' => '/some/ref',
217
-                 'session' => serialize($oldSession)
218
-             ],
214
+                    'isSwitchedUser' => true,
215
+                    'originalUser' => 'originalUser',
216
+                    'params' => [], 'ref' => '/some/ref',
217
+                    'session' => serialize($oldSession)
218
+                ],
219 219
             $_SESSION[UserSwitcher::SESSION_NAMESPACE]->getArrayCopy()
220 220
         );
221 221
         $_SESSION = [];
@@ -240,7 +240,7 @@  discard block
 block discarded – undo
240 240
         $acl->expects($this->once())->method('setUser')->with($this->isInstanceOf(User::class));
241 241
 
242 242
         $user = $this->getMockBuilder(User::class)->disableOriginalConstructor()
243
-                     ->setMethods(['getId'])->getMock();
243
+                        ->setMethods(['getId'])->getMock();
244 244
         $user->expects($this->any())->method('getId')->willReturn('switchedUser');
245 245
 
246 246
         $this->target->switchUser($user, ['ref' => 'ref']);
Please login to merge, or discard this patch.