Test Failed
Push — main ( 2b582c...894963 )
by Rafael
05:38
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/Base/Controller/Trait/DbTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
      * @param stdClass|null $db
33 33
      * @return bool
34 34
      */
35
-    public static function connectDb(stdClass|null $db = null): bool
35
+    public static function connectDb(stdClass | null $db = null): bool
36 36
     {
37 37
         if ($db === null || !Config::checkDatabaseConnection($db)) {
38 38
             return false;
Please login to merge, or discard this patch.
src/Core/Base/Controller/Trait/ViewTrait.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -148,30 +148,30 @@  discard block
 block discarded – undo
148 148
 
149 149
         $container = new Container();
150 150
 
151
-        $container->singleton('files', function () {
151
+        $container->singleton('files', function() {
152 152
             return new Filesystem();
153 153
         });
154 154
 
155
-        $container->singleton('view.finder', function ($app) use ($viewPaths) {
155
+        $container->singleton('view.finder', function($app) use ($viewPaths) {
156 156
             return new FileViewFinder($app['files'], $viewPaths);
157 157
         });
158 158
 
159
-        $container->singleton('blade.compiler', function ($app) use ($cachePaths) {
159
+        $container->singleton('blade.compiler', function($app) use ($cachePaths) {
160 160
             return new BladeCompiler($app['files'], $cachePaths);
161 161
         });
162 162
 
163
-        $container->singleton('view.engine.resolver', function ($app) {
163
+        $container->singleton('view.engine.resolver', function($app) {
164 164
             $resolver = new EngineResolver();
165 165
 
166 166
             // Register Blade engine
167
-            $resolver->register('blade', function () use ($app) {
167
+            $resolver->register('blade', function() use ($app) {
168 168
                 return new CompilerEngine($app['blade.compiler']);
169 169
             });
170 170
 
171 171
             return $resolver;
172 172
         });
173 173
 
174
-        $container->singleton('view', function ($app) {
174
+        $container->singleton('view', function($app) {
175 175
             $resolver = $app['view.engine.resolver'];
176 176
             $finder = $app['view.finder'];
177 177
             $dispatcher = new Dispatcher($app);
@@ -234,7 +234,7 @@  discard block
 block discarded – undo
234 234
      * @param array|string $path
235 235
      * @return void
236 236
      */
237
-    public function setTemplatesPath(array|string $path): void
237
+    public function setTemplatesPath(array | string $path): void
238 238
     {
239 239
         if (is_array($path)) {
240 240
             self::$templatesPath = array_merge($path, self::$templatesPath);
Please login to merge, or discard this patch.
src/Core/Tools/Debug.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -41,14 +41,14 @@
 block discarded – undo
41 41
      *
42 42
      * @var JavascriptRenderer|null
43 43
      */
44
-    private static JavascriptRenderer|null $render;
44
+    private static JavascriptRenderer | null $render;
45 45
 
46 46
     /**
47 47
      * DebugBar instance
48 48
      *
49 49
      * @var StandardDebugBar|null
50 50
      */
51
-    private static StandardDebugBar|null $debugBar;
51
+    private static StandardDebugBar | null $debugBar;
52 52
 
53 53
     /**
54 54
      * Initializes the Debug
Please login to merge, or discard this patch.
src/Core/Base/Controller/ApiController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
  */
31 31
 abstract class ApiController
32 32
 {
33
-    private static $security_key=null;
33
+    private static $security_key = null;
34 34
 
35 35
     protected static function getSecurityKey()
36 36
     {
Please login to merge, or discard this patch.
src/Core/Lib/Routes.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@
 block discarded – undo
54 54
                     $class_only_name = basename($filename, $suffix . '.php');
55 55
                     $class_name = "$class\\$module\\$class_type\\$class_only_name$suffix";
56 56
 
57
-                    $routes[$module][$class_only_name] = $class_name.'|'.$filename;
57
+                    $routes[$module][$class_only_name] = $class_name . '|' . $filename;
58 58
                 }
59 59
 
60 60
             }
Please login to merge, or discard this patch.
src/Modules/Admin/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(): void
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.