Completed
Push — development ( 1f2cfc...95da5f )
by Thomas
01:33 queued 12s
created
htdocs_symfony/src/Repository/SupportUserRelationsRepository.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -153,7 +153,7 @@  discard block
 block discarded – undo
153 153
             $databaseArray
154 154
         );
155 155
 
156
-        $entity->id = (int) $this->connection->lastInsertId();
156
+        $entity->id = (int)$this->connection->lastInsertId();
157 157
 
158 158
         return $entity;
159 159
     }
@@ -231,11 +231,11 @@  discard block
 block discarded – undo
231 231
     public function getEntityFromDatabaseArray(array $data)
232 232
     : SupportUserRelationsEntity {
233 233
         $entity = new SupportUserRelationsEntity();
234
-        $entity->id = (int) $data['id'];
235
-        $entity->ocUserId = (int) $data['oc_user_id'];
236
-        $entity->nodeId = (int) $data['node_id'];
237
-        $entity->nodeUserId = (string) $data['node_user_id'];
238
-        $entity->nodeUsername = (string) $data['node_username'];
234
+        $entity->id = (int)$data['id'];
235
+        $entity->ocUserId = (int)$data['oc_user_id'];
236
+        $entity->nodeId = (int)$data['node_id'];
237
+        $entity->nodeUserId = (string)$data['node_user_id'];
238
+        $entity->nodeUsername = (string)$data['node_username'];
239 239
         $entity->node = $this->nodesRepository->fetchOneBy(['id' => $entity->nodeId]);
240 240
         $entity->user = $this->userRepository->fetchOneById($entity->ocUserId);
241 241
 
Please login to merge, or discard this patch.
htdocs_symfony/src/Repository/SupportListingCommentsRepository.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -141,7 +141,7 @@  discard block
 block discarded – undo
141 141
             $databaseArray
142 142
         );
143 143
 
144
-        $entity->id = (int) $this->connection->lastInsertId();
144
+        $entity->id = (int)$this->connection->lastInsertId();
145 145
 
146 146
         return $entity;
147 147
     }
@@ -219,11 +219,11 @@  discard block
 block discarded – undo
219 219
     public function getEntityFromDatabaseArray(array $data)
220 220
     : SupportListingCommentsEntity {
221 221
         $entity = new SupportListingCommentsEntity('');
222
-        $entity->id = (int) $data['id'];
223
-        $entity->wpOc = (string) $data['wp_oc'];
224
-        $entity->comment = (string) $data['comment'];
225
-        $entity->commentCreated = (string) $data['comment_created'];
226
-        $entity->commentLastModified = (string) $data['comment_last_modified'];
222
+        $entity->id = (int)$data['id'];
223
+        $entity->wpOc = (string)$data['wp_oc'];
224
+        $entity->comment = (string)$data['comment'];
225
+        $entity->commentCreated = (string)$data['comment_created'];
226
+        $entity->commentLastModified = (string)$data['comment_last_modified'];
227 227
 
228 228
         return $entity;
229 229
     }
Please login to merge, or discard this patch.
htdocs_symfony/src/Repository/SupportBonuscachesRepository.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -140,7 +140,7 @@  discard block
 block discarded – undo
140 140
             $databaseArray
141 141
         );
142 142
 
143
-        $entity->id = (int) $this->connection->lastInsertId();
143
+        $entity->id = (int)$this->connection->lastInsertId();
144 144
 
145 145
         return $entity;
146 146
     }
@@ -216,10 +216,10 @@  discard block
 block discarded – undo
216 216
     public function getEntityFromDatabaseArray(array $data)
217 217
     : SupportBonuscachesEntity {
218 218
         $entity = new SupportBonuscachesEntity();
219
-        $entity->id = (int) $data['id'];
220
-        $entity->wpOc = (string) $data['wp_oc'];
221
-        $entity->isBonusCache = (bool) $data['is_bonus_cache'];
222
-        $entity->belongsToBonusCache = (string) $data['belongs_to_bonus_cache'];
219
+        $entity->id = (int)$data['id'];
220
+        $entity->wpOc = (string)$data['wp_oc'];
221
+        $entity->isBonusCache = (bool)$data['is_bonus_cache'];
222
+        $entity->belongsToBonusCache = (string)$data['belongs_to_bonus_cache'];
223 223
 
224 224
         return $entity;
225 225
     }
