Passed
Branch master (3a4f24)
by Nicolas
08:34
created
public/php/common/DAO/SystemDAO.php 1 patch
Indentation   +26 added lines, -26 removed lines patch added patch discarded remove patch
@@ -218,12 +218,12 @@  discard block
 block discarded – undo
218 218
     }
219 219
 
220 220
         /**
221
-     * Set the list of system enhancements for a release
222
-     *
223
-     * @param integer Release ID
224
-     * @param integer[] system ID
225
-     * @param integer[] enhancement IDs
226
-     */
221
+         * Set the list of system enhancements for a release
222
+         *
223
+         * @param integer Release ID
224
+         * @param integer[] system ID
225
+         * @param integer[] enhancement IDs
226
+         */
227 227
     public function addEnhancedSystemForRelease($release_id, $system_id, $enhancement_id) {
228 228
 
229 229
         $stmt = \AL\Db\execute_query(
@@ -238,12 +238,12 @@  discard block
 block discarded – undo
238 238
 
239 239
 
240 240
         /**
241
-     * update system enhancements for a release
242
-     *
243
-     * @param integer Release ID
244
-     * @param integer[] system ID
245
-     * @param integer[] enhancement IDs
246
-     */
241
+         * update system enhancements for a release
242
+         *
243
+         * @param integer Release ID
244
+         * @param integer[] system ID
245
+         * @param integer[] enhancement IDs
246
+         */
247 247
     public function updateEnhancedSystemForRelease($release_id, $system_id, $enhancement_id) {
248 248
 
249 249
         $stmt = \AL\Db\execute_query(
@@ -260,11 +260,11 @@  discard block
 block discarded – undo
260 260
     }
261 261
 
262 262
         /**
263
-     * delete system enhancements for a release
264
-     *
265
-     * @param integer Release ID
266
-     * @param integer[] system ID
267
-     */
263
+         * delete system enhancements for a release
264
+         *
265
+         * @param integer Release ID
266
+         * @param integer[] system ID
267
+         */
268 268
     public function deleteEnhancedSystemForRelease($release_id, $system_id) {
269 269
 
270 270
         $stmt = \AL\Db\execute_query(
@@ -277,10 +277,10 @@  discard block
 block discarded – undo
277 277
     }
278 278
 
279 279
         /**
280
-     * add a system to the database
281
-     *
282
-     * @param varchar system
283
-     */
280
+         * add a system to the database
281
+         *
282
+         * @param varchar system
283
+         */
284 284
     public function addSystem($system) {
285 285
         $stmt = \AL\Db\execute_query(
286 286
             "SystemDAO: addSystem",
@@ -309,11 +309,11 @@  discard block
 block discarded – undo
309 309
     }
310 310
 
311 311
         /**
312
-     * update a system
313
-     *
314
-     * @param int system_id
315
-     * @param varchar system_name
316
-     */
312
+         * update a system
313
+         *
314
+         * @param int system_id
315
+         * @param varchar system_name
316
+         */
317 317
     public function updateSystem($system_id, $system_name) {
318 318
         $stmt = \AL\Db\execute_query(
319 319
             "SystemDAO: updateSystem",
Please login to merge, or discard this patch.
public/php/common/DAO/MediaTypeDAO.php 1 patch
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -45,11 +45,11 @@  discard block
 block discarded – undo
45 45
         return $media_types;
46 46
     }
47 47
 
48
-     /**
49
-     * add a media type to the database
50
-     *
51
-     * @param varchar media_type
52
-     */
48
+        /**
49
+         * add a media type to the database
50
+         *
51
+         * @param varchar media_type
52
+         */
53 53
     public function addMediaType($media_type) {
54 54
         $stmt = \AL\Db\execute_query(
55 55
             "MediaTypeDAO: addMediaType",
@@ -78,11 +78,11 @@  discard block
 block discarded – undo
78 78
     }
79 79
     
80 80
         /**
81
-     * update a media_type
82
-     *
83
-     * @param int media_type_id
84
-     * @param varchar media_type
85
-     */
81
+         * update a media_type
82
+         *
83
+         * @param int media_type_id
84
+         * @param varchar media_type
85
+         */
86 86
     public function updateMediaType($media_type_id, $media_type_name) {
87 87
         $stmt = \AL\Db\execute_query(
88 88
             "MediaTypeDAO: updateMediaType",
Please login to merge, or discard this patch.
public/php/common/DAO/ResolutionDAO.php 1 patch
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -116,11 +116,11 @@  discard block
 block discarded – undo
116 116
         $stmt->close();
117 117
     }
118 118
     
119
-     /**
120
-     * add a resolution to the database
121
-     *
122
-     * @param varchar resolution
123
-     */
119
+        /**
120
+         * add a resolution to the database
121
+         *
122
+         * @param varchar resolution
123
+         */
124 124
     public function addResolution($resolution) {
125 125
         $stmt = \AL\Db\execute_query(
126 126
             "ResolutionDAO: addResolution",
@@ -149,11 +149,11 @@  discard block
 block discarded – undo
149 149
     }
150 150
     
151 151
         /**
152
-     * update a resolution
153
-     *
154
-     * @param int resolution_id
155
-     * @param varchar resolution_name
156
-     */
152
+         * update a resolution
153
+         *
154
+         * @param int resolution_id
155
+         * @param varchar resolution_name
156
+         */
157 157
     public function updateResolution($resolution_id, $resolution_name) {
158 158
         $stmt = \AL\Db\execute_query(
159 159
             "ResolutionDAO: updateResolution",
Please login to merge, or discard this patch.
public/php/common/DAO/ControlDAO.php 1 patch
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -104,11 +104,11 @@  discard block
 block discarded – undo
104 104
         $stmt->close();
105 105
     }
106 106
     
107
-     /**
108
-     * add a control to the database
109
-     *
110
-     * @param varchar control
111
-     */
107
+        /**
108
+         * add a control to the database
109
+         *
110
+         * @param varchar control
111
+         */
112 112
     public function addControl($control) {
113 113
         $stmt = \AL\Db\execute_query(
114 114
             "ControlDAO: addControl",
@@ -136,12 +136,12 @@  discard block
 block discarded – undo
136 136
         $stmt->close();
137 137
     }
138 138
     
139
-     /**
140
-     * update a control
141
-     *
142
-     * @param int control_id
143
-     * @param varchar control_name
144
-     */
139
+        /**
140
+         * update a control
141
+         *
142
+         * @param int control_id
143
+         * @param varchar control_name
144
+         */
145 145
     public function updateControl($control_id, $control_name) {
146 146
         $stmt = \AL\Db\execute_query(
147 147
             "ControlDAO: updateControl",
Please login to merge, or discard this patch.
public/php/main/games/games_detail.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -373,13 +373,13 @@
 block discarded – undo
373 373
                 $smarty->append(
374 374
                     'interviews',
375 375
                     array( 'ind_id' => $game_individual['id'],
376
-                           'ind_name' => $game_individual['ind_name'],
377
-                           'ind_img' => $v_ind_image,
378
-                           'int_id' => $interview['interview_id'],
379
-                           'int_text' => $int_text,
380
-                           'int_date' => $interview_date,
381
-                           'int_user_id' => $interview['user_id'],
382
-                           'int_userid' => $interview['userid']
376
+                            'ind_name' => $game_individual['ind_name'],
377
+                            'ind_img' => $v_ind_image,
378
+                            'int_id' => $interview['interview_id'],
379
+                            'int_text' => $int_text,
380
+                            'int_date' => $interview_date,
381
+                            'int_user_id' => $interview['user_id'],
382
+                            'int_userid' => $interview['userid']
383 383
                         )
384 384
                 );
385 385
             }
Please login to merge, or discard this patch.
public/php/config/template_config.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@
 block discarded – undo
8 8
  *
9 9
  ***************************************************************************/
10 10
 
11
- define('ROOT_PATH', dirname(__DIR__) . '/');
11
+    define('ROOT_PATH', dirname(__DIR__) . '/');
12 12
 
13 13
 //Skin Switching functions
14 14
 
Please login to merge, or discard this patch.
public/php/lib/functions.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -392,7 +392,7 @@
 block discarded – undo
392 392
 function search($entry) {
393 393
     // search for strange characters like ^, $, &, change "it's" to "its"
394 394
     static $drop_char_match = array('^', '$', '&', '(', ')', '<', '>', '`', '"', '|', ',', '@', '_', '?', '%', '-', '~',
395
-         '+', '.', '[', ']', '{', '}', ':', '\\', '/', '=', '#', '\'', ';', '!');
395
+            '+', '.', '[', ']', '{', '}', ':', '\\', '/', '=', '#', '\'', ';', '!');
396 396
 
397 397
     $count = 0;
398 398
 
Please login to merge, or discard this patch.