Passed
Push — main ( a04a11...ed3749 )
by Dimitri
05:24
created
src/Helpers/assets.php 1 patch
Spacing   +35 added lines, -35 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
9 9
  * the LICENSE file that was distributed with this source code.
10 10
  */
11 11
 
12
-if (! function_exists('css_url')) {
12
+if (!function_exists('css_url')) {
13 13
     /**
14 14
      * CSS URL
15 15
      *
@@ -23,17 +23,17 @@  discard block
 block discarded – undo
23 23
         $name = str_replace(site_url() . 'css/', '', htmlspecialchars($name));
24 24
 
25 25
         if (is_localfile($name)) {
26
-            $name .= (! preg_match('#\.css$#i', $name) ? '.css' : '');
26
+            $name .= (!preg_match('#\.css$#i', $name) ? '.css' : '');
27 27
             $filename = WEBROOT . 'css' . DS . $name;
28 28
 
29 29
             return site_url() . 'css/' . $name . ((file_exists($filename)) ? '?v=' . filemtime($filename) : '');
30 30
         }
31 31
 
32
-        return $name . (! preg_match('#\.css$#i', $name) ? '.css' : '');
32
+        return $name . (!preg_match('#\.css$#i', $name) ? '.css' : '');
33 33
     }
34 34
 }
35 35
 
36
-if (! function_exists('js_url')) {
36
+if (!function_exists('js_url')) {
37 37
     /**
38 38
      * JS URL
39 39
      *
@@ -47,17 +47,17 @@  discard block
 block discarded – undo
47 47
         $name = str_replace(site_url() . 'js/', '', htmlspecialchars($name));
48 48
 
49 49
         if (is_localfile($name)) {
50
-            $name .= (! preg_match('#\.js$#i', $name) ? '.js' : '');
50
+            $name .= (!preg_match('#\.js$#i', $name) ? '.js' : '');
51 51
             $filename = WEBROOT . 'js' . DS . $name;
52 52
 
53 53
             return site_url() . 'js/' . $name . ((file_exists($filename)) ? '?v=' . filemtime($filename) : '');
54 54
         }
55 55
 
56
-        return $name . (! preg_match('#\.js$#i', $name) ? '.js' : '');
56
+        return $name . (!preg_match('#\.js$#i', $name) ? '.js' : '');
57 57
     }
58 58
 }
59 59
 
60
-if (! function_exists('lib_css_url')) {
60
+if (!function_exists('lib_css_url')) {
61 61
     /**
62 62
      * LIB CSS URL
63 63
      *
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
         );
77 77
 
78 78
         if (is_localfile($name)) {
79
-            $name .= (! preg_match('#\.css$#i', $name) ? '.css' : '');
79
+            $name .= (!preg_match('#\.css$#i', $name) ? '.css' : '');
80 80
             $paths = ['lib', 'vendor', 'plugins'];
81 81
 
82 82
             foreach ($paths as $path) {
@@ -90,11 +90,11 @@  discard block
 block discarded – undo
90 90
             return $site_url . 'lib/' . $name;
91 91
         }
92 92
 
93
-        return $name . (! preg_match('#\.css$#i', $name) ? '.css' : '');
93
+        return $name . (!preg_match('#\.css$#i', $name) ? '.css' : '');
94 94
     }
95 95
 }
96 96
 
97
-if (! function_exists('lib_js_url')) {
97
+if (!function_exists('lib_js_url')) {
98 98
     /**
99 99
      * LIB JS URL
100 100
      *
@@ -113,7 +113,7 @@  discard block
 block discarded – undo
113 113
         );
114 114
 
115 115
         if (is_localfile($name)) {
116
-            $name .= (! preg_match('#\.js$#i', $name) ? '.js' : '');
116
+            $name .= (!preg_match('#\.js$#i', $name) ? '.js' : '');
117 117
             $paths = ['lib', 'vendor', 'plugins'];
118 118
 
119 119
             foreach ($paths as $path) {
@@ -127,11 +127,11 @@  discard block
 block discarded – undo
127 127
             return $site_url . 'lib/' . $name;
128 128
         }
129 129
 
130
-        return $name . (! preg_match('#\.js$#i', $name) ? '.js' : '');
130
+        return $name . (!preg_match('#\.js$#i', $name) ? '.js' : '');
131 131
     }
132 132
 }
133 133
 
134
-if (! function_exists('lib_styles')) {
134
+if (!function_exists('lib_styles')) {
135 135
     /**
136 136
      * LIB_STYLES
137 137
      *
@@ -149,7 +149,7 @@  discard block
 block discarded – undo
149 149
 
150 150
         foreach ($name as $style) {
151 151
             if (is_string($style)) {
152
-                $style = (! preg_match('#\.css$#i', $style) ? $style . '.css' : $style);
152
+                $style = (!preg_match('#\.css$#i', $style) ? $style . '.css' : $style);
153 153
                 if (is_file(WEBROOT . 'lib' . DS . str_replace('/', DS, $style))) {
154 154
                     $return[] = '<link rel="preload" type="text/css" href="' . lib_css_url($style) . '" as="style">
155 155
 						<link rel="stylesheet" type="text/css" href="' . lib_css_url($style) . '" />';
@@ -173,7 +173,7 @@  discard block
 block discarded – undo
173 173
     }
174 174
 }
175 175
 
176
-if (! function_exists('lib_scripts')) {
176
+if (!function_exists('lib_scripts')) {
177 177
     /**
178 178
      * LIB_SCRIPTS
179 179
      *
@@ -191,7 +191,7 @@  discard block
 block discarded – undo
191 191
 
192 192
         foreach ($name as $script) {
193 193
             if (is_string($script)) {
194
-                $script = (! preg_match('#\.js$#i', $script) ? $script . '.js' : $script);
194
+                $script = (!preg_match('#\.js$#i', $script) ? $script . '.js' : $script);
195 195
                 if (is_file(WEBROOT . 'lib' . DS . str_replace('/', DS, $script))) {
196 196
                     $return[] = '<script type="text/javascript" src="' . lib_js_url($script) . '"></script>';
197 197
                 } elseif (is_localfile($script)) {
@@ -213,7 +213,7 @@  discard block
 block discarded – undo
213 213
     }
214 214
 }
215 215
 
216
-if (! function_exists('styles')) {
216
+if (!function_exists('styles')) {
217 217
     /**
218 218
      * STYLES
219 219
      *
@@ -231,7 +231,7 @@  discard block
 block discarded – undo
231 231
 
232 232
         foreach ($name as $style) {
233 233
             if (is_string($style)) {
234
-                $style = (! preg_match('#\.css$#i', $style) ? $style . '.css' : $style);
234
+                $style = (!preg_match('#\.css$#i', $style) ? $style . '.css' : $style);
235 235
                 if (is_file(WEBROOT . 'css' . DS . str_replace('/', DS, $style))) {
236 236
                     $return[] = '<link rel="preload" type="text/css" href="' . css_url($style) . '" as="style">
237 237
 						<link rel="stylesheet" type="text/css" href="' . css_url($style) . '" />';
@@ -255,7 +255,7 @@  discard block
 block discarded – undo
255 255
     }
256 256
 }
257 257
 
258
-if (! function_exists('scripts')) {
258
+if (!function_exists('scripts')) {
259 259
     /**
260 260
      * SCRIPTS
261 261
      *
@@ -273,7 +273,7 @@  discard block
 block discarded – undo
273 273
 
274 274
         foreach ($name as $script) {
275 275
             if (is_string($script)) {
276
-                $script = (! preg_match('#\.js$#i', $script) ? $script . '.js' : $script);
276
+                $script = (!preg_match('#\.js$#i', $script) ? $script . '.js' : $script);
277 277
                 if (is_file(WEBROOT . 'js' . DS . str_replace('/', DS, $script))) {
278 278
                     $return[] = '<script type="text/javascript" src="' . js_url($script) . '"></script>';
279 279
                 } elseif (is_localfile($script)) {
@@ -295,7 +295,7 @@  discard block
 block discarded – undo
295 295
     }
296 296
 }
297 297
 
298
-if (! function_exists('less_url')) {
298
+if (!function_exists('less_url')) {
299 299
     /**
300 300
      * LESS URL
301 301
      *
@@ -309,17 +309,17 @@  discard block
 block discarded – undo
309 309
         $name = str_replace(site_url() . 'less/', '', htmlspecialchars($name));
310 310
 
311 311
         if (is_localfile($name)) {
312
-            $name .= (! preg_match('#\.less$#i', $name) ? '.less' : '');
312
+            $name .= (!preg_match('#\.less$#i', $name) ? '.less' : '');
313 313
             $filename = WEBROOT . 'less' . DS . $name;
314 314
 
315 315
             return site_url() . 'less/' . $name . ((file_exists($filename)) ? '?v=' . filemtime($filename) : '');
316 316
         }
317 317
 
318
-        return $name . (! preg_match('#\.less$#i', $name) ? '.less' : '');
318
+        return $name . (!preg_match('#\.less$#i', $name) ? '.less' : '');
319 319
     }
320 320
 }
321 321
 
322
-if (! function_exists('less_styles')) {
322
+if (!function_exists('less_styles')) {
323 323
     /**
324 324
      * LESS_STYLES
325 325
      *
@@ -337,7 +337,7 @@  discard block
 block discarded – undo
337 337
 
338 338
         foreach ($name as $style) {
339 339
             if (is_string($style)) {
340
-                $style = (! preg_match('#\.less$#i', $style) ? $style . '.less' : $style);
340
+                $style = (!preg_match('#\.less$#i', $style) ? $style . '.less' : $style);
341 341
                 if (is_file(WEBROOT . 'less' . DS . str_replace('/', DS, $style))) {
342 342
                     $return[] = '<link rel="stylesheet" type="text/less" href="' . less_url($style) . '" />';
343 343
                 } elseif (is_localfile($style)) {
@@ -359,7 +359,7 @@  discard block
 block discarded – undo
359 359
     }
360 360
 }
361 361
 
362
-if (! function_exists('img_url')) {
362
+if (!function_exists('img_url')) {
363 363
     /**
364 364
      * IMG URL
365 365
      *
@@ -386,7 +386,7 @@  discard block
 block discarded – undo
386 386
     }
387 387
 }
388 388
 
389
-if (! function_exists('img')) {
389
+if (!function_exists('img')) {
390 390
     /**
391 391
      * IMG
392 392
      *
@@ -417,7 +417,7 @@  discard block
 block discarded – undo
417 417
     }
418 418
 }
419 419
 
420
-if (! function_exists('docs_url')) {
420
+if (!function_exists('docs_url')) {
421 421
     /**
422 422
      * DOCS URL
423 423
      *
@@ -444,7 +444,7 @@  discard block
 block discarded – undo
444 444
     }
445 445
 }
446 446
 
447
-if (! function_exists('videos_url')) {
447
+if (!function_exists('videos_url')) {
448 448
     /**
449 449
      * VIDEOS URL
450 450
      *
@@ -471,7 +471,7 @@  discard block
 block discarded – undo
471 471
     }
472 472
 }
473 473
 
474
-if (! function_exists('mix')) {
474
+if (!function_exists('mix')) {
475 475
     /**
476 476
      * Obtenez le chemin d'accès à un fichier Mix versionné.
477 477
      *
@@ -496,7 +496,7 @@  discard block
 block discarded – undo
496 496
         if (is_file($publicPath . $manifestDirectory . '/hot')) {
497 497
             $url = rtrim(file_get_contents($publicPath . $manifestDirectory . '/hot'));
498 498
 
499
-            if (! empty($customUrl = $customUrl = $config->hot_proxy_url)) {
499
+            if (!empty($customUrl = $customUrl = $config->hot_proxy_url)) {
500 500
                 return $customUrl . $path;
501 501
             }
502 502
 
@@ -509,8 +509,8 @@  discard block
 block discarded – undo
509 509
 
510 510
         $manifestPath = $publicPath . $manifestDirectory . '/mix-manifest.json';
511 511
 
512
-        if (! isset($manifests[$manifestPath])) {
513
-            if (! is_file($manifestPath)) {
512
+        if (!isset($manifests[$manifestPath])) {
513
+            if (!is_file($manifestPath)) {
514 514
                 throw new Exception('Le manifeste Mix n\'existe pas.');
515 515
             }
516 516
 
@@ -519,10 +519,10 @@  discard block
 block discarded – undo
519 519
 
520 520
         $manifest = $manifests[$manifestPath];
521 521
 
522
-        if (! isset($manifest[$path])) {
522
+        if (!isset($manifest[$path])) {
523 523
             $exception = new Exception("Impossible de localiser le fichier Mix: {$path}.");
524 524
 
525
-            if (! BLITZ_DEBUG) {
525
+            if (!BLITZ_DEBUG) {
526 526
                 return $path;
527 527
             }
528 528
 
Please login to merge, or discard this patch.
src/Helpers/common.php 1 patch
Spacing   +60 added lines, -60 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@  discard block
 block discarded – undo
24 24
 
25 25
 // ================================= FONCTIONS UTIILITAIRES ESSENTIELLES ================================= //
26 26
 
27
-if (! function_exists('env')) {
27
+if (!function_exists('env')) {
28 28
     /**
29 29
      * Obtient une variable d'environnement à partir des sources disponibles et fournit une émulation
30 30
      * pour les variables d'environnement non prises en charge ou incohérentes
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
     }
41 41
 }
42 42
 
43
-if (! function_exists('helper')) {
43
+if (!function_exists('helper')) {
44 44
     /**
45 45
      * Charge un fichier d'aide en mémoire. Prend en charge les assistants d'espace de noms,
46 46
      * à la fois dans et hors du répertoire 'helpers' d'un répertoire à espace de noms.
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
     }
57 57
 }
58 58
 
59
-if (! function_exists('model')) {
59
+if (!function_exists('model')) {
60 60
     /**
61 61
      * Simple maniere d'obtenir un modele.
62 62
      *
@@ -66,13 +66,13 @@  discard block
 block discarded – undo
66 66
      *
67 67
      * @return T
68 68
      */
69
-    function model(array|string $name, ?ConnectionInterface &$conn = null)
69
+    function model(array|string $name, ?ConnectionInterface&$conn = null)
70 70
     {
71 71
         return Load::model($name, $conn);
72 72
     }
73 73
 }
74 74
 
75
-if (! function_exists('service')) {
75
+if (!function_exists('service')) {
76 76
     /**
77 77
      * Permet un accès plus propre au fichier de configuration des services.
78 78
      * Renvoie toujours une instance SHARED de la classe, donc
@@ -89,7 +89,7 @@  discard block
 block discarded – undo
89 89
     }
90 90
 }
91 91
 
92
-if (! function_exists('single_service')) {
92
+if (!function_exists('single_service')) {
93 93
     /**
94 94
      * Autoriser l'accès propre à un service.
95 95
      * Renvoie toujours une nouvelle instance de la classe.
@@ -103,7 +103,7 @@  discard block
 block discarded – undo
103 103
     }
104 104
 }
105 105
 
106
-if (! function_exists('show404')) {
106
+if (!function_exists('show404')) {
107 107
     /**
108 108
      * Afficher une page 404 introuvable dans le navigateur
109 109
      */
@@ -113,7 +113,7 @@  discard block
 block discarded – undo
113 113
     }
114 114
 }
115 115
 
116
-if (! function_exists('config')) {
116
+if (!function_exists('config')) {
117 117
     /**
118 118
      * GET/SET App config
119 119
      *
@@ -141,7 +141,7 @@  discard block
 block discarded – undo
141 141
     }
142 142
 }
143 143
 
144
-if (! function_exists('logger')) {
144
+if (!function_exists('logger')) {
145 145
     /**
146 146
      * Une méthode de commodité pour les événements de journalisation via le système Log.
147 147
      *
@@ -163,7 +163,7 @@  discard block
 block discarded – undo
163 163
     {
164 164
         $logger = Services::logger();
165 165
 
166
-        if (! empty($level) && ! empty($message)) {
166
+        if (!empty($level) && !empty($message)) {
167 167
             return $logger->log($level, $message, $context);
168 168
         }
169 169
 
@@ -171,7 +171,7 @@  discard block
 block discarded – undo
171 171
     }
172 172
 }
173 173
 
174
-if (! function_exists('cache')) {
174
+if (!function_exists('cache')) {
175 175
     /**
176 176
      * Une méthode pratique qui donne accès au cache
177 177
      * objet. Si aucun paramètre n'est fourni, renverra l'objet,
@@ -201,7 +201,7 @@  discard block
 block discarded – undo
201 201
     }
202 202
 }
203 203
 
204
-if (! function_exists('session')) {
204
+if (!function_exists('session')) {
205 205
     /**
206 206
      * Une méthode pratique pour accéder à l'instance de session, ou un élément qui a été défini dans la session.
207 207
      *
@@ -226,7 +226,7 @@  discard block
 block discarded – undo
226 226
 
227 227
 // =========================== FONCTIONS DE PREVENTION D'ATTAQUE =========================== //
228 228
 
229
-if (! function_exists('esc')) {
229
+if (!function_exists('esc')) {
230 230
     /**
231 231
      * Effectue un simple échappement automatique des données pour des raisons de sécurité.
232 232
      * Pourrait envisager de rendre cela plus complexe à une date ultérieure.
@@ -253,7 +253,7 @@  discard block
 block discarded – undo
253 253
     }
254 254
 }
255 255
 
256
-if (! function_exists('h')) {
256
+if (!function_exists('h')) {
257 257
     /**
258 258
      * Méthode pratique pour htmlspecialchars.
259 259
      *
@@ -272,7 +272,7 @@  discard block
 block discarded – undo
272 272
     }
273 273
 }
274 274
 
275
-if (! function_exists('purify')) {
275
+if (!function_exists('purify')) {
276 276
     /**
277 277
      * Purifiez l'entrée à l'aide de la classe autonome HTMLPurifier.
278 278
      * Utilisez facilement plusieurs configurations de purificateur.
@@ -290,7 +290,7 @@  discard block
 block discarded – undo
290 290
     }
291 291
 }
292 292
 
293
-if (! function_exists('remove_invisible_characters')) {
293
+if (!function_exists('remove_invisible_characters')) {
294 294
     /**
295 295
      * Supprimer les caractères invisibles
296 296
      *
@@ -303,7 +303,7 @@  discard block
 block discarded – undo
303 303
     }
304 304
 }
305 305
 
306
-if (! function_exists('stringify_attributes')) {
306
+if (!function_exists('stringify_attributes')) {
307 307
     /**
308 308
      * Chaîner les attributs à utiliser dans les balises HTML.
309 309
      *
@@ -317,7 +317,7 @@  discard block
 block discarded – undo
317 317
 
318 318
 // ================================= FONCTIONS D'ENVIRONNEMENT D'EXECUTION ================================= //
319 319
 
320
-if (! function_exists('environment')) {
320
+if (!function_exists('environment')) {
321 321
     /**
322 322
      * Renvoi l'environnement d'execution actuel ou determine si on est dans un environnement specifie
323 323
      *
@@ -355,7 +355,7 @@  discard block
 block discarded – undo
355 355
     }
356 356
 }
357 357
 
358
-if (! function_exists('on_dev')) {
358
+if (!function_exists('on_dev')) {
359 359
     /**
360 360
      * Testez pour voir si nous sommes dans un environnement de développement.
361 361
      */
@@ -369,7 +369,7 @@  discard block
 block discarded – undo
369 369
     }
370 370
 }
371 371
 
372
-if (! function_exists('on_prod')) {
372
+if (!function_exists('on_prod')) {
373 373
     /**
374 374
      * Testez pour voir si nous sommes dans un environnement de production.
375 375
      */
@@ -383,7 +383,7 @@  discard block
 block discarded – undo
383 383
     }
384 384
 }
385 385
 
386
-if (! function_exists('on_test')) {
386
+if (!function_exists('on_test')) {
387 387
     /**
388 388
      * Testez pour voir si nous sommes dans un environnement de test
389 389
      */
@@ -393,7 +393,7 @@  discard block
 block discarded – undo
393 393
     }
394 394
 }
395 395
 
396
-if (! function_exists('is_cli')) {
396
+if (!function_exists('is_cli')) {
397 397
     /**
398 398
      * Testez pour voir si une demande a été faite à partir de la ligne de commande.
399 399
      */
@@ -403,7 +403,7 @@  discard block
 block discarded – undo
403 403
     }
404 404
 }
405 405
 
406
-if (! function_exists('is_php')) {
406
+if (!function_exists('is_php')) {
407 407
     /**
408 408
      * Détermine si la version actuelle de PHP est égale ou supérieure à la valeur fournie.
409 409
      */
@@ -413,7 +413,7 @@  discard block
 block discarded – undo
413 413
     }
414 414
 }
415 415
 
416
-if (! function_exists('is_windows')) {
416
+if (!function_exists('is_windows')) {
417 417
     /**
418 418
      * Déterminez si l'environnement actuel est basé sur Windows.
419 419
      */
@@ -423,7 +423,7 @@  discard block
 block discarded – undo
423 423
     }
424 424
 }
425 425
 
426
-if (! function_exists('is_https')) {
426
+if (!function_exists('is_https')) {
427 427
     /**
428 428
      * Determines if the application is accessed via an encrypted * (HTTPS) connection.
429 429
      */
@@ -433,7 +433,7 @@  discard block
 block discarded – undo
433 433
     }
434 434
 }
435 435
 
436
-if (! function_exists('is_localfile')) {
436
+if (!function_exists('is_localfile')) {
437 437
     /**
438 438
      * Vérifiez si le fichier auquel vous souhaitez accéder est un fichier local de votre application ou non
439 439
      */
@@ -443,11 +443,11 @@  discard block
 block discarded – undo
443 443
             return true;
444 444
         }
445 445
 
446
-        return ! preg_match('#^(https?://)#i', $name);
446
+        return !preg_match('#^(https?://)#i', $name);
447 447
     }
448 448
 }
