Completed
Push — master ( 4c14c6...4ad177 )
by Mathias
25s queued 15s
created
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('\Laminas\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.
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 \Laminas\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('\Laminas\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.
test/OrganizationsTest/Factory/Form/EmployeeFieldsetFactoryTest.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -49,11 +49,11 @@
 block discarded – undo
49 49
 
50 50
         $repos = $this->getMockBuilder('\Core\Repository\RepositoryService')->disableOriginalConstructor()->getMock();
51 51
         $repos->expects($this->once())
52
-              ->method('get')->with('Auth/User')->willReturn($users);
52
+                ->method('get')->with('Auth/User')->willReturn($users);
53 53
 
54 54
         $services = $this->getMockBuilder('\Laminas\ServiceManager\ServiceManager')->disableOriginalConstructor()->getMock();
55 55
         $services->expects($this->once())
56
-                 ->method('get')->with('repositories')->willReturn($repos);
56
+                    ->method('get')->with('repositories')->willReturn($repos);
57 57
         
58 58
         $fieldset = $target->__invoke($services, 'irrelevant');
59 59
 
Please login to merge, or discard this patch.
test/OrganizationsTest/Factory/Form/EmployeesFieldsetFactoryTest.php 1 patch
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -46,15 +46,15 @@  discard block
 block discarded – undo
46 46
 
47 47
         $headscript = $this->getMockBuilder('\Laminas\View\Helper\HeadScript')->disableOriginalConstructor()->getMock();
48 48
         $headscript->expects($this->once())
49
-                   ->method('__call')
50
-                   ->with('appendFile', array('modules/Organizations/js/organizations.employees.js'))
51
-                   ->willReturn(null);
49
+                    ->method('__call')
50
+                    ->with('appendFile', array('modules/Organizations/js/organizations.employees.js'))
51
+                    ->willReturn(null);
52 52
 
53 53
         $basepath   = $this->getMockBuilder('\Laminas\View\Helper\BasePath')->disableOriginalConstructor()->getMock();
54 54
         $basepath->expects($this->once())
55
-                 ->method('__invoke')
56
-                 ->with('modules/Organizations/js/organizations.employees.js')
57
-                 ->will($this->returnArgument(0));
55
+                    ->method('__invoke')
56
+                    ->with('modules/Organizations/js/organizations.employees.js')
57
+                    ->will($this->returnArgument(0));
58 58
 
59 59
         $helpers = $this->getMockBuilder('\Laminas\View\HelperPluginManager')->disableOriginalConstructor()->getMock();
60 60
         $helpers->expects($this->exactly(2))
@@ -66,12 +66,12 @@  discard block
 block discarded – undo
66 66
                 ->will($this->onConsecutiveCalls($headscript, $basepath));
67 67
 
68 68
         $services = $this->getMockBuilder('\Laminas\ServiceManager\ServiceManager')->disableOriginalConstructor()
69
-                         ->getMock();
69
+                            ->getMock();
70 70
 
71 71
         $services->expects($this->once())
72
-                 ->method('get')
73
-                 ->with('ViewHelperManager')
74
-                 ->willReturn($helpers);
72
+                    ->method('get')
73
+                    ->with('ViewHelperManager')
74
+                    ->willReturn($helpers);
75 75
 
76 76
         $fieldset = $target->__invoke($services, 'irrelevant');
77 77
 
Please login to merge, or discard this patch.
module/Applications/src/Form/SettingsFieldset.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -41,14 +41,14 @@  discard block
 block discarded – undo
41 41
     public function init()
42 42
     {
43 43
         $this->setName('emails')
44
-             ->setLabel(/* @translate */ 'E-Mail Notifications');
44
+                ->setLabel(/* @translate */ 'E-Mail Notifications');
45 45
         
46 46
         $this->add(
47 47
             array('type' => Checkbox::class,
48 48
                 'name' => 'mailAccess',
49 49
                 'label' => 'foo',
50 50
                 'options' => array('label' => /* @translate */ 'receive E-Mail alert',
51
-                                   'long_label' => /* @translate */ 'if checked, you\'ll be informed by mail about new applications.'),
51
+                                    'long_label' => /* @translate */ 'if checked, you\'ll be informed by mail about new applications.'),
52 52
                 )
53 53
         );
54 54
         $this->add(
@@ -62,13 +62,13 @@  discard block
 block discarded – undo
62 62
             array('type' => 'Laminas\Form\Element\Checkbox',
63 63
                 'name' => 'autoConfirmMail',
64 64
                 'options' => array('label' => /* @translate */ 'confirm application immidiatly after submit',
65
-                                   'long_label' => /* @translate */ 'if checked, an application is immediatly confirmed. If unchecked confirmation is the duty of the recruiter.'),
65
+                                    'long_label' => /* @translate */ 'if checked, an application is immediatly confirmed. If unchecked confirmation is the duty of the recruiter.'),
66 66
                 )
67 67
         );
68 68
         $this->add(
69 69
             array('type' => 'Laminas\Form\Element\Textarea',
70 70
                         'name' => 'mailConfirmationText',
71
-                         'options' => array('label' => /* @translate */ 'Confirmation mail text',
71
+                            'options' => array('label' => /* @translate */ 'Confirmation mail text',
72 72
                                             'description' => /* @translate */ 'default text of the acknowledgment of receipt mail to the applicant. The following variables can be used:<br><ul><li>##anrede_formell## = salutation. Includes gender, firstname and lastname.<li>##anrede_informell## = salutation. Includes fistname and lastname.</li><li>##job_title## = title of the jobs</li><li>##name## = name of the applicant.</li><li>##date## = date of recipt of the application.</li><li>##link## = Link to the application details</li></ul>' ))
73 73
         );
74 74
         
Please login to merge, or discard this patch.
module/Applications/test/TestConfig.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@
 block discarded – undo
64 64
     //     ),
65 65
     // )
66 66
 
67
-   // Initial configuration with which to seed the ServiceManager.
68
-   // Should be compatible with Laminas\ServiceManager\Config.
69
-   // 'service_manager' => array(),
67
+    // Initial configuration with which to seed the ServiceManager.
68
+    // Should be compatible with Laminas\ServiceManager\Config.
69
+    // 'service_manager' => array(),
70 70
 );
Please login to merge, or discard this patch.
module/Core/src/Form/Form.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -25,8 +25,8 @@
 block discarded – undo
25 25
  */
26 26
 class Form extends LaminasForm implements
27 27
     DescriptionAwareFormInterface,
28
-                                       DisableElementsCapableInterface,
29
-                                       FormParentInterface
28
+                                        DisableElementsCapableInterface,
29
+                                        FormParentInterface
30 30
 {
31 31
     use EventManagerAwareTrait, HydratorStrategyAwareTrait;
32 32
     
Please login to merge, or discard this patch.
module/Core/test/TestConfig.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -4,10 +4,10 @@  discard block
 block discarded – undo
4 4
 
5 5
 use PHPUnit\Framework\TestCase;
6 6
     'modules' => array_merge(
7
-    	include_once __DIR__.'/../../../config/common.modules.php',
8
-	    array(
7
+        include_once __DIR__.'/../../../config/common.modules.php',
8
+        array(
9 9
             'Core', 'Auth', 'Jobs', 'Applications', 'Organizations'
10
-	    )
10
+        )
11 11
     ),
12 12
 
13 13
     // These are various options for the listeners attached to the ModuleManager
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
     //     ),
66 66
     // )
67 67
 
68
-   // Initial configuration with which to seed the ServiceManager.
69
-   // Should be compatible with Laminas\ServiceManager\Config.
70
-   // 'service_manager' => array(),
68
+    // Initial configuration with which to seed the ServiceManager.
69
+    // Should be compatible with Laminas\ServiceManager\Config.
70
+    // 'service_manager' => array(),
71 71
 );
72 72
\ No newline at end of file
Please login to merge, or discard this patch.
module/Core/test/CoreTest/View/Helper/ParamsTest.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@
 block discarded – undo
76 76
     public function testFromHeaderMethod()
77 77
     {
78 78
         $headers = "X-Test-Header-1: Header1Value\r\n"
79
-                 . "X-Test-Header-2: Header2Value\r\n";
79
+                    . "X-Test-Header-2: Header2Value\r\n";
80 80
         
81 81
         $r = new Request();
82 82
         $r->setHeaders(\Laminas\Http\Headers::fromString($headers));
Please login to merge, or discard this patch.