Please login to merge, or discard this patch.
htdocs_symfony/src/Repository/UserRepository.php 1 patch
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -144,7 +144,7 @@  discard block
 block discarded – undo
144 144
             $databaseArray
145 145
         );
146 146
 
147
-        $entity->id = (int) $this->connection->lastInsertId();
147
+        $entity->id = (int)$this->connection->lastInsertId();
148 148
 
149 149
         return $entity;
150 150
     }
@@ -172,7 +172,7 @@  discard block
 block discarded – undo
172 172
             ['user_id' => $entity->id]
173 173
         );
174 174
 
175
-        $entity->id = (int) $this->connection->lastInsertId();
175
+        $entity->id = (int)$this->connection->lastInsertId();
176 176
 
177 177
         return $entity;
178 178
     }
@@ -249,16 +249,16 @@  discard block
 block discarded – undo
249 249
     public function getEntityFromDatabaseArray(array $data): UserEntity
250 250
     {
251 251
         $entity = new UserEntity();
252
-        $entity->id = (int) $data['user_id'];
253
-        $entity->dateCreated = (string) $data['date_created'];
254
-        $entity->lastModified = (string) $data['last_modified'];
252
+        $entity->id = (int)$data['user_id'];
253
+        $entity->dateCreated = (string)$data['date_created'];
254
+        $entity->lastModified = (string)$data['last_modified'];
255 255
         $entity->username = $data['username'];
256 256
         $entity->password = $data['password'];
257 257
         $entity->email = $data['email'];
258
-        $entity->emailProblems = (bool) $data['email_problems'];
259
-        $entity->latitude = (double) $data['latitude'];
260
-        $entity->longitude = (double) $data['longitude'];
261
-        $entity->isActive = (bool) $data['is_active_flag'];
258
+        $entity->emailProblems = (bool)$data['email_problems'];
259
+        $entity->latitude = (double)$data['latitude'];
260
+        $entity->longitude = (double)$data['longitude'];
261
+        $entity->isActive = (bool)$data['is_active_flag'];
262 262
         $entity->firstname = $data['first_name'];
263 263
         $entity->lastname = $data['last_name'];
264 264
         $entity->country = $data['country'];
Please login to merge, or discard this patch.
htdocs_symfony/src/Form/SupportUserAccountDetails.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -19,21 +19,21 @@
 block discarded – undo
19 19
         $builder
20 20
             ->add(
21 21
                 'button_account_inactive', SubmitType::class, [
22
-                                             'attr' => ['class' => 'btn btn-primary', 'style' => 'width: 180px;'],
23
-                                             'label' => false
24
-                                         ]
22
+                                                'attr' => ['class' => 'btn btn-primary', 'style' => 'width: 180px;'],
23
+                                                'label' => false
24
+                                            ]
25 25
             )
26 26
             ->add(
27 27
                 'button_GDPR_deletion', SubmitType::class, [
28
-                                          'attr' => ['class' => 'btn btn-primary', 'style' => 'width: 180px;'],
29
-                                          'label' => false
30
-                                      ]
28
+                                            'attr' => ['class' => 'btn btn-primary', 'style' => 'width: 180px;'],
29
+                                            'label' => false
30
+                                        ]
31 31
             )
32 32
             ->add(
33 33
                 'button_mark_email_invalid', SubmitType::class, [
34
-                                               'attr' => ['class' => 'btn btn-primary', 'style' => 'width: 180px;'],
35
-                                               'label' => false
36
-                                           ]
34
+                                                'attr' => ['class' => 'btn btn-primary', 'style' => 'width: 180px;'],
35
+                                                'label' => false
36
+                                            ]
37 37
             )
38 38
             ->add(
39 39
                 'check_Sure', CheckboxType::class, [
Please login to merge, or discard this patch.
htdocs_symfony/src/Repository/CacheLogsArchivedRepository.php 1 patch
Spacing   +17 added lines, -17 removed lines patch added patch discarded remove patch
@@ -143,7 +143,7 @@  discard block
 block discarded – undo
143 143
             $databaseArray
144 144
         );
145 145
 
146
-        $entity->id = (int) $this->connection->lastInsertId();
146
+        $entity->id = (int)$this->connection->lastInsertId();
147 147
 
148 148
         return $entity;
149 149
     }
