Completed
Pull Request — development (#897)
by
unknown
50s
created
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/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/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/Form/SupportSQLFlexForm.php 1 patch
Indentation   +43 added lines, -43 removed lines patch added patch discarded remove patch
@@ -30,61 +30,61 @@
 block discarded – undo
30 30
             )
31 31
             ->add(
32 32
                 'content_WHAT', null, [
33
-                                  'required' => true,
34
-                                  'data' => '*',
35
-                                  'attr' => [
36
-                                      'style' => 'width: 180px;'
37
-                                  ],
38
-                                  'disabled' => false,
39
-                                  'label' => false,
40
-                                  'trim' => true
41
-                              ]
33
+                                    'required' => true,
34
+                                    'data' => '*',
35
+                                    'attr' => [
36
+                                        'style' => 'width: 180px;'
37
+                                    ],
38
+                                    'disabled' => false,
39
+                                    'label' => false,
40
+                                    'trim' => true
41
+                                ]
42 42
             )
43 43
             ->add(
44 44
                 'content_FROM', ChoiceType::class, [
45
-                                  'choices' => ['FROM' => 'FROM'],
46
-                                  'attr' => [
47
-                                      'style' => 'width: 180px;'
48
-                                  ],
49
-                                  'disabled' => true,
50
-                                  'label' => false,
51
-                                  'trim' => true
52
-                              ]
45
+                                    'choices' => ['FROM' => 'FROM'],
46
+                                    'attr' => [
47
+                                        'style' => 'width: 180px;'
48
+                                    ],
49
+                                    'disabled' => true,
50
+                                    'label' => false,
51
+                                    'trim' => true
52
+                                ]
53 53
             )
54 54
             ->add(
55 55
                 'content_TABLE', ChoiceType::class, [
56
-                                   'choices' => ['caches' => 'caches', 'user' => 'user'],
57
-                                   'attr' => [
58
-                                       'style' => 'width: 180px;'
59
-                                   ],
60
-                                   'disabled' => false,
61
-                                   'label' => false,
62
-                                   'trim' => true
63
-                               ]
56
+                                    'choices' => ['caches' => 'caches', 'user' => 'user'],
57
+                                    'attr' => [
58
+                                        'style' => 'width: 180px;'
59
+                                    ],
60
+                                    'disabled' => false,
61
+                                    'label' => false,
62
+                                    'trim' => true
63
+                                ]
64 64
             )
65 65
             ->add(
66 66
                 'content_WHERE', ChoiceType::class, [
67
-                                  'choices' => ['WHERE' => 'WHERE'],
68
-                                  'attr' => [
69
-                                      'style' => 'width: 180px;'
70
-                                  ],
71
-                                  'disabled' => true,
72
-                                  'label' => false,
73
-                                  'trim' => true
74
-                              ]
67
+                                    'choices' => ['WHERE' => 'WHERE'],
68
+                                    'attr' => [
69
+                                        'style' => 'width: 180px;'
70
+                                    ],
71
+                                    'disabled' => true,
72
+                                    'label' => false,
73
+                                    'trim' => true
74
+                                ]
75 75
             )
76 76
             ->add(
77 77
                 'content_CONDITION', null, [
78
-                                  'required' => false,
79
-                                  'data' => '',
80
-                                  'attr' => [
81
-                                      'placeholder' => 'id=\'123\'',
82
-                                      'style' => 'width: 180px;'
83
-                                  ],
84
-                                  'disabled' => false,
85
-                                  'label' => false,
86
-                                  'trim' => true
87
-                              ]
78
+                                    'required' => false,
79
+                                    'data' => '',
80
+                                    'attr' => [
81
+                                        'placeholder' => 'id=\'123\'',
82
+                                        'style' => 'width: 180px;'
83
+                                    ],
84
+                                    'disabled' => false,
85
+                                    'label' => false,
86
+                                    'trim' => true
87
+                                ]
88 88
             )
