Completed
Push — master ( 58f753...77021e )
by Carsten
08:12 queued 10s
created
module/Jobs/test/JobsTest/Entity/TemplateValuesTest.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -85,11 +85,11 @@
 block discarded – undo
85 85
             array('setDescription', 'getDescription', 'test2'),
86 86
             array('setTitle', 'getTitle', 'test2'),
87 87
             array('setLanguage', 'getLanguage', 'test2'),
88
-            array(null , 'getRequirements', ''),
89
-            array(null , 'getBenefits', ''),
90
-            array(null , 'getQualifications', ''),
91
-            array(null , 'getTitle', ''),
92
-            array(null , 'getLanguage', 'en'),
88
+            array(null, 'getRequirements', ''),
89
+            array(null, 'getBenefits', ''),
90
+            array(null, 'getQualifications', ''),
91
+            array(null, 'getTitle', ''),
92
+            array(null, 'getLanguage', 'en'),
93 93
         );
94 94
     }
95 95
 }
Please login to merge, or discard this patch.
module/Jobs/test/JobsTest/Entity/CoordinatesTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@
 block discarded – undo
63 63
      */
64 64
     public function testSetGetCoordinates()
65 65
     {
66
-        $input = [50,8];
66
+        $input = [50, 8];
67 67
         $this->target->setCoordinates($input);
68 68
         $this->assertEquals($input, $this->target->getCoordinates());
69 69
     }
Please login to merge, or discard this patch.
module/Jobs/test/JobsTest/Entity/JobSnapshotStatusTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
         'as_reflection' => true,
36 36
     ];
37 37
 
38
-    private $inheritance = [ AbstractStatus::class ];
38
+    private $inheritance = [AbstractStatus::class];
39 39
 
40 40
     public function testStatusConstants()
41 41
     {
Please login to merge, or discard this patch.
module/Jobs/test/JobsTest/Entity/CategoryTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,5 +28,5 @@
 block discarded – undo
28 28
 
29 29
     private $target = Category::class;
30 30
 
31
-    private $inheritance = [ Node::class ];
31
+    private $inheritance = [Node::class];
32 32
 }
Please login to merge, or discard this patch.
module/Jobs/test/JobsTest/Options/ChannelOptionsTest.php 1 patch
Spacing   +15 added lines, -15 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
      */
32 32
     public function testSetGetLabel()