449 449
 
450
-if (! function_exists('is_online')) {
450
+if (!function_exists('is_online')) {
451 451
     /**
452 452
      * Tester si l'application s'exécute en local ou en ligne.
453 453
      */
@@ -457,7 +457,7 @@  discard block
 block discarded – undo
457 457
     }
458 458
 }
459 459
 
460
-if (! function_exists('is_connected')) {
460
+if (!function_exists('is_connected')) {
461 461
     /**
462 462
      * Verifie si l'utilisateur a une connexion internet active.
463 463
      */
@@ -467,7 +467,7 @@  discard block
 block discarded – undo
467 467
     }
468 468
 }
469 469
 
470
-if (! function_exists('is_ajax_request')) {
470
+if (!function_exists('is_ajax_request')) {
471 471
     /**
472 472
      * Testez pour voir si une requête contient l'en-tête HTTP_X_REQUESTED_WITH.
473 473
      */
@@ -477,7 +477,7 @@  discard block
 block discarded – undo
477 477
     }
478 478
 }
479 479
 
480
-if (! function_exists('redirection')) {
480
+if (!function_exists('redirection')) {
481 481
     /**
482 482
      * Redirige l'utilisateur
483 483
      */
@@ -491,7 +491,7 @@  discard block
 block discarded – undo
491 491
     }
492 492
 }
