@@ -1,8 +1,8 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | // Generated by ZF2's ./bin/classmap_generator.php |
| 3 | 3 | return array( |
| 4 | - 'InstallTest\Controller\Plugin\PrerequisitesTest' => __DIR__ . '/InstallTest/Controller/Plugin/PrerequisitesTest.php', |
|
| 5 | - 'InstallTest\Controller\Plugin\YawikConfigCreatorTest' => __DIR__ . '/InstallTest/Controller/Plugin/YawikConfigCreatorTest.php', |
|
| 6 | - 'InstallTest\Form\InstallationTest' => __DIR__ . '/InstallTest/Form/InstallationTest.php', |
|
| 7 | - 'InstallTest\Validator\MongoDbConnectionStringTest' => __DIR__ . '/InstallTest/Validator/MongoDbConnectionStringTest.php', |
|
| 4 | + 'InstallTest\Controller\Plugin\PrerequisitesTest' => __DIR__ . '/InstallTest/Controller/Plugin/PrerequisitesTest.php', |
|
| 5 | + 'InstallTest\Controller\Plugin\YawikConfigCreatorTest' => __DIR__ . '/InstallTest/Controller/Plugin/YawikConfigCreatorTest.php', |
|
| 6 | + 'InstallTest\Form\InstallationTest' => __DIR__ . '/InstallTest/Form/InstallationTest.php', |
|
| 7 | + 'InstallTest\Validator\MongoDbConnectionStringTest' => __DIR__ . '/InstallTest/Validator/MongoDbConnectionStringTest.php', |
|
| 8 | 8 | ); |
@@ -1,8 +1,8 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | // Generated by ZF2's ./bin/classmap_generator.php |
| 3 | 3 | return array( |
| 4 | - 'InstallTest\Controller\Plugin\PrerequisitesTest' => __DIR__ . '/InstallTest/Controller/Plugin/PrerequisitesTest.php', |
|
| 5 | - 'InstallTest\Controller\Plugin\YawikConfigCreatorTest' => __DIR__ . '/InstallTest/Controller/Plugin/YawikConfigCreatorTest.php', |
|
| 6 | - 'InstallTest\Form\InstallationTest' => __DIR__ . '/InstallTest/Form/InstallationTest.php', |
|
| 7 | - 'InstallTest\Validator\MongoDbConnectionStringTest' => __DIR__ . '/InstallTest/Validator/MongoDbConnectionStringTest.php', |
|
| 4 | + 'InstallTest\Controller\Plugin\PrerequisitesTest' => __DIR__.'/InstallTest/Controller/Plugin/PrerequisitesTest.php', |
|
| 5 | + 'InstallTest\Controller\Plugin\YawikConfigCreatorTest' => __DIR__.'/InstallTest/Controller/Plugin/YawikConfigCreatorTest.php', |
|
| 6 | + 'InstallTest\Form\InstallationTest' => __DIR__.'/InstallTest/Form/InstallationTest.php', |
|
| 7 | + 'InstallTest\Validator\MongoDbConnectionStringTest' => __DIR__.'/InstallTest/Validator/MongoDbConnectionStringTest.php', |
|
| 8 | 8 | ); |
@@ -40,7 +40,7 @@ discard block |
||
| 40 | 40 | */ |
| 41 | 41 | public function testFreeValuesKeysCanBeSetThroughConstructor() |
| 42 | 42 | { |
| 43 | - $keys = [ 'key1', 'key2' ]; |
|
| 43 | + $keys = ['key1', 'key2']; |
|
| 44 | 44 | $target = new TemplateValuesHydrator($keys); |
| 45 | 45 | |
| 46 | 46 | $this->assertAttributeEquals($keys, 'freeValuesKeys', $target); |
@@ -52,7 +52,7 @@ discard block |
||
| 52 | 52 | public function testSetAndGetFreeValuesKeys() |
| 53 | 53 | { |
| 54 | 54 | $target = new TemplateValuesHydrator(); |
| 55 | - $keys = [ 'key1', 'key2' ]; |
|
| 55 | + $keys = ['key1', 'key2']; |
|
| 56 | 56 | |
| 57 | 57 | $this->assertSame($target, $target->setFreeValuesKeys($keys), 'Fluent interface broken.'); |
| 58 | 58 | $this->assertEquals($keys, $target->getFreeValuesKeys()); |
@@ -67,7 +67,7 @@ discard block |
||
| 67 | 67 | $values->freeKey1 = 'value1'; |
| 68 | 68 | $values->ignoredKey = 'irrelephant'; |
| 69 | 69 | |
| 70 | - $target = new TemplateValuesHydrator([ 'freeKey1' ]); |
|
| 70 | + $target = new TemplateValuesHydrator(['freeKey1']); |
|
| 71 | 71 | |
| 72 | 72 | $data = $target->extract($values); |
| 73 | 73 | |
@@ -82,7 +82,7 @@ discard block |
||
| 82 | 82 | public function testHydrate() |
| 83 | 83 | { |
| 84 | 84 | $values = new TemplateValues(); |
| 85 | - $target = new TemplateValuesHydrator([ 'testKeyOne' ]); |
|
| 85 | + $target = new TemplateValuesHydrator(['testKeyOne']); |
|
| 86 | 86 | $data = [ |
| 87 | 87 | 'testKeyOne' => 'testValue', |
| 88 | 88 | 'ignoredKey' => 'irrelevant' |
@@ -48,7 +48,7 @@ |
||
| 48 | 48 | extract($params); |
| 49 | 49 | |
| 50 | 50 | if (!empty($createOrganization)) { |
| 51 | - $organization = OrganizationEntityProvider::createEntityWithRandomData((array)$createOrganization); |
|
| 51 | + $organization = OrganizationEntityProvider::createEntityWithRandomData((array) $createOrganization); |
|
| 52 | 52 | } |
| 53 | 53 | |
| 54 | 54 | return array_merge($params, compact('organization')); |
@@ -31,7 +31,7 @@ discard block |
||
| 31 | 31 | */ |
| 32 | 32 | public function testSetGetMultipostingApprovalMail() |
| 33 | 33 | { |
| 34 | - $mail="[email protected]"; |
|
| 34 | + $mail = "[email protected]"; |
|
| 35 | 35 | |
| 36 | 36 | $this->options->setMultipostingApprovalMail($mail); |
| 37 | 37 | $this->assertEquals($mail, $this->options->getMultipostingApprovalMail()); |
@@ -43,7 +43,7 @@ discard block |
||
| 43 | 43 | */ |
| 44 | 44 | public function testSetGetDefaultLogo() |
| 45 | 45 | { |
| 46 | - $image="image.png"; |
|
| 46 | + $image = "image.png"; |
|
| 47 | 47 | |
| 48 | 48 | $this->options->setDefaultLogo($image); |
| 49 | 49 | $this->assertEquals($image, $this->options->getDefaultLogo()); |
@@ -55,7 +55,7 @@ discard block |
||
| 55 | 55 | */ |
| 56 | 56 | public function testSetGetMultipostingTargetUri() |
| 57 | 57 | { |
| 58 | - $uri="http://test.de/uri"; |
|
| 58 | + $uri = "http://test.de/uri"; |
|
| 59 | 59 | $this->options->setMultipostingTargetUri($uri); |
| 60 | 60 | $this->assertEquals($uri, $this->options->getMultipostingTargetUri()); |
| 61 | 61 | } |
@@ -66,7 +66,7 @@ discard block |
||
| 66 | 66 | */ |
| 67 | 67 | public function testSetGetCompanyLogoMaxSize() |
| 68 | 68 | { |
| 69 | - $size='1234'; |
|
| 69 | + $size = '1234'; |
|
| 70 | 70 | |
| 71 | 71 | $this->options->setCompanyLogoMaxSize($size); |
| 72 | 72 | $this->assertEquals($size, $this->options->getCompanyLogoMaxSize()); |
@@ -78,7 +78,7 @@ discard block |
||
| 78 | 78 | */ |
| 79 | 79 | public function testSetGetCompanyLogoMimeType() |
| 80 | 80 | { |
| 81 | - $mime=array("text/plain"); |
|
| 81 | + $mime = array("text/plain"); |
|
| 82 | 82 | |
| 83 | 83 | $this->options->setCompanyLogoMimeType($mime); |
| 84 | 84 | $this->assertEquals($mime, $this->options->getCompanyLogoMimeType()); |
@@ -134,7 +134,7 @@ |
||
| 134 | 134 | * @testdox Implements \Organizations\Entity\EmployeeInterface |
| 135 | 135 | * @dataProvider provideStatusCheckData |
| 136 | 136 | */ |
| 137 | - public function testConvinientStatusCheckMethods($initialStatus, $expectedResults, $strict=null) |
|
| 137 | + public function testConvinientStatusCheckMethods($initialStatus, $expectedResults, $strict = null) |
|
| 138 | 138 | { |
| 139 | 139 | $this->target->setStatus($initialStatus); |
| 140 | 140 | |
@@ -47,7 +47,7 @@ |
||
| 47 | 47 | extract($params); |
| 48 | 48 | |
| 49 | 49 | if (!empty($createOrganizationName)) { |
| 50 | - $organizationName = OrganizationNameEntityProvider::createEntityWithRandomData((array)$createOrganizationName); |
|
| 50 | + $organizationName = OrganizationNameEntityProvider::createEntityWithRandomData((array) $createOrganizationName); |
|
| 51 | 51 | } |
| 52 | 52 | |
| 53 | 53 | return array_merge($params, compact('organizationName')); |
@@ -84,9 +84,9 @@ |
||
| 84 | 84 | array('setLabelRequirements', 'getLabelRequirements', 'test1'), |
| 85 | 85 | array('setLabelBenefits', 'getLabelBenefits', 'test2'), |
| 86 | 86 | array('setLabelQualifications', 'getLabelQualifications', 'test2'), |
| 87 | - array(null , 'getLabelRequirements', 'Requirements'), |
|
| 88 | - array(null , 'getLabelBenefits', 'Benefits'), |
|
| 89 | - array(null , 'getLabelQualifications', 'Qualifications'), |
|
| 87 | + array(null, 'getLabelRequirements', 'Requirements'), |
|
| 88 | + array(null, 'getLabelBenefits', 'Benefits'), |
|
| 89 | + array(null, 'getLabelQualifications', 'Qualifications'), |
|
| 90 | 90 | |
| 91 | 91 | ); |
| 92 | 92 | } |
@@ -121,7 +121,7 @@ |
||
| 121 | 121 | 'attributes' => [ |
| 122 | 122 | 'data-placeholder' => /*@translate*/ 'please select', |
| 123 | 123 | 'data-allowclear' => 'false', |
| 124 | - 'data-searchbox' => -1, // hide the search box |
|
| 124 | + 'data-searchbox' => -1, // hide the search box |
|
| 125 | 125 | 'required' => true, // mark label as required |
| 126 | 126 | ], |
| 127 | 127 | ) |
@@ -30,7 +30,7 @@ discard block |
||
| 30 | 30 | * Gets the Day of the date of birth |
| 31 | 31 | * |
| 32 | 32 | * @return string |
| 33 | - */ |
|
| 33 | + */ |
|
| 34 | 34 | public function getBirthDay(); |
| 35 | 35 | |
| 36 | 36 | /** |
@@ -44,7 +44,7 @@ discard block |
||
| 44 | 44 | * Gets the month of the date of birth |
| 45 | 45 | * |
| 46 | 46 | * @return string |
| 47 | - */ |
|
| 47 | + */ |
|
| 48 | 48 | public function getBirthMonth(); |
| 49 | 49 | |
| 50 | 50 | /** |
@@ -58,7 +58,7 @@ discard block |
||
| 58 | 58 | * Gets the Year of the date of birth. |
| 59 | 59 | * |
| 60 | 60 | * @return string |
| 61 | - */ |
|
| 61 | + */ |
|
| 62 | 62 | public function getBirthYear(); |
| 63 | 63 | |
| 64 | 64 | /** |
@@ -111,7 +111,7 @@ discard block |
||
| 111 | 111 | * Gets the gender |
| 112 | 112 | * |
| 113 | 113 | * @return string |
| 114 | - */ |
|
| 114 | + */ |
|
| 115 | 115 | public function getGender(); |
| 116 | 116 | |
| 117 | 117 | |
@@ -154,7 +154,7 @@ discard block |
||
| 154 | 154 | * Gets the users street |
| 155 | 155 | * |
| 156 | 156 | * @return string |
| 157 | - */ |
|
| 157 | + */ |
|
| 158 | 158 | public function getStreet(); |
| 159 | 159 | |
| 160 | 160 | /** |