Completed
Push — development ( 9e3728...14ea30 )
by Thomas
20s queued 12s
created
local/devel/Repositories/PicturesRepository.php 1 patch
Spacing   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -121,7 +121,7 @@  discard block
 block discarded – undo
121 121
             $databaseArray
122 122
         );
123 123
 
124
-        $entity->id = (int) $this->connection->lastInsertId();
124
+        $entity->id = (int)$this->connection->lastInsertId();
125 125
 
126 126
         return $entity;
127 127
     }
@@ -202,23 +202,23 @@  discard block
 block discarded – undo
202 202
     public function getEntityFromDatabaseArray(array $data)
203 203
     {
204 204
         $entity = new PicturesEntity();
205
-        $entity->id = (int) $data['id'];
206
-        $entity->uuid = (string) $data['uuid'];
207
-        $entity->node = (int) $data['node'];
205
+        $entity->id = (int)$data['id'];
206
+        $entity->uuid = (string)$data['uuid'];
207
+        $entity->node = (int)$data['node'];
208 208
         $entity->dateCreated = new DateTime($data['date_created']);
209 209
         $entity->lastModified = new DateTime($data['last_modified']);
210
-        $entity->url = (string) $data['url'];
211
-        $entity->title = (string) $data['title'];
210
+        $entity->url = (string)$data['url'];
211
+        $entity->title = (string)$data['title'];
212 212
         $entity->lastUrlCheck = new DateTime($data['last_url_check']);
213
-        $entity->objectId = (int) $data['object_id'];
214
-        $entity->objectType = (int) $data['object_type'];
215
-        $entity->thumbUrl = (string) $data['thumb_url'];
213
+        $entity->objectId = (int)$data['object_id'];
214
+        $entity->objectType = (int)$data['object_type'];
215
+        $entity->thumbUrl = (string)$data['thumb_url'];
216 216
         $entity->thumbLastGenerated = new DateTime($data['thumb_last_generated']);
217
-        $entity->spoiler = (int) $data['spoiler'];
218
-        $entity->local = (int) $data['local'];
219
-        $entity->unknownFormat = (int) $data['unknown_format'];
220
-        $entity->display = (int) $data['display'];
221
-        $entity->mappreview = (int) $data['mappreview'];
217
+        $entity->spoiler = (int)$data['spoiler'];
218
+        $entity->local = (int)$data['local'];
219
+        $entity->unknownFormat = (int)$data['unknown_format'];
220
+        $entity->display = (int)$data['display'];
221
+        $entity->mappreview = (int)$data['mappreview'];
222 222
         $entity->seq = $data['seq'];
223 223
 
224 224
         return $entity;
Please login to merge, or discard this patch.
local/devel/Repositories/UserRepository.php 1 patch
Spacing   +37 added lines, -37 removed lines patch added patch discarded remove patch
@@ -121,7 +121,7 @@  discard block
 block discarded – undo
121 121
             $databaseArray
122 122
         );
123 123
 
124
-        $entity->userId = (int) $this->connection->lastInsertId();
124
+        $entity->userId = (int)$this->connection->lastInsertId();
125 125
 
126 126
         return $entity;
127 127
     }
@@ -231,53 +231,53 @@  discard block
 block discarded – undo
231 231
     public function getEntityFromDatabaseArray(array $data)
