@@ -92,7 +92,7 @@ discard block |
||
92 | 92 | 'imgDir' => 'public/captcha', |
93 | 93 | 'imgUrl' => '/captcha' |
94 | 94 | ]; |
95 | - $target=$this->options; |
|
95 | + $target = $this->options; |
|
96 | 96 | $target->setImage($params); |
97 | 97 | |
98 | 98 | $this->assertSame($target->getImage(), $params); |
@@ -105,7 +105,7 @@ discard block |
||
105 | 105 | public function testSetGetReCaptcha() |
106 | 106 | { |
107 | 107 | $params = new ReCaptcha(); |
108 | - $target=$this->options; |
|
108 | + $target = $this->options; |
|
109 | 109 | $target->setReCaptcha($params); |
110 | 110 | $this->assertSame($target->getReCaptcha(), $params); |
111 | 111 | } |
@@ -39,12 +39,12 @@ |
||
39 | 39 | StatusSelectFactory::class, |
40 | 40 | '@testCreateService' => [ |
41 | 41 | 'mock' => [ |
42 | - '__invoke' => ['@with' => 'getInvokeMockArgs','count' => 1] |
|
42 | + '__invoke' => ['@with' => 'getInvokeMockArgs', 'count' => 1] |
|
43 | 43 | ] |
44 | 44 | ], |
45 | 45 | ]; |
46 | 46 | |
47 | - private $inheritance = [ FactoryInterface::class ]; |
|
47 | + private $inheritance = [FactoryInterface::class]; |
|
48 | 48 | |
49 | 49 | private function getInvokeMockArgs() |
50 | 50 | { |
@@ -44,7 +44,7 @@ |
||
44 | 44 | ], |
45 | 45 | ]; |
46 | 46 | |
47 | - private $inheritance = [ FactoryInterface::class ]; |
|
47 | + private $inheritance = [FactoryInterface::class]; |
|
48 | 48 | |
49 | 49 | private function getInvokeArgs() |
50 | 50 | { |
@@ -35,7 +35,7 @@ |
||
35 | 35 | */ |
36 | 36 | private $target = PaginationQueryFactory::class; |
37 | 37 | |
38 | - private $inheritance = [ FactoryInterface::class ]; |
|
38 | + private $inheritance = [FactoryInterface::class]; |
|
39 | 39 | |
40 | 40 | public function testCreateService() |
41 | 41 | { |
@@ -77,7 +77,7 @@ discard block |
||
77 | 77 | */ |
78 | 78 | public function testSetGetDate() |
79 | 79 | { |
80 | - $input=new \DateTime("2012-05-06"); |
|
80 | + $input = new \DateTime("2012-05-06"); |
|
81 | 81 | $this->target->setDate($input); |
82 | 82 | $this->assertEquals($this->target->getDate(), $input); |
83 | 83 | } |
@@ -89,7 +89,7 @@ discard block |
||
89 | 89 | */ |
90 | 90 | public function testSetGetStatus($status) |
91 | 91 | { |
92 | - $input=new Status($status); |
|
92 | + $input = new Status($status); |
|
93 | 93 | $this->target->setStatus($input); |
94 | 94 | $this->assertEquals($this->target->getStatus(), $input); |
95 | 95 | } |
@@ -110,7 +110,7 @@ discard block |
||
110 | 110 | */ |
111 | 111 | public function testSetGetMessage() |
112 | 112 | { |
113 | - $input="this is my message"; |
|
113 | + $input = "this is my message"; |
|
114 | 114 | $this->target->setMessage($input); |
115 | 115 | $this->assertEquals($this->target->getMessage(), $input); |
116 | 116 | } |
@@ -46,7 +46,7 @@ |
||
46 | 46 | |
47 | 47 | public function testSetGetRating() |
48 | 48 | { |
49 | - $input="1"; |
|
49 | + $input = "1"; |
|
50 | 50 | $this->target->setRating($input); |
51 | 51 | $this->assertEquals($this->target->getRating(), $input); |
52 | 52 | } |
@@ -105,7 +105,7 @@ |
||
105 | 105 | } |
106 | 106 | } |
107 | 107 | |
108 | - $assertMethod = 'assert' . ($expectedResult ? 'True' : 'False'); |
|
108 | + $assertMethod = 'assert'.($expectedResult ? 'True' : 'False'); |
|
109 | 109 | |
110 | 110 | |
111 | 111 | $this->$assertMethod($this->target->isValid($value)); |
@@ -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 | } |