@@ -240,30 +240,30 @@  discard block
 block discarded – undo
240 240
     public function getEntityFromDatabaseArray(array $data)
241 241
     {
242 242
         $entity = new GeoCacheLogsArchivedEntity();
243
-        $entity->id = (int) $data['id'];
244
-        $entity->uuid = (string) $data['uuid'];
245
-        $entity->node = (int) $data['node'];
243
+        $entity->id = (int)$data['id'];
244
+        $entity->uuid = (string)$data['uuid'];
245
+        $entity->node = (int)$data['node'];
246 246
         $entity->dateCreated = new DateTime($data['date_created']);
247 247
         $entity->entryLastModified = new DateTime($data['entry_last_modified']);
248 248
         $entity->lastModified = date('Y-m-d H:i:s');
249
-        $entity->okapiSyncbase = (string) $data['okapi_syncbase'];
249
+        $entity->okapiSyncbase = (string)$data['okapi_syncbase'];
250 250
         $entity->logLastModified = new DateTime($data['log_last_modified']);
251
-        $entity->cacheId = (int) $data['cache_id'];
252
-        $entity->userId = (int) $data['user_id'];
253
-        $entity->type = (int) $data['type'];
254
-        $entity->ocTeamComment = (int) $data['oc_team_comment'];
251
+        $entity->cacheId = (int)$data['cache_id'];
252
+        $entity->userId = (int)$data['user_id'];
253
+        $entity->type = (int)$data['type'];
254
+        $entity->ocTeamComment = (int)$data['oc_team_comment'];
255 255
         $entity->date = new DateTime($data['date']);
256 256
         $entity->orderDate = new DateTime($data['order_date']);
257
-        $entity->needsMaintenance = (int) $data['needs_maintenance'];
258
-        $entity->listingOutdated = (int) $data['listing_outdated'];
259
-        $entity->text = (string) $data['text'];
260
-        $entity->textHtml = (int) $data['text_html'];
261
-        $entity->textHtmledit = (int) $data['text_htmledit'];
262
-        $entity->ownerNotified = (int) $data['owner_notified'];
257
+        $entity->needsMaintenance = (int)$data['needs_maintenance'];
258
+        $entity->listingOutdated = (int)$data['listing_outdated'];
259
+        $entity->text = (string)$data['text'];
260
+        $entity->textHtml = (int)$data['text_html'];
261
+        $entity->textHtmledit = (int)$data['text_htmledit'];
262
+        $entity->ownerNotified = (int)$data['owner_notified'];
263 263
         $entity->picture = $data['picture'];
264 264
         $entity->deletionDate = new DateTime($data['deletion_date']);
265
-        $entity->deletedBy = (int) $data['deleted_by'];
266
-        $entity->restoredBy = (int) $data['restored_by'];
265
+        $entity->deletedBy = (int)$data['deleted_by'];
266
+        $entity->restoredBy = (int)$data['restored_by'];
267 267
 
268 268
         return $entity;
269 269
     }
Please login to merge, or discard this patch.
htdocs_symfony/src/Repository/SupportUserCommentsRepository.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -145,7 +145,7 @@  discard block
 block discarded – undo
145 145
             $databaseArray
146 146
         );
147 147
 
148
-        $entity->id = (int) $this->connection->lastInsertId();
148
+        $entity->id = (int)$this->connection->lastInsertId();
149 149
 
150 150
         return $entity;
151 151
     }
@@ -223,11 +223,11 @@  discard block
 block discarded – undo
223 223
     public function getEntityFromDatabaseArray(array $data)