232 232
     {
233 233
         $entity = new UserEntity();
234
-        $entity->userId = (int) $data['user_id'];
235
-        $entity->uuid = (string) $data['uuid'];
236
-        $entity->node = (int) $data['node'];
234
+        $entity->userId = (int)$data['user_id'];
235
+        $entity->uuid = (string)$data['uuid'];
236
+        $entity->node = (int)$data['node'];
237 237
         $entity->dateCreated = new DateTime($data['date_created']);
238 238
         $entity->lastModified = new DateTime($data['last_modified']);
239 239
         $entity->lastLogin = new DateTime($data['last_login']);
240
-        $entity->username = (string) $data['username'];
241
-        $entity->password = (string) $data['password'];
242
-        $entity->adminPassword = (string) $data['admin_password'];
243
-        $entity->roles = (string) $data['roles'];
244
-        $entity->email = (string) $data['email'];
245
-        $entity->emailProblems = (int) $data['email_problems'];
240
+        $entity->username = (string)$data['username'];
241
+        $entity->password = (string)$data['password'];
242
+        $entity->adminPassword = (string)$data['admin_password'];
243
+        $entity->roles = (string)$data['roles'];
244
+        $entity->email = (string)$data['email'];
245
+        $entity->emailProblems = (int)$data['email_problems'];
246 246
         $entity->firstEmailProblem = new DateTime($data['first_email_problem']);
247 247
         $entity->lastEmailProblem = new DateTime($data['last_email_problem']);
248
-        $entity->mailingProblems = (int) $data['mailing_problems'];
249
-        $entity->acceptMailing = (int) $data['accept_mailing'];
250
-        $entity->usermailSendAddr = (int) $data['usermail_send_addr'];
248
+        $entity->mailingProblems = (int)$data['mailing_problems'];
249
+        $entity->acceptMailing = (int)$data['accept_mailing'];
250
+        $entity->usermailSendAddr = (int)$data['usermail_send_addr'];
251 251
         $entity->latitude = $data['latitude'];
252 252
         $entity->longitude = $data['longitude'];
253
-        $entity->isActiveFlag = (int) $data['is_active_flag'];
254
-        $entity->lastName = (string) $data['last_name'];
255
-        $entity->firstName = (string) $data['first_name'];
256
-        $entity->country = (string) $data['country'];
257
-        $entity->pmrFlag = (int) $data['pmr_flag'];
258
-        $entity->newPwCode = (string) $data['new_pw_code'];
253
+        $entity->isActiveFlag = (int)$data['is_active_flag'];
254
+        $entity->lastName = (string)$data['last_name'];
255
+        $entity->firstName = (string)$data['first_name'];
256
+        $entity->country = (string)$data['country'];
257
+        $entity->pmrFlag = (int)$data['pmr_flag'];
258
+        $entity->newPwCode = (string)$data['new_pw_code'];
259 259
         $entity->newPwDate = new DateTime($data['new_pw_date']);
260
-        $entity->newEmailCode = (string) $data['new_email_code'];
260
+        $entity->newEmailCode = (string)$data['new_email_code'];
261 261
         $entity->newEmailDate = new DateTime($data['new_email_date']);
262
-        $entity->newEmail = (string) $data['new_email'];
263
-        $entity->permanentLoginFlag = (int) $data['permanent_login_flag'];
264
-        $entity->watchmailMode = (int) $data['watchmail_mode'];
265
-        $entity->watchmailHour = (int) $data['watchmail_hour'];
262
+        $entity->newEmail = (string)$data['new_email'];
263
+        $entity->permanentLoginFlag = (int)$data['permanent_login_flag'];
264
+        $entity->watchmailMode = (int)$data['watchmail_mode'];
265
+        $entity->watchmailHour = (int)$data['watchmail_hour'];
266 266
         $entity->watchmailNextmail = new DateTime($data['watchmail_nextmail']);
267
-        $entity->watchmailDay = (int) $data['watchmail_day'];
268
-        $entity->activationCode = (string) $data['activation_code'];
269
-        $entity->statpicLogo = (int) $data['statpic_logo'];
270
-        $entity->statpicText = (string) $data['statpic_text'];
271
-        $entity->noHtmleditFlag = (int) $data['no_htmledit_flag'];
272
-        $entity->notifyRadius = (int) $data['notify_radius'];
273
-        $entity->notifyOconly = (int) $data['notify_oconly'];
274
-        $entity->language = (string) $data['language'];
275
-        $entity->languageGuessed = (int) $data['language_guessed'];
276
-        $entity->domain = (string) $data['domain'];
267
+        $entity->watchmailDay = (int)$data['watchmail_day'];
268
+        $entity->activationCode = (string)$data['activation_code'];
269
+        $entity->statpicLogo = (int)$data['statpic_logo'];
270
+        $entity->statpicText = (string)$data['statpic_text'];
271
+        $entity->noHtmleditFlag = (int)$data['no_htmledit_flag'];
272
+        $entity->notifyRadius = (int)$data['notify_radius'];
273
+        $entity->notifyOconly = (int)$data['notify_oconly'];
274
+        $entity->language = (string)$data['language'];
275
+        $entity->languageGuessed = (int)$data['language_guessed'];
276
+        $entity->domain = (string)$data['domain'];
277 277
         $entity->admin = $data['admin'];
278
-        $entity->dataLicense = (int) $data['data_license'];
279
-        $entity->description = (string) $data['description'];
280
-        $entity->descHtmledit = (int) $data['desc_htmledit'];
278
+        $entity->dataLicense = (int)$data['data_license'];
279
+        $entity->description = (string)$data['description'];
280
+        $entity->descHtmledit = (int)$data['desc_htmledit'];
281 281
 
282 282
         return $entity;
283 283
     }
Please login to merge, or discard this patch.
local/devel/Repositories/SysSessionsRepository.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -121,7 +121,7 @@  discard block
 block discarded – undo