33 33
     {
34
-        $label="Jobsintown";
34
+        $label = "Jobsintown";
35 35
 
36 36
         $this->options->setLabel($label);
37 37
         $this->assertEquals($label, $this->options->getLabel());
@@ -43,7 +43,7 @@  discard block
 block discarded – undo
43 43
      */
44 44
     public function testSetGetKey()
45 45
     {
46
-        $key="jobsintown";
46
+        $key = "jobsintown";
47 47
 
48 48
         $this->options->setKey($key);
49 49
         $this->assertEquals($key, $this->options->getKey());
@@ -55,8 +55,8 @@  discard block
 block discarded – undo
55 55
      */
56 56
     public function testSetGetPrice()
57 57
     {
58
-        $key='test';
59
-        $price=199;
58
+        $key = 'test';
59
+        $price = 199;
60 60
         $this->options->setPrice($key, $price);
61 61
         $this->assertEquals($price, $this->options->getPrice($key));
62 62
     }
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
83 83
      */
84 84
     public function testSetGetTax()
85 85
     {
86
-        $tax='21';
86
+        $tax = '21';
87 87
 
88 88
         $this->options->setTax($tax);
89 89
         $this->assertEquals($tax, $this->options->getTax());
@@ -95,7 +95,7 @@  discard block
 block discarded – undo
95 95
      */
96 96
     public function testSetGetCurrency()
97 97
     {
98
-        $currency="EUR";
98
+        $currency = "EUR";
99 99
 
100 100
         $this->options->setCurrency($currency);
101 101
         $this->assertEquals($currency, $this->options->getCurrency());
@@ -107,7 +107,7 @@  discard block
 block discarded – undo
107 107
      */
108 108
     public function testSetGetPublishDuration()
109 109
     {
110
-        $days=60;
110
+        $days = 60;
111 111
 
112 112
         $this->options->setPublishDuration($days);
113 113
         $this->assertEquals($days, $this->options->getPublishDuration());
@@ -119,7 +119,7 @@  discard block
 block discarded – undo
119 119
      */
120 120
     public function testSetGetExternalKey()
121 121
     {
122
-        $key="1234";
122
+        $key = "1234";
123 123
 
124 124
         $this->options->setExternalkey($key);
125 125
         $this->assertEquals($key, $this->options->getExternalkey());
@@ -131,7 +131,7 @@  discard block
 block discarded – undo
131 131
      */
132 132
     public function testSetGetCategory()
133 133
     {
134
-        $category="Technical Jobs";
134
+        $category = "Technical Jobs";
135 135
 
136 136
         $this->options->setCategory($category);
137 137
         $this->assertEquals($category, $this->options->getCategory());
@@ -143,7 +143,7 @@  discard block
 block discarded – undo
143 143
      */
144 144
     public function testSetGetHeadline()
145 145
     {
146
-        $headline="Post Jobs on YAWIK";
146
+        $headline = "Post Jobs on YAWIK";
147 147
 
148 148
         $this->options->setHeadLine($headline);
149 149
         $this->assertEquals($headline, $this->options->getHeadLine());
@@ -155,7 +155,7 @@  discard block
 block discarded – undo
155 155
      */
156 156
     public function testSetGetDescription()
157 157
     {
158
-        $description="Post Jobs on YAWIK";
158
+        $description = "Post Jobs on YAWIK";
159 159
 
160 160
         $this->options->setDescription($description);
161 161
         $this->assertEquals($description, $this->options->getDescription());
@@ -167,7 +167,7 @@  discard block
 block discarded – undo
167 167
      */
168 168
     public function testSetGetLinkText()
169 169
     {
170
-        $linkText="YAWIK";
170
+        $linkText = "YAWIK";
171 171
 
172 172
         $this->options->setLinkText($linkText);
173 173
         $this->assertEquals($linkText, $this->options->getLinkText());
@@ -179,7 +179,7 @@  discard block
 block discarded – undo
179 179
      */
180 180
     public function testSetGetRoute()
181 181
     {
182
-        $route="YAWIK";
182
+        $route = "YAWIK";
183 183
 
184 184
         $this->options->setRoute($route);
185 185
         $this->assertEquals($route, $this->options->getRoute());
@@ -191,7 +191,7 @@  discard block
 block discarded – undo
191 191
      */
192 192
     public function testSetGetParams()
193 193
     {
194
-        $p=array(
194
+        $p = array(
195 195
                     'view' => 'jobs-publish-on-jobsintown'
196 196
         );
197 197
 
@@ -205,7 +205,7 @@  discard block
 block discarded – undo
205 205
      */
206 206
     public function testSetGetLogo()
207 207
     {
208
-        $input="test.logo.gif";
208
+        $input = "test.logo.gif";
209 209
         $this->options->setLogo($input);
210 210
         $this->assertEquals($input, $this->options->getLogo());
211 211
     }
Please login to merge, or discard this patch.
module/Jobs/test/JobsTest/Form/OrganizationSelectTest.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -51,9 +51,9 @@  discard block
 block discarded – undo
51 51
      */
52 52
     public function testSetAndGetHeadscripts()
53 53
     {
54
-        $this->assertEquals([ 'modules/Jobs/js/form.organization-select.js' ], $this->target->getHeadscripts());
55
-        $this->assertSame($this->target, $this->target->setHeadscripts([ 'script1' ]), 'Fluent interface broken on "setHeadscripts"');
56
-        $this->assertEquals([ 'script1' ], $this->target->getHeadscripts());
54
+        $this->assertEquals(['modules/Jobs/js/form.organization-select.js'], $this->target->getHeadscripts());
55
+        $this->assertSame($this->target, $this->target->setHeadscripts(['script1']), 'Fluent interface broken on "setHeadscripts"');
56
+        $this->assertEquals(['script1'], $this->target->getHeadscripts());
57 57
     }
58 58
 
59 59
     public function testSetsDefaultAttributesOnInit()
@@ -78,8 +78,8 @@  discard block
 block discarded – undo
78 78
         ]);
79 79
 
80 80
         return [
81
-            [ [ $org1 ], false ],
82
-            [ [ $org1 ], true ],
81
+            [[$org1], false],
82
+            [[$org1], true],
83 83
         ];
84 84
     }
85 85
 
Please login to merge, or discard this patch.
module/Jobs/test/JobsTest/Form/CustomerNoteTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
 
29 29
     private $target = CustomerNote::class;
30 30
 
31
-    private $inheritance = [ SummaryForm::class ];
31
+    private $inheritance = [SummaryForm::class];
32 32
 
33 33
     private $attributes = [
34 34
         'baseFieldset' => 'Jobs/CustomerNoteFieldset',
Please login to merge, or discard this patch.
module/Jobs/test/JobsTest/Form/AtsModeTest.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -42,9 +42,9 @@
 block discarded – undo
42 42
     {
43 43
         /* @var $target AtsMode */
44 44
         $target = $this->getMockBuilder('\Jobs\Form\AtsMode')
45
-                       ->disableOriginalConstructor()
46
-                       ->setMethods(array('addBaseFieldset', 'addButtonsFieldset'))
47
-                       ->getMock();
45
+                        ->disableOriginalConstructor()
46
+                        ->setMethods(array('addBaseFieldset', 'addButtonsFieldset'))
47
+                        ->getMock();
48 48
 
49 49
         $target->init();
50 50
 
Please login to merge, or discard this patch.
module/Jobs/test/JobsTest/Form/BaseFieldsetTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
         ],
35 35
     ];
36 36
 
37
-    private $inheritance = [ Fieldset::class ];
37
+    private $inheritance = [Fieldset::class];
38 38
 
39 39
     public function testInitialize()
40 40
     {
Please login to merge, or discard this patch.