89 89
             ->add(
90 90
                 'Suchen', SubmitType::class, [
Please login to merge, or discard this patch.
htdocs_symfony/src/Repository/SecurityRolesRepository.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -172,7 +172,7 @@  discard block
 block discarded – undo
172 172
             $databaseArray
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
     }
@@ -268,8 +268,8 @@  discard block
 block discarded – undo
268 268
     public function getEntityFromDatabaseArray(array $data)
269 269
     : SecurityRolesEntity {
270 270
         $entity = new SecurityRolesEntity();
271
-        $entity->id = (int) $data['id'];
272
-        $entity->role = (string) $data['role'];
271
+        $entity->id = (int)$data['id'];
272
+        $entity->role = (string)$data['role'];
273 273
 
274 274
         return $entity;
275 275
     }
Please login to merge, or discard this patch.
htdocs_symfony/src/Form/RolesSearchUser.php 1 patch
Indentation   +15 added lines, -15 removed lines patch added patch discarded remove patch
@@ -20,21 +20,21 @@
 block discarded – undo
20 20
         $builder
21 21
             ->add(
22 22
                 'content_user_searchfield', null, [
23
-                                                 'attr' => [
24
-                                                     'placeholder' => 'User-Id',
25
-                                                     'autofocus' => 'autofocus',
26
-                                                     'size' => '10%',
27
-                                                     'minlength' => '6',
28
-                                                     'maxlength' => '7',
29
-                                                     'style' => 'width: 250px;',
30
-                                                     'pattern' => '^[0-9]{6,7}',
31
-                                                     'title' => 'Only 6-7 numerics are allowed.',
32
-                                                 ],
33
-                                                 'required' => true,
34
-                                                 'disabled' => false,
35
-                                                 'label' => false,
36
-                                                 'trim' => true
37
-                                             ]
23
+                                                    'attr' => [
24
+                                                        'placeholder' => 'User-Id',
25
+                                                        'autofocus' => 'autofocus',
26
+                                                        'size' => '10%',
27
+                                                        'minlength' => '6',
28
+                                                        'maxlength' => '7',
29
+                                                        'style' => 'width: 250px;',
30
+                                                        'pattern' => '^[0-9]{6,7}',
31
+                                                        'title' => 'Only 6-7 numerics are allowed.',
32
+                                                    ],
33
+                                                    'required' => true,
34
+                                                    'disabled' => false,
35
+                                                    'label' => false,
36
+                                                    'trim' => true
37
+                                                ]
38 38
             )
39 39
             ->add(
40 40
                 'search_One', SubmitType::class, [
Please login to merge, or discard this patch.
htdocs_symfony/src/Form/UserActivationForm.php 1 patch
Indentation   +20 added lines, -20 removed lines patch added patch discarded remove patch
@@ -22,29 +22,29 @@
 block discarded – undo
22 22
         $builder
23 23
             ->add(
24 24
                 'email', EmailType::Class, [
25
-                           'attr' => [
26
-                               'autofocus' => 'autofocus',
27
-                               'size' => '10%',
28
-                               'style' => 'width: 250px;'
29
-                           ],
30
-                           'required' => true,
31
-                           'disabled' => false,
32
-                           'label' => false,
33
-                           'trim' => true
34
-                       ]
25
+                            'attr' => [
26
+                                'autofocus' => 'autofocus',
27
+                                'size' => '10%',
28
+                                'style' => 'width: 250px;'
29
+                            ],
30
+                            'required' => true,
31
+                            'disabled' => false,
32
+                            'label' => false,
33
+                            'trim' => true
34
+                        ]
35 35
             )
36 36
             ->add(
37 37
                 'activationCode', null, [
38
-                              'attr' => [
39
-                                  'size' => '10%',
40
-                                  'pattern' => '[A-F0-9]{13}',
41
-                                  'style' => 'width: 250px;'
42
-                              ],
43
-                              'required' => true,
44
-                              'disabled' => false,
45
-                              'label' => false,
46
-                              'trim' => true
47
-                          ]
38
+                                'attr' => [
39
+                                    'size' => '10%',
40
+                                    'pattern' => '[A-F0-9]{13}',
41
+                                    'style' => 'width: 250px;'
42
+                                ],
43
+                                'required' => true,
44
+                                'disabled' => false,
45
+                                'label' => false,
46
+                                'trim' => true
47
+                            ]
48 48
             )
49 49
             ->add(
50 50
                 'submit', SubmitType::class, [
Please login to merge, or discard this patch.