Test Failed
Push — main ( d3e2a3...1560e6 )
by Rafael
04:24
created
src/Core/Tools/DebugBarCollector/PhpCollector.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@
 block discarded – undo
64 64
     {
65 65
         $messages = self::$messages;
66 66
 
67
-        usort($messages, function ($itemA, $itemB) {
67
+        usort($messages, function($itemA, $itemB) {
68 68
             if ($itemA['time'] === $itemB['time']) {
69 69
                 return 0;
70 70
             }
Please login to merge, or discard this patch.
src/Core/Model/User.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
14 14
 
15 15
     public static function createTable()
16 16
     {
17
-        DB::schema()->create((new static())->table, function (Blueprint $table) {
17
+        DB::schema()->create((new static())->table, function(Blueprint $table) {
18 18
             $table->increments('id');
19 19
             $table->string('name');
20 20
             $table->string('email')->unique();
Please login to merge, or discard this patch.
src/Core/Base/Controller/Trait/DbTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
 
23 23
 trait DbTrait
24 24
 {
25
-    public static function connectDb(\stdClass|null $db = null): bool
25
+    public static function connectDb(\stdClass | null $db = null): bool
26 26
     {
27 27
         if ($db === null || !Config::checkDatabaseConnection($db)) {
28 28
             return false;
Please login to merge, or discard this patch.
src/Core/Base/Controller/Trait/ViewTrait.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -97,30 +97,30 @@
 block discarded – undo
97 97
 
98 98
         $container = new Container;
99 99
 
100
-        $container->singleton('files', function () {
100
+        $container->singleton('files', function() {
101 101
             return new Filesystem;
102 102
         });
103 103
 
104
-        $container->singleton('view.finder', function ($app) use ($viewPaths) {
104
+        $container->singleton('view.finder', function($app) use ($viewPaths) {
105 105
             return new FileViewFinder($app['files'], $viewPaths);
106 106
         });
107 107
 
108
-        $container->singleton('blade.compiler', function ($app) use ($cachePaths) {
108
+        $container->singleton('blade.compiler', function($app) use ($cachePaths) {
109 109
             return new BladeCompiler($app['files'], $cachePaths);
110 110
         });
111 111
 
112
-        $container->singleton('view.engine.resolver', function ($app) {
112
+        $container->singleton('view.engine.resolver', function($app) {
113 113
             $resolver = new EngineResolver;
114 114
 
115 115
             // Registrar Blade engine
116
-            $resolver->register('blade', function () use ($app) {
116
+            $resolver->register('blade', function() use ($app) {
117 117
                 return new CompilerEngine($app['blade.compiler']);
118 118
             });
119 119
 
120 120
             return $resolver;
121 121
         });
122 122
 
123
-        $container->singleton('view', function ($app) {
123
+        $container->singleton('view', function($app) {
124 124
             $resolver = $app['view.engine.resolver'];
125 125
             $finder = $app['view.finder'];
126 126
             $dispatcher = new Dispatcher($app);
Please login to merge, or discard this patch.