Completed
Push — develop ( 33eed9...a73e2c )
by Carsten
21s queued 14s
created
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/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()
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/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/Cv/test/CvTest/Form/EmploymentFieldsetTest.php 1 patch
Indentation   +30 added lines, -30 removed lines patch added patch discarded remove patch
@@ -76,37 +76,37 @@
 block discarded – undo
76 76
                 ]
77 77
             ],
78 78
             [
79
-                 'type' => 'Core/Datepicker',
80
-                 'name' => 'endDate',
81
-                 'options' => [
82
-                     'label' => 'End date'
83
-                 ],
79
+                    'type' => 'Core/Datepicker',
80
+                    'name' => 'endDate',
81
+                    'options' => [
82
+                        'label' => 'End date'
83
+                    ],
84 84
             ],
85
-             [
86
-                 'type' => 'checkbox',
87
-                 'name' => 'currentIndicator',
88
-                 'options' => [
89
-                     'label' => 'ongoing'
90
-                 ]
91
-             ],
92
-             [
93
-                 'name' => 'organizationName',
94
-                 'options' => [
95
-                     'label' => 'Company Name'],
96
-                 'attributes' => [
97
-                     'title' =>  'please enter the name of the company'
98
-                 ],
99
-             ],
100
-             [
101
-                 'name' => 'description',
102
-                 'type' => 'Zend\Form\Element\Textarea',
103
-                 'options' => [
104
-                     'label' => 'Description',
105
-                 ],
106
-                 'attributes' => [
107
-                     'title' => 'please describe your position',
108
-                 ],
109
-             ],
85
+                [
86
+                    'type' => 'checkbox',
87
+                    'name' => 'currentIndicator',
88
+                    'options' => [
89
+                        'label' => 'ongoing'
90
+                    ]
91
+                ],
92
+                [
93
+                    'name' => 'organizationName',
94
+                    'options' => [
95
+                        'label' => 'Company Name'],
96
+                    'attributes' => [
97
+                        'title' =>  'please enter the name of the company'
98
+                    ],
99
+                ],
100
+                [
101
+                    'name' => 'description',
102
+                    'type' => 'Zend\Form\Element\Textarea',
103
+                    'options' => [
104
+                        'label' => 'Description',
105
+                    ],
106
+                    'attributes' => [
107
+                        'title' => 'please describe your position',
108
+                    ],
109
+                ],
110 110
         ];
111 111
 
112 112
         $addArgValidator = function ($arg) use ($add) {
Please login to merge, or discard this patch.
module/Cv/test/CvTest/Form/EducationFieldsetTest.php 1 patch
Indentation   +53 added lines, -53 removed lines patch added patch discarded remove patch
@@ -78,61 +78,61 @@
 block discarded – undo
78 78
                 ]
79 79
             ],
80 80
             [
81
-                 'type' => 'Core/Datepicker',
82
-                 'name' => 'endDate',
83
-                 'options' => [
84
-                     'label' => 'End date'
85
-                 ],
81
+                    'type' => 'Core/Datepicker',
82
+                    'name' => 'endDate',
83
+                    'options' => [
84
+                        'label' => 'End date'
85
+                    ],
86 86
             ],
87
-             [
88
-                 'type' => 'checkbox',
89
-                 'name' => 'currentIndicator',
90
-                 'options' => [
91
-                     'label' => 'ongoing'
92
-                 ]
93
-             ],
94
-             [
95
-                 'name' => 'competencyName',
96
-                 'options' => [
97
-                     'label' => 'Degree'],
98
-                 'attributes' => [
99
-                     'title' =>  'please enter the name of your qualification'
100
-                 ],
101
-             ],
102
-             [
103
-                 'name' => 'organizationName',
104
-                 'options' => [
105
-                     'label' => 'Organization Name'],
106
-                 'attributes' => [
107
-                     'title' =>  'please enter the name of the university or school'
108
-                 ],
109
-             ],
87
+                [
88
+                    'type' => 'checkbox',
89
+                    'name' => 'currentIndicator',
90
+                    'options' => [
91
+                        'label' => 'ongoing'
92
+                    ]
93
+                ],
94
+                [
95
+                    'name' => 'competencyName',
96
+                    'options' => [
97
+                        'label' => 'Degree'],
98
+                    'attributes' => [
99
+                        'title' =>  'please enter the name of your qualification'
100
+                    ],
101
+                ],
102
+                [
103
+                    'name' => 'organizationName',
104
+                    'options' => [
105
+                        'label' => 'Organization Name'],
106
+                    'attributes' => [
107
+                        'title' =>  'please enter the name of the university or school'
108
+                    ],
109
+                ],
110 110
             [
111
-                 'name' => 'country',
112
-                 'options' => [
113
-                     'label' => 'Country'],
114
-                 'attributes' => [
115
-                     'title' => /*@translate */ 'please select the country'
116
-                 ],
117
-             ],
118
-             [
119
-                 'name' => 'city',
120
-                 'options' => [
121
-                     'label' => 'City'],
122
-                 'attributes' => [
123
-                     'title' => 'please enter the name of the city'
124
-                 ],
125
-             ],
126
-             [
127
-                 'name' => 'description',
128
-                 'type' => 'Zend\Form\Element\Textarea',
129
-                 'options' => [
130
-                     'label' => 'Description',
131
-                 ],
132
-                 'attributes' => [
133
-                     'title' => 'please enter a description',
134
-                 ],
135
-             ],
111
+                    'name' => 'country',
112
+                    'options' => [
113
+                        'label' => 'Country'],
114
+                    'attributes' => [
115
+                        'title' => /*@translate */ 'please select the country'
116
+                    ],
117
+                ],
118
+                [
119
+                    'name' => 'city',
120
+                    'options' => [
121
+                        'label' => 'City'],
122
+                    'attributes' => [
123
+                        'title' => 'please enter the name of the city'
124
+                    ],
125
+                ],
126
+                [
127
+                    'name' => 'description',
128
+                    'type' => 'Zend\Form\Element\Textarea',
129
+                    'options' => [
130
+                        'label' => 'Description',
131
+                    ],
132
+                    'attributes' => [
133
+                        'title' => 'please enter a description',
134
+                    ],
135
+                ],
136 136
         ];
