Test Failed
Push — main ( 894963...0f30b5 )
by Rafael
05:41
created
src/Core/Tools/Dispatcher/WebDispatcher.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
 {
28 28
     protected static function dieWithMessage($message)
29 29
     {
30
-        Debug::message('WebDispatcher error: '.$message);
30
+        Debug::message('WebDispatcher error: ' . $message);
31 31
         new Error404Controller();
32 32
         die();
33 33
     }
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
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
      * @param stdClass|null $db
40 40
      * @return bool
41 41
      */
42
-    public static function connectDb(stdClass|null $db = null): bool
42
+    public static function connectDb(stdClass | null $db = null): bool
43 43
     {
44 44
         if ($db === null || !Database::checkDatabaseConnection($db)) {
45 45
             return false;
Please login to merge, or discard this patch.
src/Modules/Admin/Model/Migration.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
      */
33 33
     private static function createTable()
34 34
     {
35
-        Capsule::schema()->create('migrations', function (Blueprint $table) {
35
+        Capsule::schema()->create('migrations', function(Blueprint $table) {
36 36
             $table->id();
37 37
             $table->string('migration');
38 38
             $table->integer('batch')->unsigned();
Please login to merge, or discard this patch.
src/Modules/Admin/Migrations/00000000_0000_users.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@  discard block
 block discarded – undo
10 10
      */
11 11
     public function up(): void
12 12
     {
13
-        Capsule::schema()->create('users', function (Blueprint $table) {
13
+        Capsule::schema()->create('users', function(Blueprint $table) {
14 14
             $table->id();
15 15
             $table->string('name');
16 16
             $table->string('email')->unique();
@@ -22,13 +22,13 @@  discard block
 block discarded – undo
22 22
             $table->timestamps();
23 23
         });
24 24
 
25
-        Capsule::schema()->create('password_reset_tokens', function (Blueprint $table) {
25
+        Capsule::schema()->create('password_reset_tokens', function(Blueprint $table) {
26 26
             $table->string('email')->primary();
27 27
             $table->string('token');
28 28
             $table->timestamp('created_at')->nullable();
29 29
         });
30 30
 
31
-        Capsule::schema()->create('sessions', function (Blueprint $table) {
31
+        Capsule::schema()->create('sessions', function(Blueprint $table) {
32 32
             $table->string('id')->primary();
33 33
             $table->foreignId('user_id')->nullable()->index();
34 34
             $table->string('ip_address', 45)->nullable();
Please login to merge, or discard this patch.