@@ -52,7 +52,7 @@ discard block |
||
52 | 52 | * @covers \Applications\Entity\Settings::setMailAccess |
53 | 53 | * @covers \Applications\Entity\Settings::getMailAccess |
54 | 54 | */ |
55 | - public function testSetGetMailAccess($input,$expected){ |
|
55 | + public function testSetGetMailAccess($input, $expected) { |
|
56 | 56 | $this->target->setMailAccess($input); |
57 | 57 | $this->assertEquals($this->target->getMailAccess(), $expected); |
58 | 58 | } |
@@ -63,7 +63,7 @@ discard block |
||
63 | 63 | return [ |
64 | 64 | [1, true], |
65 | 65 | [true, true], |
66 | - [false,false], |
|
66 | + [false, false], |
|
67 | 67 | ["1", true], |
68 | 68 | ]; |
69 | 69 | } |
@@ -54,7 +54,7 @@ discard block |
||
54 | 54 | */ |
55 | 55 | public function testSetGetSubject() |
56 | 56 | { |
57 | - $input="subject of the mail"; |
|
57 | + $input = "subject of the mail"; |
|
58 | 58 | $this->target->setSubject($input); |
59 | 59 | $this->assertEquals($this->target->getSubject(), $input); |
60 | 60 | } |
@@ -65,7 +65,7 @@ discard block |
||
65 | 65 | */ |
66 | 66 | public function testSetGetMailText() |
67 | 67 | { |
68 | - $input="this is the mailtext"; |
|
68 | + $input = "this is the mailtext"; |
|
69 | 69 | $this->target->setMailText($input); |
70 | 70 | $this->assertEquals($this->target->getMailText(), $input); |
71 | 71 | } |
@@ -46,26 +46,26 @@ |
||
46 | 46 | |
47 | 47 | public function testSetGetExpectedSalary() |
48 | 48 | { |
49 | - $input="1000€"; |
|
49 | + $input = "1000€"; |
|
50 | 50 | $this->target->setExpectedSalary($input); |
51 | 51 | $this->assertEquals($this->target->getExpectedSalary(), $input); |
52 | 52 | } |
53 | 53 | |
54 | 54 | public function testSetGetWillingnessToTravel() |
55 | 55 | { |
56 | - $input="test"; |
|
56 | + $input = "test"; |
|
57 | 57 | $this->target->setWillingnessToTravel($input); |
58 | 58 | $this->assertEquals($this->target->getWillingnessToTravel(), $input); |
59 | 59 | } |
60 | 60 | public function testSetGetEarliestStartingDate() |
61 | 61 | { |
62 | - $input="1000€"; |
|
62 | + $input = "1000€"; |
|
63 | 63 | $this->target->setEarliestStartingDate($input); |
64 | 64 | $this->assertEquals($this->target->getEarliestStartingDate(), $input); |
65 | 65 | } |
66 | 66 | public function testSetGetDrivingLicense() |
67 | 67 | { |
68 | - $input="1000€"; |
|
68 | + $input = "1000€"; |
|
69 | 69 | $this->target->setDrivingLicense($input); |
70 | 70 | $this->assertEquals($this->target->getDrivingLicense(), $input); |
71 | 71 | } |
@@ -57,7 +57,7 @@ discard block |
||
57 | 57 | |
58 | 58 | public function testSetGetMessage() |
59 | 59 | { |
60 | - $message="this message"; |
|
60 | + $message = "this message"; |
|
61 | 61 | $this->target->setMessage($message); |
62 | 62 | $this->assertEquals($this->target->getMessage(), $message); |
63 | 63 | } |
@@ -91,12 +91,12 @@ discard block |
||
91 | 91 | public function testPreUpdate() |
92 | 92 | { |
93 | 93 | $this->target->preUpdate(); |
94 | - $this->assertInstanceOf("\DateTime",$this->target->getDateModified()); |
|
94 | + $this->assertInstanceOf("\DateTime", $this->target->getDateModified()); |
|
95 | 95 | } |
96 | 96 | |
97 | 97 | public function testPrePersist() |
98 | 98 | { |
99 | 99 | $this->target->prePersist(); |
100 | - $this->assertInstanceOf("\DateTime",$this->target->getDateCreated()); |
|
100 | + $this->assertInstanceOf("\DateTime", $this->target->getDateCreated()); |
|
101 | 101 | } |
102 | 102 | } |
@@ -46,14 +46,14 @@ |
||
46 | 46 | |
47 | 47 | public function testSetGetUri() |
48 | 48 | { |
49 | - $uri="http://test.de/test"; |
|
49 | + $uri = "http://test.de/test"; |
|
50 | 50 | $this->target->setUri($uri); |
51 | 51 | $this->assertEquals($this->target->getUri(), $uri); |
52 | 52 | } |
53 | 53 | |
54 | 54 | public function testSetGetName() |
55 | 55 | { |
56 | - $name="myPersonalYawik"; |
|
56 | + $name = "myPersonalYawik"; |
|
57 | 57 | $this->target->setName($name); |
58 | 58 | $this->assertEquals($this->target->getName(), $name); |
59 | 59 | } |
@@ -61,8 +61,8 @@ discard block |
||
61 | 61 | [ |
62 | 62 | [StatusInterface::INCOMING, StatusInterface::INCOMING], |
63 | 63 | [StatusInterface::ACCEPTED, StatusInterface::ACCEPTED], |
64 | - [StatusInterface::CONFIRMED,StatusInterface::CONFIRMED], |
|
65 | - [StatusInterface::INVITED, StatusInterface::INVITED], |
|
64 | + [StatusInterface::CONFIRMED, StatusInterface::CONFIRMED], |
|
65 | + [StatusInterface::INVITED, StatusInterface::INVITED], |
|
66 | 66 | [StatusInterface::REJECTED, StatusInterface::REJECTED], |
67 | 67 | |
68 | 68 | ]; |
@@ -95,7 +95,7 @@ discard block |
||
95 | 95 | */ |
96 | 96 | public function testGetUnknownStatus() |
97 | 97 | { |
98 | - $expected="foobar"; |
|
98 | + $expected = "foobar"; |
|
99 | 99 | $status = new Status("unknown status"); |
100 | 100 | $this->assertEquals($status->getOrder(), $expected); |
101 | 101 | } |
@@ -48,7 +48,7 @@ discard block |
||
48 | 48 | |
49 | 49 | public function testSetGetEmptySummaryText() |
50 | 50 | { |
51 | - $input="Klick here"; |
|
51 | + $input = "Klick here"; |
|
52 | 52 | $this->target->setEmptySummaryNotice($input); |
53 | 53 | $this->assertSame($this->target->getEmptySummaryNotice(), $input); |
54 | 54 | } |
@@ -65,8 +65,8 @@ discard block |
||
65 | 65 | public function providerDisableCapable() |
66 | 66 | { |
67 | 67 | return [ |
68 | - [true,true], |
|
69 | - [false,false], |
|
68 | + [true, true], |
|
69 | + [false, false], |
|
70 | 70 | [null, true] |
71 | 71 | ]; |
72 | 72 | } |
@@ -83,8 +83,8 @@ discard block |
||
83 | 83 | public function providerDisableElementCapable() |
84 | 84 | { |
85 | 85 | return [ |
86 | - [true,true], |
|
87 | - [false,false], |
|
86 | + [true, true], |
|
87 | + [false, false], |
|
88 | 88 | [null, true] |
89 | 89 | ]; |
90 | 90 | } |
@@ -46,7 +46,7 @@ discard block |
||
46 | 46 | ]] |
47 | 47 | ]; |
48 | 48 | |
49 | - private $inheritance = [ Select::class, HeadscriptProviderInterface::class ]; |
|
49 | + private $inheritance = [Select::class, HeadscriptProviderInterface::class]; |
|
50 | 50 | |
51 | 51 | public function propertiesProvider() |
52 | 52 | { |
@@ -63,7 +63,7 @@ discard block |
||
63 | 63 | 'getter_method' => 'getValue', |
64 | 64 | 'expect' => $job->getId(), |
65 | 65 | 'value' => $job, |
66 | - 'post' => function () use ($job) { |
|
66 | + 'post' => function() use ($job) { |
|
67 | 67 | $this->assertEquals([0 => '', $job->getId() => $job->getTitle()], $this->target->getValueOptions()); |
68 | 68 | } |
69 | 69 | ]] |
@@ -38,7 +38,7 @@ |
||
38 | 38 | '@testAddElements' => ['mock' => ['add', 'setButtonElement' => ['with' => 'unread', 'count' => 1]]], |
39 | 39 | ]; |
40 | 40 | |
41 | - private $inheritance = [ SearchForm::class ]; |
|
41 | + private $inheritance = [SearchForm::class]; |
|
42 | 42 | |
43 | 43 | private $attributes = [ |
44 | 44 | 'options' => [ |