@@ -46,15 +46,15 @@ discard block |
||
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 |
||
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 |
@@ -41,14 +41,14 @@ discard block |
||
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 |
||
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 |
@@ -64,7 +64,7 @@ |
||
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 | ); |
@@ -25,8 +25,8 @@ |
||
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 |
@@ -4,10 +4,10 @@ discard block |
||
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 |
||
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 |
@@ -76,7 +76,7 @@ |
||
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)); |
@@ -51,11 +51,11 @@ discard block |
||
51 | 51 | public function testHandleConsoleRequests() |
52 | 52 | { |
53 | 53 | $event = $this |
54 | - ->getMockBuilder(MvcEvent::class) |
|
55 | - ->disableOriginalConstructor() |
|
56 | - ->setMethods(['getRequest', 'getError']) |
|
57 | - ->getMock() |
|
58 | - ; |
|
54 | + ->getMockBuilder(MvcEvent::class) |
|
55 | + ->disableOriginalConstructor() |
|
56 | + ->setMethods(['getRequest', 'getError']) |
|
57 | + ->getMock() |
|
58 | + ; |
|
59 | 59 | |
60 | 60 | $request = new \Laminas\Console\Request(); |
61 | 61 | |
@@ -136,8 +136,8 @@ discard block |
||
136 | 136 | $event = $this->getEventMock('/base/uri', '/see/no/lang'); |
137 | 137 | |
138 | 138 | $event->expects($this->once()) |
139 | - ->method('stopPropagation') |
|
140 | - ->with(true) |
|
139 | + ->method('stopPropagation') |
|
140 | + ->with(true) |
|
141 | 141 | ; |
142 | 142 | $response = new Response(); |
143 | 143 | $event->setResponse($response); |
@@ -150,7 +150,7 @@ discard block |
||
150 | 150 | Assert::assertEquals('/base/uri/xx/see/no/lang', (string) $v->getUri()); |
151 | 151 | return true; |
152 | 152 | } |
153 | - )) |
|
153 | + )) |
|
154 | 154 | ->willReturn($routeMatch) |
155 | 155 | ; |
156 | 156 |
@@ -47,17 +47,17 @@ discard block |
||
47 | 47 | $this->pluginMock = $pluginMock; |
48 | 48 | |
49 | 49 | $controller = $this->getMockBuilder('\Laminas\Mvc\Controller\AbstractController') |
50 | - ->setMethods(['getRequest', 'plugin']) |
|
51 | - ->getMockForAbstractClass(); |
|
50 | + ->setMethods(['getRequest', 'plugin']) |
|
51 | + ->getMockForAbstractClass(); |
|
52 | 52 | |
53 | 53 | $controller->expects($this->any())->method('getRequest')->willReturn($this->request); |
54 | 54 | $controller->expects($this->any())->method('plugin')->will($this->returnValueMap( |
55 | 55 | [ |
56 | - ['paginator', null, $pluginMock], |
|
57 | - ['paginationParams', null, $pluginMock], |
|
58 | - ['searchform', null, $pluginMock], |
|
59 | - ] |
|
60 | - )); |
|
56 | + ['paginator', null, $pluginMock], |
|
57 | + ['paginationParams', null, $pluginMock], |
|
58 | + ['searchform', null, $pluginMock], |
|
59 | + ] |
|
60 | + )); |
|
61 | 61 | |
62 | 62 | $this->target->setController($controller); |
63 | 63 | } |
@@ -117,10 +117,10 @@ discard block |
||
117 | 117 | |
118 | 118 | $this->assertAttributeEquals( |
119 | 119 | new Parameters([ |
120 | - 'a' => 'test', 'b' => ['test1', 'test2'], |
|
121 | - 'c' => ['test1', 'test2'], |
|
122 | - 'd' => ['test1' => 1, 'test2' => 1] |
|
123 | - ]), |
|
120 | + 'a' => 'test', 'b' => ['test1', 'test2'], |
|
121 | + 'c' => ['test1', 'test2'], |
|
122 | + 'd' => ['test1' => 1, 'test2' => 1] |
|
123 | + ]), |
|
124 | 124 | 'parameters', |
125 | 125 | $this->target |
126 | 126 | ); |
@@ -84,12 +84,12 @@ |
||
84 | 84 | )); |
85 | 85 | |
86 | 86 | $translator = $this->getMockBuilder('\Laminas\I18n\Translator\Translator') |
87 | - ->disableOriginalConstructor() |
|
88 | - ->getMock(); |
|
87 | + ->disableOriginalConstructor() |
|
88 | + ->getMock(); |
|
89 | 89 | |
90 | 90 | $services = $this->getMockBuilder('\Laminas\ServiceManager\ServiceManager') |
91 | - ->disableOriginalConstructor() |
|
92 | - ->getMock(); |
|
91 | + ->disableOriginalConstructor() |
|
92 | + ->getMock(); |
|
93 | 93 | |
94 | 94 | |
95 | 95 | $services |