121 121
             $databaseArray
122 122
         );
123 123
 
124
-        $entity->uuid = (int) $this->connection->lastInsertId();
124
+        $entity->uuid = (int)$this->connection->lastInsertId();
125 125
 
126 126
         return $entity;
127 127
     }
@@ -188,9 +188,9 @@  discard block
 block discarded – undo
188 188
     public function getEntityFromDatabaseArray(array $data)
189 189
     {
190 190
         $entity = new SysSessionsEntity();
191
-        $entity->uuid = (string) $data['uuid'];
192
-        $entity->userId = (int) $data['user_id'];
193
-        $entity->permanent = (int) $data['permanent'];
191
+        $entity->uuid = (string)$data['uuid'];
192
+        $entity->userId = (int)$data['user_id'];
193
+        $entity->permanent = (int)$data['permanent'];
194 194
         $entity->lastLogin = new DateTime($data['last_login']);
195 195
 
196 196
         return $entity;
Please login to merge, or discard this patch.
local/devel/Repositories/WatchesNotifiedRepository.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -121,7 +121,7 @@  discard block
 block discarded – undo
121 121
             $databaseArray
122 122
         );
123 123
 
124
-        $entity->id = (int) $this->connection->lastInsertId();
124
+        $entity->id = (int)$this->connection->lastInsertId();
125 125
 
126 126
         return $entity;
127 127
     }
@@ -189,10 +189,10 @@  discard block
 block discarded – undo
189 189
     public function getEntityFromDatabaseArray(array $data)
190 190
     {
191 191
         $entity = new WatchesNotifiedEntity();
192
-        $entity->id = (int) $data['id'];
193
-        $entity->userId = (int) $data['user_id'];
194
-        $entity->objectId = (int) $data['object_id'];
195
-        $entity->objectType = (int) $data['object_type'];
192
+        $entity->id = (int)$data['id'];
193
+        $entity->userId = (int)$data['user_id'];
194
+        $entity->objectId = (int)$data['object_id'];
195
+        $entity->objectType = (int)$data['object_type'];
196 196
         $entity->dateCreated = new DateTime($data['date_created']);
197 197
 
198 198
         return $entity;
Please login to merge, or discard this patch.
local/devel/Repositories/RatingTopsRepository.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -121,7 +121,7 @@  discard block
 block discarded – undo
121 121
             $databaseArray
122 122
         );
123 123
 
124
-        $entity->cacheId = (int) $this->connection->lastInsertId();
124
+        $entity->cacheId = (int)$this->connection->lastInsertId();
125 125
 
126 126
         return $entity;
127 127
     }
@@ -186,8 +186,8 @@  discard block
 block discarded – undo
186 186
     public function getEntityFromDatabaseArray(array $data)
187 187
     {
188 188
         $entity = new RatingTopsEntity();
189
-        $entity->cacheId = (int) $data['cache_id'];
190
-        $entity->rating = (int) $data['rating'];
189
+        $entity->cacheId = (int)$data['cache_id'];
190
+        $entity->rating = (int)$data['rating'];
191 191
 
192 192
         return $entity;
193 193
     }
Please login to merge, or discard this patch.
local/devel/Repositories/SearchIndexRepository.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -121,7 +121,7 @@  discard block
 block discarded – undo
121 121
             $databaseArray
122 122
         );
123 123
 
124
-        $entity->objectType = (int) $this->connection->lastInsertId();
124
+        $entity->objectType = (int)$this->connection->lastInsertId();
125 125
 
126 126
         return $entity;
127 127
     }
@@ -188,10 +188,10 @@  discard block
 block discarded – undo
188 188
     public function getEntityFromDatabaseArray(array $data)
189 189
     {
190 190
         $entity = new SearchIndexEntity();
191
-        $entity->objectType = (int) $data['object_type'];
192
-        $entity->cacheId = (int) $data['cache_id'];
193
-        $entity->hash = (int) $data['hash'];
194
-        $entity->count = (int) $data['count'];
191
+        $entity->objectType = (int)$data['object_type'];
192
+        $entity->cacheId = (int)$data['cache_id'];
193
+        $entity->hash = (int)$data['hash'];
194
+        $entity->count = (int)$data['count'];
195 195
 
196 196
         return $entity;
197 197
     }
Please login to merge, or discard this patch.
local/devel/Repositories/PwDictRepository.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -121,7 +121,7 @@  discard block
 block discarded – undo
121 121
             $databaseArray
122 122
         );
123 123
 