224 224
     : SupportUserCommentsEntity {
225 225
         $entity = new SupportUserCommentsEntity(0);
226
-        $entity->id = (int) $data['id'];
227
-        $entity->ocUserId = (int) $data['oc_user_id'];
226
+        $entity->id = (int)$data['id'];
227
+        $entity->ocUserId = (int)$data['oc_user_id'];
228 228
         $entity->user = $this->userRepository->fetchOneById($entity->ocUserId);
229
-        $entity->comment = (string) $data['comment'];
230
-        $entity->commentCreated = (string) $data['comment_created'];
229
+        $entity->comment = (string)$data['comment'];
230
+        $entity->commentCreated = (string)$data['comment_created'];
231 231
         $entity->commentLastModified = date('Y-m-d H:i:s');
232 232
 
233 233
         return $entity;
Please login to merge, or discard this patch.
htdocs_symfony/src/Form/SupportBonusCachesAssignment.php 1 patch
Indentation   +28 added lines, -28 removed lines patch added patch discarded remove patch
@@ -16,40 +16,40 @@
 block discarded – undo
16 16
         $builder
17 17
             ->add(
18 18
                 'content_wp_to_be_assigned', null, [
19
-                                               'attr' => [
20
-                                                   'placeholder' => 'waypoint',
21
-                                                   'size' => '10%',
22
-                                                   'minlength' => '6',
23
-                                                   'maxlength' => '7',
24
-                                                   'pattern' => '[a-fA-FoO0-9]{6,7}',
25
-                                                   'style' => 'width: 250px;'
26
-                                               ],
27
-                                               'required' => false,
28
-                                               'disabled' => false,
29
-                                               'label' => false,
30
-                                               'trim' => true
31
-                                           ]
19
+                                                'attr' => [
20
+                                                    'placeholder' => 'waypoint',
21
+                                                    'size' => '10%',
22
+                                                    'minlength' => '6',
23
+                                                    'maxlength' => '7',
24
+                                                    'pattern' => '[a-fA-FoO0-9]{6,7}',
25
+                                                    'style' => 'width: 250px;'
26
+                                                ],
27
+                                                'required' => false,
28
+                                                'disabled' => false,
29
+                                                'label' => false,
30
+                                                'trim' => true
31
+                                            ]
32 32
             )
33 33
             ->add(
34 34
                 'content_wp_that_is_bonus_cache', null, [
35
-                                               'attr' => [
36
-                                                   'placeholder' => 'waypoint bonus',
37
-                                                   'size' => '10%',
38
-                                                   'minlength' => '6',
39
-                                                   'maxlength' => '7',
40
-                                                   'style' => 'width: 250px;'
41
-                                               ],
42
-                                               'required' => true,
43
-                                               'disabled' => false,
44
-                                               'label' => false,
45
-                                               'trim' => true
46
-                                           ]
35
+                                                'attr' => [
36
+                                                    'placeholder' => 'waypoint bonus',
37
+                                                    'size' => '10%',
38
+                                                    'minlength' => '6',
39
+                                                    'maxlength' => '7',
40
+                                                    'style' => 'width: 250px;'
41
+                                                ],
42
+                                                'required' => true,
43
+                                                'disabled' => false,
44
+                                                'label' => false,
45
+                                                'trim' => true
46
+                                            ]
47 47
             )
48 48
         ->add(
49 49
             'start_assignment', SubmitType::class, [
50
-                              'attr' => ['class' => 'btn btn-primary', 'style' => 'width: 100px;'],
51
-                              'label' => false
52
-                          ]
50
+                                'attr' => ['class' => 'btn btn-primary', 'style' => 'width: 100px;'],
51
+                                'label' => false
52
+                            ]
53 53
         );
54 54
     }
55 55
 }
Please login to merge, or discard this patch.
htdocs_symfony/src/Repository/NodesRepository.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -144,7 +144,7 @@  discard block
 block discarded – undo
144 144
             $databaseArray
145 145
         );
146 146
 
147
-        $entity->id = (int) $this->connection->lastInsertId();
147
+        $entity->id = (int)$this->connection->lastInsertId();
148 148
 
149 149
         return $entity;
150 150
     }
@@ -220,10 +220,10 @@  discard block
 block discarded – undo
220 220
     public function getEntityFromDatabaseArray(array $data) : NodesEntity
221 221
     {
222 222
         $entity = new NodesEntity();
223
-        $entity->id = (int) $data['id'];
224
-        $entity->name = (string) $data['name'];
225
-        $entity->url = (string) $data['url'];
226
-        $entity->waypointPrefix = (string) $data['waypoint_prefix'];
223
+        $entity->id = (int)$data['id'];
224
+        $entity->name = (string)$data['name'];
225
+        $entity->url = (string)$data['url'];
226
+        $entity->waypointPrefix = (string)$data['waypoint_prefix'];
227 227
 
228 228
         return $entity;
229 229
     }
Please login to merge, or discard this patch.