Completed
Push — master ( ffe8b5...553b6e )
by CodexShaper
76:19 queued 70:43
created
src/Commands/DatabaseAdmin.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -39,8 +39,8 @@
 block discarded – undo
39 39
      */
40 40
     protected function findComposer()
41 41
     {
42
-        if (file_exists(getcwd() . '/composer.phar')) {
43
-            return '"' . PHP_BINARY . '" ' . getcwd() . '/composer.phar';
42
+        if (file_exists(getcwd().'/composer.phar')) {
43
+            return '"'.PHP_BINARY.'" '.getcwd().'/composer.phar';
44 44
         }
45 45
         return 'composer';
46 46
     }
Please login to merge, or discard this patch.
src/Database/Types/Postgresql/SmallIntType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,6 +21,6 @@
 block discarded – undo
21 21
 
22 22
         $type = $fieldDeclaration['autoincrement'] ? 'smallserial' : 'smallint';
23 23
 
24
-        return $type . $commonIntegerTypeDeclaration;
24
+        return $type.$commonIntegerTypeDeclaration;
25 25
     }
26 26
 }
Please login to merge, or discard this patch.
src/Database/Types/Mysql/SetType.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -24,10 +24,10 @@
 block discarded – undo
24 24
         $pdo = DB::connection()->getPdo();
25 25
 
26 26
         // trim the values
27
-        $fieldDeclaration['allowed'] = array_map(function ($value) use ($pdo) {
27
+        $fieldDeclaration['allowed'] = array_map(function($value) use ($pdo) {
28 28
             return $pdo->quote(trim($value));
29 29
         }, $allowed);
30 30
 
31
-        return 'set(' . implode(', ', $fieldDeclaration['allowed']) . ')';
31
+        return 'set('.implode(', ', $fieldDeclaration['allowed']).')';
32 32
     }
33 33
 }
Please login to merge, or discard this patch.
src/Database/Platforms/Platform.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
      */
18 18
     public static function getPlatform($platformName)
19 19
     {
20
-        $platform = __NAMESPACE__ . '\\' . ucfirst($platformName);
20
+        $platform = __NAMESPACE__.'\\'.ucfirst($platformName);
21 21
 
22 22
         if (!class_exists($platform)) {
23 23
             throw new \Exception("Platform {$platformName} doesn't exist");
Please login to merge, or discard this patch.
src/Database/Drivers/MongoDB/Type.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -117,7 +117,7 @@
 block discarded – undo
117 117
     public static function dateTime($milliseconds = null)
118 118
     {
119 119
         if (!is_int($milliseconds) || !is_float($milliseconds) || !is_string($milliseconds) || !$milliseconds instanceof \DateTimeInterface) {
120
-            throw new \Exception($milliseconds . " integer or float or string or instance of DateTimeInterface");
120
+            throw new \Exception($milliseconds." integer or float or string or instance of DateTimeInterface");
121 121
 
122 122
         }
123 123
         return new UTCDateTime($milliseconds);
Please login to merge, or discard this patch.
src/Http/Controllers/PermissionController.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -80,11 +80,11 @@
 block discarded – undo
80 80
 
81 81
         if (!empty($query)) {
82 82
             $users = DBM::model($user_model, $user_table)
83
-                ->where('name', 'LIKE', '%' . $query . '%')
83
+                ->where('name', 'LIKE', '%'.$query.'%')
84 84
                 ->paginate($perPage);
85 85
         }
86 86
 
87
-        $users->getCollection()->transform(function ($user) use ($user_display_name) {
87
+        $users->getCollection()->transform(function($user) use ($user_display_name) {
88 88
             $user->permissions = DBM::Object()
89 89
                 ->setManyToManyRelation(
90 90
                     $user,
Please login to merge, or discard this patch.
database/seeds/DatabaseManagerSeeder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
 
20 20
         foreach ($seeds as $class) {
21 21
             $file = $this->seedersPath.$class.'.php';
22
-            if (file_exists($file) && ! class_exists($class)) {
22
+            if (file_exists($file) && !class_exists($class)) {
23 23
                 require_once $file;
24 24
             }
25 25
             with(new $class())->run();
Please login to merge, or discard this patch.
database/migrations/2019_08_27_165403_create_menu_items_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
      */
14 14
     public function up()
15 15
     {
16
-        Schema::create('menu_items', function (Blueprint $table) {
16
+        Schema::create('menu_items', function(Blueprint $table) {
17 17
             $table->increments('id');
18 18
             $table->integer('menu_id');
19 19
             $table->string('title');
Please login to merge, or discard this patch.
database/migrations/2019_11_24_123318_create_dbm_user_permissions_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
      */
14 14
     public function up()
15 15
     {
16
-        Schema::create('dbm_user_permissions', function (Blueprint $table) {
16
+        Schema::create('dbm_user_permissions', function(Blueprint $table) {
17 17
             $table->bigIncrements('id');
18 18
             $table->bigInteger('user_id');
19 19
             $table->bigInteger('dbm_permission_id');
Please login to merge, or discard this patch.