124
-        $entity->pw = (int) $this->connection->lastInsertId();
124
+        $entity->pw = (int)$this->connection->lastInsertId();
125 125
 
126 126
         return $entity;
127 127
     }
@@ -185,7 +185,7 @@  discard block
 block discarded – undo
185 185
     public function getEntityFromDatabaseArray(array $data)
186 186
     {
187 187
         $entity = new PwDictEntity();
188
-        $entity->pw = (string) $data['pw'];
188
+        $entity->pw = (string)$data['pw'];
189 189
 
190 190
         return $entity;
191 191
     }
Please login to merge, or discard this patch.
local/devel/Repositories/CacheAdoptionRepository.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -121,7 +121,7 @@  discard block
 block discarded – undo
121 121
             $databaseArray
122 122
         );
123 123
 
124
-        $entity->cacheId = (int) $this->connection->lastInsertId();
124
+        $entity->cacheId = (int)$this->connection->lastInsertId();
125 125
 
126 126
         return $entity;
127 127
     }
@@ -187,8 +187,8 @@  discard block
 block discarded – undo
187 187
     public function getEntityFromDatabaseArray(array $data)
188 188
     {
189 189
         $entity = new GeoCacheAdoptionEntity();
190
-        $entity->cacheId = (int) $data['cache_id'];
191
-        $entity->userId = (int) $data['user_id'];
190
+        $entity->cacheId = (int)$data['cache_id'];
191
+        $entity->userId = (int)$data['user_id'];
192 192
         $entity->dateCreated = new DateTime($data['date_created']);
193 193
 
194 194
         return $entity;
Please login to merge, or discard this patch.
local/devel/Repositories/CacheAttribRepository.php 1 patch
Spacing   +19 added lines, -19 removed lines patch added patch discarded remove patch
@@ -121,7 +121,7 @@  discard block
 block discarded – undo
121 121
             $databaseArray
122 122
         );
123 123
 
124
-        $entity->id = (int) $this->connection->lastInsertId();
124
+        $entity->id = (int)$this->connection->lastInsertId();
125 125
 
126 126
         return $entity;
127 127
     }
@@ -202,24 +202,24 @@  discard block
 block discarded – undo
202 202
     public function getEntityFromDatabaseArray(array $data)
203 203
     {
204 204
         $entity = new GeoCacheAttribEntity();
205
-        $entity->id = (int) $data['id'];
206
-        $entity->name = (string) $data['name'];
207
-        $entity->icon = (string) $data['icon'];
208
-        $entity->transId = (int) $data['trans_id'];
209
-        $entity->groupId = (int) $data['group_id'];
210
-        $entity->selectable = (int) $data['selectable'];
211
-        $entity->category = (int) $data['category'];
212
-        $entity->searchDefault = (int) $data['search_default'];
213
-        $entity->default = (int) $data['default'];
214
-        $entity->iconLarge = (string) $data['icon_large'];
215
-        $entity->iconNo = (string) $data['icon_no'];
216
-        $entity->iconUndef = (string) $data['icon_undef'];
217
-        $entity->htmlDesc = (string) $data['html_desc'];
218
-        $entity->htmlDescTransId = (int) $data['html_desc_trans_id'];
219
-        $entity->hidden = (int) $data['hidden'];
220
-        $entity->gcId = (int) $data['gc_id'];
221
-        $entity->gcInc = (int) $data['gc_inc'];
222
-        $entity->gcName = (string) $data['gc_name'];
205
+        $entity->id = (int)$data['id'];
206
+        $entity->name = (string)$data['name'];
207
+        $entity->icon = (string)$data['icon'];
208
+        $entity->transId = (int)$data['trans_id'];
209
+        $entity->groupId = (int)$data['group_id'];
210
+        $entity->selectable = (int)$data['selectable'];
211
+        $entity->category = (int)$data['category'];
212
+        $entity->searchDefault = (int)$data['search_default'];
213
+        $entity->default = (int)$data['default'];
214
+        $entity->iconLarge = (string)$data['icon_large'];
215
+        $entity->iconNo = (string)$data['icon_no'];
216
+        $entity->iconUndef = (string)$data['icon_undef'];
217
+        $entity->htmlDesc = (string)$data['html_desc'];
218
+        $entity->htmlDescTransId = (int)$data['html_desc_trans_id'];
219
+        $entity->hidden = (int)$data['hidden'];
220
+        $entity->gcId = (int)$data['gc_id'];
221
+        $entity->gcInc = (int)$data['gc_inc'];
222
+        $entity->gcName = (string)$data['gc_name'];
223 223
 
224 224
         return $entity;
225 225
     }
Please login to merge, or discard this patch.