Test Setup Failed
Push — master ( 693622...e89331 )
by Bertrand
02:38 queued 11s
created
app/Providers/AppServiceProvider.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -35,13 +35,13 @@  discard block
 block discarded – undo
35 35
     {
36 36
         $this->registerHelpers();
37 37
 
38
-        if(config('app.env') === 'testing'){
38
+        if (config('app.env') === 'testing') {
39 39
             $this->tuBinding();
40 40
         }
41
-        if(config('app.env') === 'testing-ti'){
41
+        if (config('app.env') === 'testing-ti') {
42 42
             $this->tiBinding();
43 43
         }
44
-        if(config('app.env') === 'local' || config('app.env') === 'production'){
44
+        if (config('app.env') === 'local' || config('app.env') === 'production') {
45 45
             $this->prodBinding();
46 46
         }
47 47
     }
@@ -51,18 +51,18 @@  discard block
 block discarded – undo
51 51
         // Force max key length - @see: https://laravel-news.com/laravel-5-4-key-too-long-error
52 52
         Schema::defaultStringLength(191);
53 53
 
54
-        if(config('app.env') !== 'testing' && config('app.env') !== 'testing-ti') {
54
+        if (config('app.env') !== 'testing' && config('app.env') !== 'testing-ti') {
55 55
             Schema::defaultStringLength(191);
56 56
         }
57 57
 
58
-        if(config('app.env') === 'local' || config('app.env') === 'production'){
58
+        if (config('app.env') === 'local' || config('app.env') === 'production') {
59 59
             \URL::forceScheme('https');
60 60
         }
61 61
     }
62 62
 
63 63
     private function registerHelpers(): void
64 64
     {
65
-        foreach (glob(app_path() . '/Src/Utils/Helpers/*.php') as $filename) {
65
+        foreach (glob(app_path().'/Src/Utils/Helpers/*.php') as $filename) {
66 66
             require_once($filename);
67 67
         }
68 68
     }
Please login to merge, or discard this patch.