Passed
Push — main ( 5eb528...8b73d6 )
by Dimitri
12:35
created
src/Helpers/path.php 1 patch
Spacing   +107 added lines, -107 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_path')) {
12
+if (!function_exists('css_path')) {
13 13
     /**
14 14
      * CSS PATH
15 15
      *
@@ -19,7 +19,7 @@  discard block
 block discarded – undo
19 19
      */
20 20
     function css_path(string $name = ''): string
21 21
     {
22
-        if (! empty($name)) {
22
+        if (!empty($name)) {
23 23
             $name = DS . ltrim($name, '/\\');
24 24
         }
25 25
 
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
     }
28 28
 }
29 29
 
30
-if (! function_exists('js_path')) {
30
+if (!function_exists('js_path')) {
31 31
     /**
32 32
      * JS PATH
33 33
      *
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
      */
38 38
     function js_path(string $name = ''): string
39 39
     {
40
-        if (! empty($name)) {
40
+        if (!empty($name)) {
41 41
             $name = DS . ltrim($name, '/\\');
42 42
         }
43 43
 
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
     }
46 46
 }
47 47
 
48
-if (! function_exists('lib_path')) {
48
+if (!function_exists('lib_path')) {
49 49
     /**
50 50
      * LIB PATH
51 51
      *
@@ -55,7 +55,7 @@  discard block
 block discarded – undo
55 55
      */
56 56
     function lib_path(string $name = ''): string
57 57
     {
58
-        if (! empty($name)) {
58
+        if (!empty($name)) {
59 59
             $name = DS . ltrim($name, '/\\');
60 60
         }
61 61
 
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
     }
64 64
 }
65 65
 
66
-if (! function_exists('less_path')) {
66
+if (!function_exists('less_path')) {
67 67
     /**
68 68
      * LESS PATH
69 69
      *
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
      */
74 74
     function less_path(string $name = ''): string
75 75
     {
76
-        if (! empty($name)) {
76
+        if (!empty($name)) {
77 77
             $name = DS . ltrim($name, '/\\');
78 78
         }
79 79
 
@@ -81,7 +81,7 @@  discard block
 block discarded – undo
81 81
     }
82 82
 }
83 83
 
84
-if (! function_exists('img_path')) {
84
+if (!function_exists('img_path')) {
85 85
     /**
86 86
      * IMG PATH
87 87
      *
@@ -91,7 +91,7 @@  discard block
 block discarded – undo
91 91
      */
92 92
     function img_path(string $name = ''): string
93 93
     {
94
-        if (! empty($name)) {
94
+        if (!empty($name)) {
95 95
             $name = DS . ltrim($name, '/\\');
96 96
         }
97 97
 
@@ -99,7 +99,7 @@  discard block
 block discarded – undo
99 99
     }
100 100
 }
101 101
 
102
-if (! function_exists('docs_path')) {
102
+if (!function_exists('docs_path')) {
103 103
     /**
104 104
      * DOCS PATH
105 105
      *
@@ -109,7 +109,7 @@  discard block
 block discarded – undo
109 109
      */
110 110
     function docs_path(string $name = ''): string
111 111
     {
112
-        if (! empty($name)) {
112
+        if (!empty($name)) {
113 113
             $name = DS . ltrim($name, '/\\');
114 114
         }
115 115
 
@@ -117,7 +117,7 @@  discard block
 block discarded – undo
117 117
     }
118 118
 }
119 119
 
120
-if (! function_exists('video_path')) {
120
+if (!function_exists('video_path')) {
121 121
     /**
122 122
      * VIDEO PATH
123 123
      *
@@ -127,7 +127,7 @@  discard block
 block discarded – undo
127 127
      */
128 128
     function video_path(string $name = ''): string
129 129
     {
130
-        if (! empty($name)) {
130
+        if (!empty($name)) {
131 131
             $name = DS . ltrim($name, '/\\');
132 132
         }
133 133
 
@@ -135,7 +135,7 @@  discard block
 block discarded – undo
135 135
     }
136 136
 }
137 137
 
138
-if (! function_exists('public_path')) {
138
+if (!function_exists('public_path')) {
139 139
     /**
140 140
      * PUBLIC PATH
141 141
      *
@@ -145,7 +145,7 @@  discard block
 block discarded – undo
145 145
      */
146 146
     function public_path(string $name = ''): string
147 147
     {
148
-        if (! empty($name)) {
148
+        if (!empty($name)) {
149 149
             $name = ltrim($name, '/\\');
150 150
         }
151 151
 
@@ -153,7 +153,7 @@  discard block
 block discarded – undo
153 153
     }
154 154
 }
155 155
 
156
-if (! function_exists('root_path')) {
156
+if (!function_exists('root_path')) {
157 157
     /**
158 158
      * ROOT PATH
159 159
      *
@@ -163,7 +163,7 @@  discard block
 block discarded – undo
163 163
      */
164 164
     function root_path(string $name = ''): string
165 165
     {
166
-        if (! empty($name)) {
166
+        if (!empty($name)) {
167 167
             $name = ltrim($name, '/\\');
168 168
         }
169 169
 
@@ -171,7 +171,7 @@  discard block
 block discarded – undo
171 171
     }
172 172
 }
173 173
 
174
-if (! function_exists('base_path')) {
174
+if (!function_exists('base_path')) {
175 175
     /**
176 176
      * BASE PATH
177 177
      *
@@ -181,7 +181,7 @@  discard block
 block discarded – undo
181 181
      */
182 182
     function base_path(string $name = ''): string
183 183
     {
184
-        if (! empty($name)) {
184
+        if (!empty($name)) {
185 185
             $name = ltrim($name, '/\\');
186 186
         }
187 187
 
@@ -189,7 +189,7 @@  discard block
 block discarded – undo
189 189
     }
190 190
 }
191 191
 
192
-if (! function_exists('class_path')) {
192
+if (!function_exists('class_path')) {
193 193
     /**
194 194
      * CLASS PATH
195 195
      *
@@ -199,7 +199,7 @@  discard block
 block discarded – undo
199 199
      */
200 200
     function class_path(string $name = ''): string
201 201
     {
202
-        if (! empty($name)) {
202
+        if (!empty($name)) {
203 203
             $name = DS . ltrim($name, '/\\');
204 204
         }
205 205
 
@@ -207,7 +207,7 @@  discard block
 block discarded – undo
207 207
     }
208 208
 }
209 209
 
210
-if (! function_exists('config_path')) {
210
+if (!function_exists('config_path')) {
211 211
     /**
212 212
      * CONFIG PATH
213 213
      *
@@ -217,7 +217,7 @@  discard block
 block discarded – undo
217 217
      */
218 218
     function config_path(string $name = ''): string
219 219
     {
220
-        if (! empty($name)) {
220
+        if (!empty($name)) {
221 221
             $name = DS . ltrim($name, '/\\');
222 222
         }
223 223
 
@@ -225,7 +225,7 @@  discard block
 block discarded – undo
225 225
     }
226 226
 }
227 227
 
228
-if (! function_exists('controller_path')) {
228
+if (!function_exists('controller_path')) {
229 229
     /**
230 230
      * CONTROLLER PATH
231 231
      *
@@ -236,10 +236,10 @@  discard block
 block discarded – undo
236 236
      */
237 237
     function controller_path(string $name = '', bool $only = true): string
238 238
     {
239
-        if (! empty($name)) {
239
+        if (!empty($name)) {
240 240
             $name = ltrim($name, '/\\');
241 241
 
242
-            if ($only === true && ! preg_match('#Controller\.php$#', $name)) {
242
+            if ($only === true && !preg_match('#Controller\.php$#', $name)) {
243 243
                 $name = ucfirst(strtolower($name)) . 'Controller.php';
244 244
             }
245 245
         }
@@ -248,7 +248,7 @@  discard block
 block discarded – undo
248 248
     }
249 249
 }
250 250
 
251
-if (! function_exists('entity_path')) {
251
+if (!function_exists('entity_path')) {
252 252
     /**
253 253
      * ENTITY PATH
254 254
      *
@@ -259,10 +259,10 @@  discard block
 block discarded – undo
259 259
      */
260 260
     function entity_path(string $name = '', bool $only = true): string
261 261
     {
262
-        if (! empty($name)) {
262
+        if (!empty($name)) {
263 263
             $name = ltrim($name, '/\\');
264 264
 
265
-            if ($only === true && ! preg_match('#Entity\.php$#', $name)) {
265
+            if ($only === true && !preg_match('#Entity\.php$#', $name)) {
266 266
                 $name = ucfirst($name) . 'Entity.php';
267 267
             }
268 268
         }
@@ -271,7 +271,7 @@  discard block
 block discarded – undo
271 271
     }
272 272
 }
273 273
 
274
-if (! function_exists('helper_path')) {
274
+if (!function_exists('helper_path')) {
275 275
     /**
276 276
      * HELPER PATH
277 277
      *
@@ -282,7 +282,7 @@  discard block
 block discarded – undo
282 282
      */
283 283
     function helper_path(string $name = '', bool $system = false): string
284 284
     {
285
-        if (! empty($name)) {
285
+        if (!empty($name)) {
286 286
             $name = DS . ltrim($name, '/\\');
287 287
         }
288 288
         if ($system === true) {
@@ -293,7 +293,7 @@  discard block
 block discarded – undo
293 293
     }
294 294
 }
295 295
 
296
-if (! function_exists('library_path')) {
296
+if (!function_exists('library_path')) {
297 297
     /**
298 298
      * LIBRARY PATH
299 299
      *
@@ -304,7 +304,7 @@  discard block
 block discarded – undo
304 304
      */
305 305
     function library_path(string $name = '', bool $system = false): string
306 306
     {
307
-        if (! empty($name)) {
307
+        if (!empty($name)) {
308 308
             $name = DS . ltrim($name, '/\\');
309 309
         }
310 310
         if ($system === true) {
@@ -315,7 +315,7 @@  discard block
 block discarded – undo
315 315
     }
316 316
 }
317 317
 
318
-if (! function_exists('middleware_path')) {
318
+if (!function_exists('middleware_path')) {
319 319
     /**
320 320
      * MIDDLEWARE PATH
321 321
      *
@@ -327,10 +327,10 @@  discard block
 block discarded – undo
327 327
      */
328 328
     function middleware_path(string $name = '', bool $system = false, bool $only = true): string
329 329
     {
330
-        if (! empty($name)) {
330
+        if (!empty($name)) {
331 331
             $name = DS . ltrim($name, '/\\');
332 332
 
333
-            if ($only === true && ! preg_match('#Middleware\.php$#', $name)) {
333
+            if ($only === true && !preg_match('#Middleware\.php$#', $name)) {
334 334
                 $name = ucfirst($name) . 'Middleware.php';
335 335
             }
336 336
         }
@@ -342,7 +342,7 @@  discard block
 block discarded – undo
342 342
     }
343 343
 }
344 344
 
345
-if (! function_exists('model_path')) {
345
+if (!function_exists('model_path')) {
346 346
     /**
347 347
      * MODEL PATH
348 348
      *
@@ -353,10 +353,10 @@  discard block
 block discarded – undo
353 353
      */
354 354
     function model_path(string $name = '', bool $only = true): string
355 355
     {
356
-        if (! empty($name)) {
356
+        if (!empty($name)) {
357 357
             $name = ltrim($name, '/\\');
358 358
 
359
-            if ($only === true && ! preg_match('#Model\.php$#', $name)) {
359
+            if ($only === true && !preg_match('#Model\.php$#', $name)) {
360 360
                 $name = ucfirst(strtolower($name)) . 'Model.php';
361 361
             }
362 362
         }
@@ -365,7 +365,7 @@  discard block
 block discarded – undo
365 365
     }
366 366
 }
367 367
 
368
-if (! function_exists('resource_path')) {
368
+if (!function_exists('resource_path')) {
369 369
     /**
370 370
      * RESOURCE PATH
371 371
      *
@@ -375,7 +375,7 @@  discard block
 block discarded – undo
375 375
      */
376 376
     function resource_path(string $name = ''): string
377 377
     {
378
-        if (! empty($name)) {
378
+        if (!empty($name)) {
379 379
             $name = ltrim($name, '/\\');
380 380
         }
381 381
 
@@ -383,7 +383,7 @@  discard block
 block discarded – undo
383 383
     }
384 384
 }
385 385
 
386
-if (! function_exists('migration_path')) {
386
+if (!function_exists('migration_path')) {
387 387
     /**
388 388
      * MIGRATION PATH
389 389
      *
@@ -393,7 +393,7 @@  discard block
 block discarded – undo
393 393
      */
394 394
     function migration_path(string $name = ''): string
395 395
     {
396
-        if (! empty($name)) {
396
+        if (!empty($name)) {
397 397
             $name = ltrim($name, '/\\');
398 398
         }
399 399
 
@@ -401,7 +401,7 @@  discard block
 block discarded – undo
401 401
     }
402 402
 }
403 403
 
404
-if (! function_exists('seed_path')) {
404
+if (!function_exists('seed_path')) {
405 405
     /**
406 406
      * SEED PATH
407 407
      *
@@ -411,7 +411,7 @@  discard block
 block discarded – undo
411 411
      */
412 412
     function seed_path(string $name = ''): string
413 413
     {
414
-        if (! empty($name)) {
414
+        if (!empty($name)) {
415 415
             $name = ltrim($name, '/\\');
416 416
         }
417 417
 
@@ -419,7 +419,7 @@  discard block
 block discarded – undo
419 419
     }
420 420
 }
421 421
 
422
-if (! function_exists('lang_path')) {
422
+if (!function_exists('lang_path')) {
423 423
     /**
424 424
      * LANG PATH
425 425
      *
@@ -430,7 +430,7 @@  discard block
 block discarded – undo
430 430
      */
431 431
     function lang_path(string $name = '', bool $system = false): string
432 432
     {
433
-        if (! empty($name)) {
433
+        if (!empty($name)) {
434 434
             $name = DS . ltrim($name, '/\\');
435 435
         }
436 436
         if ($system === true) {
@@ -441,7 +441,7 @@  discard block
 block discarded – undo
441 441
     }
442 442
 }
443 443
 
444
-if (! function_exists('service_path')) {
444
+if (!function_exists('service_path')) {
445 445
     /**
446 446
      * SERVICE PATH
447 447
      *
@@ -452,10 +452,10 @@  discard block
 block discarded – undo
452 452
      */
453 453
     function service_path(string $name = '', bool $only = true): string
454 454
     {
455
-        if (! empty($name)) {
455
+        if (!empty($name)) {
456 456
             $name = ltrim($name, '/\\');
457 457
 
458
-            if ($only === true && ! preg_match('#Service\.php$#', $name)) {
458
+            if ($only === true && !preg_match('#Service\.php$#', $name)) {
459 459
                 $name = ucfirst($name) . 'Service.php';
460 460
             }
461 461
         }
@@ -464,7 +464,7 @@  discard block
 block discarded – undo
464 464
     }
465 465
 }
466 466
 
467
-if (! function_exists('view_path')) {
467
+if (!function_exists('view_path')) {
468 468
     /**
469 469
      * VIEW PATH
470 470
      *
@@ -474,7 +474,7 @@  discard block
 block discarded – undo
474 474
      */
475 475
     function view_path(string $name = ''): string
476 476
     {
477
-        if (! empty($name)) {
477
+        if (!empty($name)) {
478 478
             $name = ltrim($name, '/\\');
479 479
         }
480 480
 
@@ -482,7 +482,7 @@  discard block
 block discarded – undo
482 482
     }
483 483
 }
484 484
 
485
-if (! function_exists('layout_path')) {
485
+if (!function_exists('layout_path')) {
486 486
     /**
487 487
      * LAYOUT PATH
488 488
      *
@@ -492,7 +492,7 @@  discard block
 block discarded – undo
492 492
      */
493 493
     function layout_path(string $name = ''): string
494 494
     {
495
-        if (! empty($name)) {
495
+        if (!empty($name)) {
496 496
             $name = ltrim($name, '/\\');
497 497
         }
498 498
 
@@ -500,7 +500,7 @@  discard block
 block discarded – undo
500 500
     }
501 501
 }
502 502
 
503
-if (! function_exists('partial_path')) {
503
+if (!function_exists('partial_path')) {
504 504
     /**
505 505
      * PARTIAL PATH
506 506
      *
@@ -510,7 +510,7 @@  discard block
 block discarded – undo
510 510
      */
511 511
     function partial_path(string $name = ''): string
512 512
     {
513
-        if (! empty($name)) {
513
+        if (!empty($name)) {
514 514
             $name = DS . ltrim($name, '/\\');
515 515
         }
516 516
 
@@ -518,7 +518,7 @@  discard block
 block discarded – undo
518 518
     }
519 519
 }
520 520
 
521
-if (! function_exists('app_path')) {
521
+if (!function_exists('app_path')) {
522 522
     /**
523 523
      * APP PATH
524 524
      *
@@ -528,7 +528,7 @@  discard block
 block discarded – undo
528 528
      */
529 529
     function app_path(string $name = ''): string
530 530
     {
531
-        if (! empty($name)) {
531
+        if (!empty($name)) {
532 532
             $name = ltrim($name, '/\\');
533 533
         }
534 534
 
@@ -536,7 +536,7 @@  discard block
 block discarded – undo
536 536
     }
537 537
 }
538 538
 
539
-if (! function_exists('cache_path')) {
539
+if (!function_exists('cache_path')) {
540 540
     /**
541 541
      * CACHE PATH
542 542
      *
@@ -546,7 +546,7 @@  discard block
 block discarded – undo
546 546
      */
547 547
     function cache_path(string $name = ''): string
548 548
     {
549
-        if (! empty($name)) {
549
+        if (!empty($name)) {
550 550
             $name = ltrim($name, '/\\');
551 551
         }
552 552
 
@@ -554,7 +554,7 @@  discard block
 block discarded – undo
554 554
     }
555 555
 }
556 556
 
557
-if (! function_exists('dump_path')) {
557
+if (!function_exists('dump_path')) {
558 558
     /**
559 559
      * DUMP PATH
560 560
      *
@@ -564,7 +564,7 @@  discard block
 block discarded – undo
564 564
      */
565 565
     function dump_path(string $name = ''): string
566 566
     {
567
-        if (! empty($name)) {
567
+        if (!empty($name)) {
568 568
             $name = ltrim($name, '/\\');
569 569
         }
570 570
 
@@ -572,7 +572,7 @@  discard block
 block discarded – undo
572 572
     }
573 573
 }
574 574
 
575
-if (! function_exists('storage_path')) {
575
+if (!function_exists('storage_path')) {
576 576
     /**
577 577
      * STORAGE PATH
578 578
      *
@@ -582,7 +582,7 @@  discard block
 block discarded – undo
582 582
      */
583 583
     function storage_path(string $name = ''): string
584 584
     {
585
-        if (! empty($name)) {
585
+        if (!empty($name)) {
586 586
             $name = ltrim($name, '/\\');
587 587
         }
588 588
 
@@ -590,7 +590,7 @@  discard block
 block discarded – undo
590 590
     }
591 591
 }
592 592
 
593
-if (! function_exists('css_exist')) {
593
+if (!function_exists('css_exist')) {
594 594
     /**
595 595
      * CSS EXIST
596 596
      *
@@ -604,7 +604,7 @@  discard block
 block discarded – undo
604 604
     }
605 605
 }
606 606
 
607
-if (! function_exists('js_exist')) {
607
+if (!function_exists('js_exist')) {
608 608
     /**
609 609
      * JS EXIST
610 610
      *
@@ -618,7 +618,7 @@  discard block
 block discarded – undo
618 618
     }
619 619
 }
620 620
 
621
-if (! function_exists('lib_exist')) {
621
+if (!function_exists('lib_exist')) {
622 622
     /**
623 623
      * LIB EXIST
624 624
      *
@@ -632,7 +632,7 @@  discard block
 block discarded – undo
632 632
     }
633 633
 }
634 634
 
635
-if (! function_exists('less_exist')) {
635
+if (!function_exists('less_exist')) {
636 636
     /**
637 637
      * LESS EXIST
638 638
      *
@@ -646,7 +646,7 @@  discard block
 block discarded – undo
646 646
     }
647 647
 }
648 648
 
649
-if (! function_exists('img_exist')) {
649
+if (!function_exists('img_exist')) {
650 650
     /**
651 651
      * IMG EXIST
652 652
      *
@@ -660,7 +660,7 @@  discard block
 block discarded – undo
660 660
     }
661 661
 }
662 662
 
663
-if (! function_exists('doc_exist')) {
663
+if (!function_exists('doc_exist')) {
664 664
     /**
665 665
      * DOC EXIST
666 666
      *
@@ -674,7 +674,7 @@  discard block
 block discarded – undo
674 674
     }
675 675
 }
676 676
 
677
-if (! function_exists('video_exist')) {
677
+if (!function_exists('video_exist')) {
678 678
     /**
679 679
      * VIDEO EXIST
680 680
      *
@@ -688,7 +688,7 @@  discard block
 block discarded – undo
688 688
     }
689 689
 }
690 690
 
691
-if (! function_exists('public_exist')) {
691
+if (!function_exists('public_exist')) {
692 692
     /**
693 693
      * PUBLIC EXIST
694 694
      *
@@ -702,7 +702,7 @@  discard block
 block discarded – undo
702 702
     }
703 703
 }
704 704
 
705
-if (! function_exists('class_exist')) {
705
+if (!function_exists('class_exist')) {
706 706
     /**
707 707
      * CLASS EXIST
708 708
      *
@@ -716,7 +716,7 @@  discard block
 block discarded – undo
716 716
     }
717 717
 }
718 718
 
719
-if (! function_exists('config_exist')) {
719
+if (!function_exists('config_exist')) {
720 720
     /**
721 721
      * CONFIG EXIST
722 722
      *
@@ -730,7 +730,7 @@  discard block
 block discarded – undo
730 730
     }
731 731
 }
732 732
 
733
-if (! function_exists('controller_exist')) {
733
+if (!function_exists('controller_exist')) {
734 734
     /**
735 735
      * CONTROLLER EXIST
736 736
      *
@@ -745,7 +745,7 @@  discard block
 block discarded – undo
745 745
     }
746 746
 }
747 747
 
748
-if (! function_exists('entity_exist')) {
748
+if (!function_exists('entity_exist')) {
749 749
     /**
750 750
      * ENTITY EXIST
751 751
      *
@@ -760,7 +760,7 @@  discard block
 block discarded – undo
760 760
     }
761 761
 }
762 762
 
763
-if (! function_exists('helper_exist')) {
763
+if (!function_exists('helper_exist')) {
764 764
     /**
765 765
      * HELPER EXIST
766 766
      *
@@ -775,7 +775,7 @@  discard block
 block discarded – undo
775 775
     }
776 776
 }
777 777
 
778
-if (! function_exists('library_exist')) {
778
+if (!function_exists('library_exist')) {
779 779
     /**
780 780
      * LIBRARY EXIST
781 781
      *
@@ -790,7 +790,7 @@  discard block
 block discarded – undo
790 790
     }
791 791
 }
792 792
 
793
-if (! function_exists('middleware_exist')) {
793
+if (!function_exists('middleware_exist')) {
794 794
     /**
795 795
      * MIDDLEWARE EXIST
796 796
      *
@@ -806,7 +806,7 @@  discard block
 block discarded – undo
806 806
     }
807 807
 }
808 808
 
809
-if (! function_exists('model_exist')) {
809
+if (!function_exists('model_exist')) {
810 810
     /**
811 811
      * MODEL EXIST
812 812
      *
@@ -821,7 +821,7 @@  discard block
 block discarded – undo
821 821
     }
822 822
 }
823 823
 
824
-if (! function_exists('resource_exist')) {
824
+if (!function_exists('resource_exist')) {
825 825
     /**
826 826
      * RESOURCE EXIST
827 827
      *
@@ -835,7 +835,7 @@  discard block
 block discarded – undo
835 835
     }
836 836
 }
837 837
 
838
-if (! function_exists('migration_exist')) {
838
+if (!function_exists('migration_exist')) {
839 839
     /**
840 840
      * MIGRATION EXIST
841 841
      *
@@ -849,7 +849,7 @@  discard block
 block discarded – undo
849 849
     }
850 850
 }
851 851
 
852
-if (! function_exists('seed_exist')) {
852
+if (!function_exists('seed_exist')) {
853 853
     /**
854 854
      * SEED EXIST
855 855
      *
@@ -863,7 +863,7 @@  discard block
 block discarded – undo
863 863
     }
864 864
 }
865 865
 
866
-if (! function_exists('lang_exist')) {
866
+if (!function_exists('lang_exist')) {
867 867
     /**
868 868
      * LANG EXIST
869 869
      *
@@ -878,7 +878,7 @@  discard block
 block discarded – undo
878 878
     }
879 879
 }
880 880
 
881
-if (! function_exists('service_exist')) {
881
+if (!function_exists('service_exist')) {
882 882
     /**
883 883
      * SERVICE EXIST
884 884
      *
@@ -893,7 +893,7 @@  discard block
 block discarded – undo
893 893
     }
894 894
 }
895 895
 
896
-if (! function_exists('view_exist')) {
896
+if (!function_exists('view_exist')) {
897 897
     /**
898 898
      * VIEW EXIST
899 899
      *
@@ -907,7 +907,7 @@  discard block
 block discarded – undo
907 907
     }
908 908
 }
909 909
 
910
-if (! function_exists('layout_exist')) {
910
+if (!function_exists('layout_exist')) {
911 911
     /**
912 912
      * LAYOUT EXIST
913 913
      *
@@ -921,7 +921,7 @@  discard block
 block discarded – undo
921 921
     }
922 922
 }
923 923
 
924
-if (! function_exists('partial_exist')) {
924
+if (!function_exists('partial_exist')) {
925 925
     /**
926 926
      * PARTIAL EXIST
927 927
      *
@@ -935,7 +935,7 @@  discard block
 block discarded – undo
935 935
     }
936 936
 }
937 937
 
938
-if (! function_exists('app_exist')) {
938
+if (!function_exists('app_exist')) {
939 939
     /**
940 940
      * APP EXIST
941 941
      *
@@ -949,7 +949,7 @@  discard block
 block discarded – undo
949 949
     }
950 950
 }
951 951
 
952
-if (! function_exists('cache_exist')) {
952
+if (!function_exists('cache_exist')) {
953 953
     /**
954 954
      * CACHE EXIST
955 955
      *
@@ -963,7 +963,7 @@  discard block
 block discarded – undo
963 963
     }
964 964
 }
965 965
 
966
-if (! function_exists('dump_exist')) {
966
+if (!function_exists('dump_exist')) {
967 967
     /**
968 968
      * DUMP EXIST
969 969
      *
@@ -977,7 +977,7 @@  discard block
 block discarded – undo
977 977
     }
978 978
 }
979 979
 
980
-if (! function_exists('storage_exist')) {
980
+if (!function_exists('storage_exist')) {
981 981
     /**
982 982
      * STORAGE EXIST
983 983
      *
@@ -991,7 +991,7 @@  discard block
 block discarded – undo
991 991
     }
992 992
 }
993 993
 
994
-if (! function_exists('include_config')) {
994
+if (!function_exists('include_config')) {
995 995
     /**
996 996
      * INCLUDE CONFIG
997 997
      *
@@ -1009,7 +1009,7 @@  discard block
 block discarded – undo
1009 1009
     }
1010 1010
 }
1011 1011
 
1012
-if (! function_exists('include_controller')) {
1012
+if (!function_exists('include_controller')) {
1013 1013
     /**
1014 1014
      * INCLUDE CONTROLLER
1015 1015
      *
@@ -1028,7 +1028,7 @@  discard block
 block discarded – undo
1028 1028
     }
1029 1029
 }
1030 1030
 
1031
-if (! function_exists('include_class')) {
1031
+if (!function_exists('include_class')) {
1032 1032
     /**
1033 1033
      * INCLUDE CLASS
1034 1034
      *
@@ -1046,7 +1046,7 @@  discard block
 block discarded – undo
1046 1046
     }
1047 1047
 }
1048 1048
 
1049
-if (! function_exists('include_entity')) {
1049
+if (!function_exists('include_entity')) {
1050 1050
     /**
1051 1051
      * INCLUDE ENTITY
1052 1052
      *
@@ -1065,7 +1065,7 @@  discard block
 block discarded – undo
1065 1065
     }
1066 1066
 }
1067 1067
 
1068
-if (! function_exists('include_helper')) {
1068
+if (!function_exists('include_helper')) {
1069 1069
     /**
1070 1070
      * INCLUDE HELPER
1071 1071
      *
@@ -1083,7 +1083,7 @@  discard block
 block discarded – undo
1083 1083
     }
1084 1084
 }
1085 1085
 
1086
-if (! function_exists('include_library')) {
1086
+if (!function_exists('include_library')) {
1087 1087
     /**
1088 1088
      * INCLUDE LIBRARY
1089 1089
      *
@@ -1102,7 +1102,7 @@  discard block
 block discarded – undo
1102 1102
     }
1103 1103
 }
1104 1104
 
1105
-if (! function_exists('include_middleware')) {
1105
+if (!function_exists('include_middleware')) {
1106 1106
     /**
1107 1107
      * INCLUDE MIDDLEWARE
1108 1108
      *
@@ -1122,7 +1122,7 @@  discard block
 block discarded – undo
1122 1122
     }
1123 1123
 }
1124 1124
 
1125
-if (! function_exists('include_model')) {
1125
+if (!function_exists('include_model')) {
1126 1126
     /**
1127 1127
      * INCLUDE MODEL
1128 1128
      *
@@ -1141,7 +1141,7 @@  discard block
 block discarded – undo
1141 1141
     }
1142 1142
 }
1143 1143
 
1144
-if (! function_exists('include_resource')) {
1144
+if (!function_exists('include_resource')) {
1145 1145
     /**
1146 1146
      * INCLUDE RESOURCE
1147 1147
      *
@@ -1159,7 +1159,7 @@  discard block
 block discarded – undo
1159 1159
     }
1160 1160
 }
1161 1161
 
1162
-if (! function_exists('include_service')) {
1162
+if (!function_exists('include_service')) {
1163 1163
     /**
1164 1164
      * INCLUDE SERVICE
1165 1165
      *
@@ -1178,7 +1178,7 @@  discard block
 block discarded – undo
1178 1178
     }
1179 1179
 }
1180 1180
 
1181
-if (! function_exists('include_view')) {
1181
+if (!function_exists('include_view')) {
1182 1182
     /**
1183 1183
      * INCLUDE VIEW
1184 1184
      *
@@ -1196,7 +1196,7 @@  discard block
 block discarded – undo
1196 1196
     }
1197 1197
 }
1198 1198
 
1199
-if (! function_exists('include_layout')) {
1199
+if (!function_exists('include_layout')) {
1200 1200
     /**
1201 1201
      * INCLUDE LAYOUT
1202 1202
      *
@@ -1214,7 +1214,7 @@  discard block
 block discarded – undo
1214 1214
     }
1215 1215
 }
1216 1216
 
1217
-if (! function_exists('include_partial')) {
1217
+if (!function_exists('include_partial')) {
1218 1218
     /**
1219 1219
      * INCLUDE PARTIAL
1220 1220
      *
@@ -1232,7 +1232,7 @@  discard block
 block discarded – undo
1232 1232
     }
1233 1233
 }
1234 1234
 
1235
-if (! function_exists('_include_path')) {
1235
+if (!function_exists('_include_path')) {
1236 1236
     /**
1237 1237
      * inclus un fichier
1238 1238
      *
Please login to merge, or discard this patch.