137 137
 
138 138
         $addArgValidator = function ($arg) use ($add) {
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.
test/OrganizationsTest/Controller/InviteEmployeeControllerTest.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -74,8 +74,8 @@
 block discarded – undo
74 74
         $this->target->setPluginManager($plugins);
75 75
 
76 76
         $params = $this->getMockBuilder('\Zend\Mvc\Controller\Plugin\Params')
77
-                       ->disableOriginalConstructor()
78
-                       ->getMock()
77
+                        ->disableOriginalConstructor()
78
+                        ->getMock()
79 79
         ;
80 80
         $params
81 81
             ->expects($this->any())
Please login to merge, or discard this patch.
Factory/Controller/Plugin/InvitationHandlerFactoryTest.php 1 patch
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
         $target = new InvitationHandlerFactory();
47 47
 
48 48
         $tokenGenerator = $this->getMockBuilder('\Auth\Service\UserUniqueTokenGenerator')
49
-                               ->disableOriginalConstructor()->getMock();
49
+                                ->disableOriginalConstructor()->getMock();
50 50
 
51 51
         $userRepository = $this->getMockBuilder('\Auth\Repository\User')->disableOriginalConstructor()->getMock();
52 52
 
@@ -56,8 +56,8 @@  discard block
 block discarded – undo
56 56
         $translator = new \Zend\I18n\Translator\Translator();
57 57
     
58 58
         $mailer = $this->getMockBuilder('\Core\Controller\Plugin\Mailer')
59
-                       ->disableOriginalConstructor()
60
-                       ->getMock()
59
+                        ->disableOriginalConstructor()
60
+                        ->getMock()
61 61
         ;
62 62
         
63 63
         $pluginManager = $this->getMockBuilder(PluginManager::class)
@@ -78,14 +78,14 @@  discard block
 block discarded – undo
78 78
 
79 79
         $services = $this->getMockBuilder('\Zend\ServiceManager\ServiceManager')->disableOriginalConstructor()->getMock();
80 80
         $services->expects($this->exactly(5))
81
-                 ->method('get')
82
-                 ->will($this->returnValueMap(array(
83
-                     array('ValidatorManager', $validators),   // get ha signature ($name, $usePeeringManagers = true)
84
-                     array('translator', $translator),
85
-                     array('repositories', $repositories),
86
-                     array('Auth/UserTokenGenerator', $tokenGenerator),
87
-                     array('ControllerPluginManager',$pluginManager),
88
-                 )));
81
+                    ->method('get')
82
+                    ->will($this->returnValueMap(array(
83
+                        array('ValidatorManager', $validators),   // get ha signature ($name, $usePeeringManagers = true)
84
+                        array('translator', $translator),
85
+                        array('repositories', $repositories),
86
+                        array('Auth/UserTokenGenerator', $tokenGenerator),
87
+                        array('ControllerPluginManager',$pluginManager),
88
+                    )));
89 89
 
90 90
         /*
91 91
          * test start here
Please login to merge, or discard this patch.
Factory/Controller/Plugin/AcceptInvitationHandlerFactoryTest.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -55,17 +55,17 @@
 block discarded – undo
55 55
         $auth = $this->getMockBuilder('\Auth\AuthenticationService')->disableOriginalConstructor()->getMock();
56 56
 
57 57
         $services = $this->getMockBuilder('\Zend\ServiceManager\ServiceManager')
58
-                         ->disableOriginalConstructor()
59
-                         ->getMock()
58
+                            ->disableOriginalConstructor()
59
+                            ->getMock()
60 60
         ;
61 61
         $services->expects($this->exactly(2))
62
-                 ->method('get')
63
-                 ->will($this->returnValueMap(
64
-                     array(
62
+                    ->method('get')
63
+                    ->will($this->returnValueMap(
64
+                        array(
65 65
                         array('repositories',$repositories),
66 66
                         array('AuthenticationService', $auth)
67 67
                     )
68
-                 ))
68
+                    ))
69 69
         ;
70 70
 
71 71
         $target = new AcceptInvitationHandlerFactory();
Please login to merge, or discard this patch.