493 493
 
494
-if (! function_exists('redirect')) {
494
+if (!function_exists('redirect')) {
495 495
     /**
496 496
      * Méthode pratique qui fonctionne avec la $request globale actuelle et
497 497
      * l'instance $router à rediriger à l'aide de routes nommées et le routage inversé
@@ -505,7 +505,7 @@  discard block
 block discarded – undo
505 505
     {
506 506
         $redirection = Services::redirection();
507 507
 
508
-        if (! empty($uri)) {
508
+        if (!empty($uri)) {
509 509
             return $redirection->route($uri);
510 510
         }
511 511
 
@@ -513,7 +513,7 @@  discard block
 block discarded – undo
513 513
     }
514 514
 }
515 515
 
516
-if (! function_exists('back')) {
516
+if (!function_exists('back')) {
517 517
     /**
518 518
      * Retourne a la page precedente
519 519
      *
@@ -525,7 +525,7 @@  discard block
 block discarded – undo
525 525
     }
526 526
 }
527 527
 
528
-if (! function_exists('link_to')) {
528
+if (!function_exists('link_to')) {
529 529
     /**
530 530
      * Étant donné une chaîne de contrôleur/méthode et tous les paramètres,
531 531
      * tentera de créer l'URL relative à la route correspondante.
@@ -545,7 +545,7 @@  discard block
 block discarded – undo
545 545
     }
546 546
 }
547 547
 
548
-if (! function_exists('clean_path')) {
548
+if (!function_exists('clean_path')) {
549 549
     /**
550 550
      * Une méthode pratique pour nettoyer les chemins pour
551 551
      * une sortie plus belle. Utile pour les exceptions
@@ -577,7 +577,7 @@  discard block
 block discarded – undo
577 577
     }
578 578
 }
579 579
 
580
-if (! function_exists('old')) {
580
+if (!function_exists('old')) {
581 581
     /**
582 582
      * Fournit l'accès à "entrée ancienne" qui a été définie dans la session lors d'un redirect()-withInput().
583 583
      *
@@ -590,7 +590,7 @@  discard block
 block discarded – undo
590 590
     function old(string $key, $default = null, $escape = 'html')
591 591
     {
592 592
         // Assurez-vous de charger la session
593
-        if (session_status() === PHP_SESSION_NONE && ! on_test()) {
593
+        if (session_status() === PHP_SESSION_NONE && !on_test()) {
594 594
             session(); // @codeCoverageIgnore
595 595
         }
596 596
 
@@ -605,7 +605,7 @@  discard block
 block discarded – undo
605 605
 
606 606
 // ================================= FONCTIONS DE DEBOGAGE ================================= //
607 607
 
608
-if (! function_exists('deprecationWarning')) {
608
+if (!function_exists('deprecationWarning')) {
609 609
     /**
610 610
      * Méthode d'assistance pour générer des avertissements d'obsolescence
611 611
      *
@@ -621,7 +621,7 @@  discard block
 block discarded – undo
621 621
     }
622 622
 }
623 623
 
624
-if (! function_exists('pr')) {
624
+if (!function_exists('pr')) {
625 625
     /**
626 626
      * print_r() convenience function.
627 627
      *
@@ -643,7 +643,7 @@  discard block
 block discarded – undo
643 643
     }
644 644
 }
645 645
 
646
-if (! function_exists('pj')) {
646
+if (!function_exists('pj')) {
647 647
     /**
648 648
      * json pretty print convenience function.
649 649
      *
@@ -664,7 +664,7 @@  discard block
 block discarded – undo
664 664
     }
665 665
 }
666 666
 
667
-if (! function_exists('trigger_warning')) {
667
+if (!function_exists('trigger_warning')) {
668 668
     /**
669 669
      * Déclenche un E_USER_WARNING.
670 670
      */
@@ -676,7 +676,7 @@  discard block
 block discarded – undo
676 676
 
677 677
 // ================================= FONCTIONS DIVERSES ================================= //
678 678
 
679
-if (! function_exists('force_https')) {
679
+if (!function_exists('force_https')) {
680 680
     /**
681 681
      * Utilisé pour forcer l'accès à une page via HTTPS.
682 682
      * Utilise une redirection standard, plus définira l'en-tête HSTS
@@ -734,7 +734,7 @@  discard block
 block discarded – undo
734 734
     }
735 735
 }
736 736
 
737
-if (! function_exists('get_type_name')) {
737
+if (!function_exists('get_type_name')) {
738 738
     /**
739 739
      * Renvoie la classe d'objets ou le type var de ce n'est pas un objet
740 740
      *
@@ -748,7 +748,7 @@  discard block
 block discarded – undo
748 748
     }
749 749
 }
750 750
 
751
-if (! function_exists('ip_address')) {
751
+if (!function_exists('ip_address')) {
752 752
     /**
753 753
      * Renvoie l'adresse IP de l'utilisateur actuel
754 754
      */
@@ -758,7 +758,7 @@  discard block
 block discarded – undo
758 758
     }
759 759
 }
760 760
 
761
-if (! function_exists('is_really_writable')) {
761
+if (!function_exists('is_really_writable')) {
762 762
     /**
763 763
      * Tests d'inscriptibilité des fichiers
764 764
      */
@@ -768,7 +768,7 @@  discard block
 block discarded – undo
768 768
     }
769 769
 }
770 770
 
771
-if (! function_exists('lang')) {
771
+if (!function_exists('lang')) {
772 772
     /**
773 773
      * Une méthode pratique pour traduire une chaîne ou un tableau d'entrées et formater
774 774
      * le résultat avec le MessageFormatter de l'extension intl.
@@ -779,7 +779,7 @@  discard block
 block discarded – undo
779 779
     }
780 780
 }
781 781
 
782
-if (! function_exists('__')) {
782
+if (!function_exists('__')) {
783 783
     /**
784 784
      * Une méthode pratique pour traduire une chaîne ou un tableau d'entrées et formater
785 785
      * le résultat avec le MessageFormatter de l'extension intl.
@@ -792,7 +792,7 @@  discard block
 block discarded – undo
792 792
     }
793 793
 }
794 794
 
795
-if (! function_exists('namespace_split')) {
795
+if (!function_exists('namespace_split')) {
796 796
     /**
797 797
      * Séparez l'espace de noms du nom de classe.
798 798
      *
@@ -813,7 +813,7 @@  discard block
 block discarded – undo
813 813
     }
814 814
 }
815 815
 
816
-if (! function_exists('view_exist')) {
816
+if (!function_exists('view_exist')) {
817 817
     /**
818 818
      * Verifie si un fichier de vue existe. Utile pour limiter les failles include
819 819
      */
@@ -827,7 +827,7 @@  discard block
 block discarded – undo
827 827
     }
828 828
 }
829 829
 
830
-if (! function_exists('view')) {
830
+if (!function_exists('view')) {
831 831
     /**
832 832
      * Charge une vue
833 833
      *
@@ -843,7 +843,7 @@  discard block
 block discarded – undo
843 843
     }
844 844
 }
845 845
 
846
-if (! function_exists('flash')) {
846
+if (!function_exists('flash')) {
847 847
     /**
848 848
      * Fournisseur d'acces rapide a la classe PHP Flash
849 849
      *
@@ -875,7 +875,7 @@  discard block
 block discarded – undo
875 875
     }*/
876 876
 }
877 877
 
878
-if (! function_exists('geo_ip')) {
878
+if (!function_exists('geo_ip')) {
879 879
     /**
880 880
      * Recuperation des coordonnees (pays, ville, etc) d'un utilisateur en fonction de son ip
881 881
      */
@@ -885,7 +885,7 @@  discard block
 block discarded – undo
885 885
     }
886 886
 }
887 887
 
888
-if (! function_exists('to_stream')) {
888
+if (!function_exists('to_stream')) {
889 889
     /**
890 890
      * Créez un nouveau flux basé sur le type d'entrée.
891 891
      *
@@ -906,7 +906,7 @@  discard block
 block discarded – undo
906 906
     }
907 907
 }
908 908
 
909
-if (! function_exists('value')) {
909
+if (!function_exists('value')) {
910 910
     /**
911 911
      * Renvoie la valeur par défaut de la valeur donnée.
912 912
      */
@@ -916,7 +916,7 @@  discard block
 block discarded – undo
916 916
     }
917 917
 }
918 918
 
919
-if (! function_exists('collect')) {
919
+if (!function_exists('collect')) {
920 920
     /**
921 921
      * Créez une collection à partir de la valeur donnée.
922 922
      */
@@ -926,7 +926,7 @@  discard block
 block discarded – undo
926 926
     }
927 927
 }
928 928
 
929
-if (! function_exists('with')) {
929
+if (!function_exists('with')) {
930 930
     /**
931 931
      * Renvoie la valeur donnée, éventuellement transmise via le rappel donné.
932 932
      *
@@ -938,7 +938,7 @@  discard block
 block discarded – undo
938 938
     }
939 939
 }
940 940
 
941
-if (! function_exists('tap')) {
941
+if (!function_exists('tap')) {
942 942
     /**
943 943
      * Appelez la Closure donnée avec cette instance puis renvoyez l'instance.
944 944
      */
@@ -948,7 +948,7 @@  discard block
 block discarded – undo
948 948
     }
949 949
 }
950 950
 
951
-if (! function_exists('last')) {
951
+if (!function_exists('last')) {
952 952
     /**
953 953
      * Recupere le dernier element d'un tableau
954 954
      */
@@ -958,7 +958,7 @@  discard block
 block discarded – undo
958 958
     }
959 959
 }
960 960
 
961
-if (! function_exists('invade')) {
961
+if (!function_exists('invade')) {
962 962
     /**
963 963
      * Cette classe offre une fonction d'invasion qui vous permettra de lire / écrire des propriétés privées d'un objet.
964 964
      * Il vous permettra également de définir, obtenir et appeler des méthodes privées.
Please login to merge, or discard this patch.
src/Container/Container.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -108,7 +108,7 @@  discard block
 block discarded – undo
108 108
      */
109 109
     public function addIf(string $key, Closure $callback): void
110 110
     {
111
-        if (! $this->has($key)) {
111
+        if (!$this->has($key)) {
112 112
             $this->add($key, $callback);
113 113
         }
114 114
     }
@@ -224,7 +224,7 @@  discard block
 block discarded – undo
224 224
      */
225 225
     private function discoveProviders(): void
226 226
     {
227
-        if (! static::$discovered) {
227
+        if (!static::$discovered) {
228 228
             $locator = Services::locator();
229 229
             $files   = array_merge(
230 230
                 $locator->search('Config/Providers'),
Please login to merge, or discard this patch.
src/Controllers/ApplicationController.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@  discard block
 block discarded – undo
43 43
         $path = '';
44 44
 
45 45
         // N'est-il pas namespaced ? on cherche le dossier en fonction du controleur
46
-        if (! str_contains($view, '\\')) {
46
+        if (!str_contains($view, '\\')) {
47 47
             $reflection                                      = new ReflectionClass(static::class);
48 48
             ['dirname' => $dirname, 'filename' => $filename] = pathinfo($reflection->getFileName());
49 49
             $dirname                                         = str_ireplace('Controllers', 'Views', $dirname);
@@ -55,15 +55,15 @@  discard block
 block discarded – undo
55 55
 
56 56
         $viewer->setData($data)->setOptions($options);
57 57
 
58
-        if (! empty($this->layout) && is_string($this->layout)) {
58
+        if (!empty($this->layout) && is_string($this->layout)) {
59 59
             $viewer->setLayout($this->layout);
60 60
         }
61 61
 
62
-        if (! empty($this->viewDatas) && is_array($this->viewDatas)) {
62
+        if (!empty($this->viewDatas) && is_array($this->viewDatas)) {
63 63
             $viewer->addData($this->viewDatas);
64 64
         }
65 65
 
66
-        if (! is_string($controllerName = Dispatcher::getController(false))) {
66
+        if (!is_string($controllerName = Dispatcher::getController(false))) {
67 67
             $controllerName = static::class;
68 68
         }
69 69
 
Please login to merge, or discard this patch.
src/Controllers/RestController.php 1 patch
Spacing   +19 added lines, -19 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@  discard block
 block discarded – undo
72 72
         $this->config = (object) config('rest');
73 73
 
74 74
         $locale       = $this->config->language ?? null;
75
-        $this->locale = ! empty($locale) ? $locale : $this->request->getLocale();
75
+        $this->locale = !empty($locale) ? $locale : $this->request->getLocale();
76 76
     }
77 77
 
78 78
     public function _remap(string $method, array $params = [])
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
80 80
         $class = static::class;
81 81
 
82 82
         // Bien sûr qu'il existe, mais peuvent-ils en faire quelque chose ?
83
-        if (! method_exists($class, $method)) {
83
+        if (!method_exists($class, $method)) {
84 84
             return $this->respondNotImplemented($this->_translate('notImplemented', [$class, $method]));
85 85
         }
86 86
 
@@ -107,7 +107,7 @@  discard block
 block discarded – undo
107 107
 
108 108
             return $this->respondOk($response);
109 109
         } catch (Throwable $ex) {
110
-            if (! on_dev()) {
110
+            if (!on_dev()) {
111 111
                 $url = explode('?', $this->request->getRequestTarget())[0];
112 112
 
113 113
                 return $this->respondBadRequest($this->_translate('badUsed', [$url]));
@@ -156,18 +156,18 @@  discard block
 block discarded – undo
156 156
     final protected function respondFail(?string $message = "Une erreur s'est produite", ?int $status = StatusCode::INTERNAL_ERROR, null|int|string $code = null, array $errors = [])
157 157
     {
158 158
         $message = $message ?: "Une erreur s'est produite";
159
-        $code    = ! empty($code) ? $code : $status;
159
+        $code    = !empty($code) ? $code : $status;
160 160
 
161 161
         $response = [
162 162
             $this->config->field['message'] ?? 'message' => $message,
163 163
         ];
164
-        if (! empty($this->config->field['status'])) {
164
+        if (!empty($this->config->field['status'])) {
165 165
             $response[$this->config->field['status']] = false;
166 166
         }
167
-        if (! empty($this->config->field['code'])) {
167
+        if (!empty($this->config->field['code'])) {
168 168
             $response[$this->config->field['code']] = $code;
169 169
         }
170
-        if (! empty($errors)) {
170
+        if (!empty($errors)) {
171 171
             $response[$this->config->field['errors'] ?? 'errors'] = $errors;
172 172
         }
173 173
 
@@ -188,12 +188,12 @@  discard block
 block discarded – undo
188 188
     final protected function respondSuccess(?string $message = 'Resultat', $result = null, ?int $status = StatusCode::OK)
189 189
     {
190 190
         $message = $message ?: 'Resultat';
191
-        $status  = ! empty($status) ? $status : StatusCode::OK;
191
+        $status  = !empty($status) ? $status : StatusCode::OK;
192 192
 
193 193
         $response = [
194 194
             $this->config->field['message'] ?? 'message' => $message,
195 195
         ];
196
-        if (! empty($this->config->field['status'])) {
196
+        if (!empty($this->config->field['status'])) {
197 197
             $response[$this->config->field['status']] = true;
198 198
         }
199 199
         if (is_array($result)) {
@@ -308,7 +308,7 @@  discard block
 block discarded – undo
308 308
      */
309 309
     final protected function allowedMethods(string ...$methods): self
310 310
     {
311
-        if (! empty($methods)) {
311
+        if (!empty($methods)) {
312 312
             $this->config->allowed_methods = array_map(static fn ($str) => strtoupper($str), $methods);
313 313
         }
314 314
 
@@ -406,13 +406,13 @@  discard block
 block discarded – undo
406 406
         }
407 407
 
408 408
         // Si la méthode de format existe, appelle et renvoie la sortie dans ce format
409
-        if (! empty($mime)) {
409
+        if (!empty($mime)) {
410 410
             $output = Formatter::type($mime)->format($data);
411 411
 
412 412
             // Définit l'en-tête du format
413 413
             // Ensuite, vérifiez si le client a demandé un rappel, et si la sortie contient ce rappel :
414 414
             $callback = $this->request->getQuery('callback');
415
-            if (! empty($callback) && $mime === $this->mimes['json'] && preg_match('/^' . $callback . '/', $output)) {
415
+            if (!empty($callback) && $mime === $this->mimes['json'] && preg_match('/^' . $callback . '/', $output)) {
416 416
                 $this->response = $this->response->withType($this->mimes['jsonp']);
417 417
             } else {
418 418
                 $this->response = $this->response->withType($mime === $this->mimes['array'] ? $this->mimes['json'] : $mime);
@@ -468,22 +468,22 @@  discard block
 block discarded – undo
468 468
     private function checkProcess(): bool|ResponseInterface
469 469
     {
470 470
         // Verifie si la requete est en ajax
471
-        if (! $this->request->is('ajax') && $this->config->ajax_only) {
471
+        if (!$this->request->is('ajax') && $this->config->ajax_only) {
472 472
             return $this->respondNotAcceptable($this->_translate('ajaxOnly'));
473 473
         }
474 474
 
475 475
         // Verifie si la requete est en https
476
-        if (! $this->request->is('https') && $this->config->force_https) {
476
+        if (!$this->request->is('https') && $this->config->force_https) {
477 477
             return $this->respondForbidden($this->_translate('unsupported'));
478 478
         }
479 479
 
480 480
         // Verifie si la methode utilisee pour la requete est autorisee
481
-        if (! in_array(strtoupper($this->request->getMethod()), $this->config->allowed_methods, true)) {
481
+        if (!in_array(strtoupper($this->request->getMethod()), $this->config->allowed_methods, true)) {
482 482
             return $this->respondNotAcceptable($this->_translate('unknownMethod'));
483 483
         }
484 484
 
485 485
         // Verifie que l'ip qui emet la requete n'est pas dans la blacklist
486
-        if (! empty($this->config->ip_blacklis)) {
486
+        if (!empty($this->config->ip_blacklis)) {
487 487
             $this->config->ip_blacklist = implode(',', $this->config->ip_blacklist);
488 488
 
489 489
             // Correspond à une adresse IP dans une liste noire, par ex. 127.0.0.0, 0.0.0.0
@@ -496,20 +496,20 @@  discard block
 block discarded – undo
496 496
         }
497 497
 
498 498
         // Verifie que l'ip qui emet la requete est dans la whitelist
499
-        if (! empty($this->config->ip_whitelist)) {
499
+        if (!empty($this->config->ip_whitelist)) {
500 500
             $whitelist = $this->config->ip_whitelist;
501 501
             array_push($whitelist, '127.0.0.1', '0.0.0.0');
502 502
 
503 503
             // coupez les espaces de début et de fin des ip
504 504
             $whitelist = array_map('trim', $whitelist);
505 505
 
506
-            if (! in_array($this->request->clientIp(), $whitelist, true)) {
506
+            if (!in_array($this->request->clientIp(), $whitelist, true)) {
507 507
                 return $this->respondUnauthorized($this->_translate('ipUnauthorized'));
508 508
             }
509 509
         }
510 510
 
511 511
         // Verifie l'authentification du client
512
-        if (false !== $this->config->auth && ! $this->request->is('options')) {
512
+        if (false !== $this->config->auth && !$this->request->is('options')) {
513 513
             if ('bearer' === strtolower($this->config->auth)) {
514 514
                 $token = $this->getBearerToken();
515 515
                 if (empty($token)) {
Please login to merge, or discard this patch.
src/Event/EventDiscover.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
         foreach ($files as $file) {
36 36
             $className = $this->locator->getClassname($file);
37 37
 
38
-            if ($className === '' || ! class_exists($className) || ! is_a($className, EventListenerInterface::class, true)) {
38
+            if ($className === '' || !class_exists($className) || !is_a($className, EventListenerInterface::class, true)) {
39 39
                 continue;
40 40
             }
41 41
 
Please login to merge, or discard this patch.
src/Cli/Traits/GeneratorTrait.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -120,7 +120,7 @@  discard block
 block discarded – undo
120 120
             // @codeCoverageIgnoreStart
121 121
             $this->colorize(lang('CLI.generator.usingBlitzNamespace'), 'yellow');
122 122
 
123
-            if (! $this->confirm('Are you sure you want to continue?')) {
123
+            if (!$this->confirm('Are you sure you want to continue?')) {
124 124
                 $this->eol()->colorize(lang('CLI.generator.cancelOperation'), 'yellow');
125 125
 
126 126
                 return;
@@ -134,7 +134,7 @@  discard block
 block discarded – undo
134 134
 
135 135
         // Écraser des fichiers sans le savoir est une gêne sérieuse, nous allons donc vérifier si nous dupliquons des choses,
136 136
         // si l'option "forcer" n'est pas fournie, nous renvoyons.
137
-        if (! $this->option('force') && $isFile) {
137
+        if (!$this->option('force') && $isFile) {
138 138
             $this->io->error(lang('CLI.generator.fileExist', [clean_path($target)]), true);
139 139
 
140 140
             return;
@@ -143,7 +143,7 @@  discard block
 block discarded – undo
143 143
         // Vérifie si le répertoire pour enregistrer le fichier existe.
144 144
         $dir = dirname($target);
145 145
 
146
-        if (! is_dir($dir)) {
146
+        if (!is_dir($dir)) {
147 147
             mkdir($dir, 0o755, true);
148 148
         }
149 149
 
@@ -152,7 +152,7 @@  discard block
 block discarded – undo
152 152
         // Construisez la classe en fonction des détails dont nous disposons.
153 153
         // Nous obtiendrons le contenu de notre fichier à partir du modèle,
154 154
         // puis nous effectuerons les remplacements nécessaires.
155
-        if (! write_file($target, $content)) {
155
+        if (!write_file($target, $content)) {
156 156
             // @codeCoverageIgnoreStart
157 157
             $this->io->error(lang('CLI.generator.fileError', [clean_path($target)]), true);
158 158
 
@@ -226,7 +226,7 @@  discard block
 block discarded – undo
226 226
             $class = $matches[1] . ucfirst($matches[2]);
227 227
         }
228 228
 
229
-        if ($this->enabledSuffixing && $this->getOption('suffix') && ! strripos($class, $component)) {
229
+        if ($this->enabledSuffixing && $this->getOption('suffix') && !strripos($class, $component)) {
230 230
             $class .= ucfirst($component);
231 231
         }
232 232
 
@@ -297,7 +297,7 @@  discard block
 block discarded – undo
297 297
 
298 298
         $base = Services::autoloader()->getNamespace($namespace);
299 299
 
300
-        if (! $base = reset($base)) {
300
+        if (!$base = reset($base)) {
301 301
             $this->io->error(lang('CLI.namespaceNotDefined', [$namespace]), true);
302 302
 
303 303
             return '';
Please login to merge, or discard this patch.
src/Cli/Traits/ContentReplacer.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -66,14 +66,14 @@
 block discarded – undo
66 66
 
67 67
         $directory = dirname($path);
68 68
 
69
-        if (! is_dir($directory)) {
69
+        if (!is_dir($directory)) {
70 70
             mkdir($directory, 0o777, true);
71 71
         }
72 72
 
73 73
         if (file_exists($path)) {
74 74
             $overwrite = (bool) $this->option('f');
75 75
 
76
-            if (! $overwrite && ! $this->confirm("Le fichier '{$cleanPath}' existe déjà dans la destination. Le remplacé?")) {
76
+            if (!$overwrite && !$this->confirm("Le fichier '{$cleanPath}' existe déjà dans la destination. Le remplacé?")) {
77 77
                 $this->error("{$cleanPath} sauté. Si vous souhaitez le remplacer, s'il vous plaît utiliser l'option '-f' ou répondre 'y' à l'invite.")->eol();
78 78
 
79 79
                 return;
Please login to merge, or discard this patch.
src/Mail/Mail.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -111,7 +111,7 @@  discard block
 block discarded – undo
111 111
      */
112 112
     protected function factory(): AbstractAdapter
113 113
     {
114
-        if (! empty($this->adapter)) {
114
+        if (!empty($this->adapter)) {
115 115
             return $this->adapter;
116 116
         }
117 117
 
@@ -125,7 +125,7 @@  discard block
 block discarded – undo
125 125
             $handler = static::$validHandlers[$handler];
126 126
         }
127 127
 
128
-        if (! class_exists($handler)) {
128
+        if (!class_exists($handler)) {
129 129
             throw new InvalidArgumentException(lang('Mail.invalidHandler', [$handler]));
130 130
         }
131 131
 
@@ -134,7 +134,7 @@  discard block
 block discarded – undo
134 134
             $debug = on_dev();
135 135
         }
136 136
 
137
-        if (! is_subclass_of($handler, AbstractAdapter::class)) {
137
+        if (!is_subclass_of($handler, AbstractAdapter::class)) {
138 138
             throw new InvalidArgumentException(lang('Mail.handlerMustExtendClass', [$handler, AbstractAdapter::class]));
139 139
         }
140 140
 
@@ -340,15 +340,15 @@  discard block
 block discarded – undo
340 340
         $path = '';
341 341
 
342 342
         // N'est-il pas namespaced ? on cherche le dossier en fonction du parametre "view_base"
343
-        if (! str_contains($view, '\\')) {
343
+        if (!str_contains($view, '\\')) {
344 344
             $path = $this->config['view_dir'] ?? '';
345
-            if (! empty($path)) {
345
+            if (!empty($path)) {
346 346
                 $path .= '/';
347 347
             }
348 348
         }
349 349
 
350 350
         $view = view($path . $view, $data);
351
-        if (! empty($this->config['template'])) {
351
+        if (!empty($this->config['template'])) {
352 352
             $view->setLayout($this->config['template']);
353 353
         }
354 354
 
Please login to merge, or discard this patch.