Passed
Push — master ( bb9d58...c798d0 )
by Lucas
07:43 queued 06:05
created
database/migrations/create_tests_table.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 function up()
16 16
     {
17
-        Schema::create('tests', function (Blueprint $table) {
17
+        Schema::create('tests', function(Blueprint $table) {
18 18
             $table->id();
19 19
             $table->timestamps();
20 20
         });
Please login to merge, or discard this patch.
src/Files/FileCreate.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
         if (file_exists(CONFIG_PATH . "/" . $fileName . ".php")) {
16 16
             throw new \Exception("Arquivo ja existe");
17 17
         }
18
-        $file = fopen(CONFIG_PATH . "/"  . $fileName . ".php", 'w+');
18
+        $file = fopen(CONFIG_PATH . "/" . $fileName . ".php", 'w+');
19 19
         if ($file) {
20 20
             $text = $this->copyFile();
21 21
             $lines = $this->modifyClassName($text, $fileName);
Please login to merge, or discard this patch.
src/Files/MigrationFile.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
     {
24 24
         $dirs = glob(CONFIG_PATH . "/*");
25 25
 
26
-        array_map(function ($dir) {
26
+        array_map(function($dir) {
27 27
             echo "\e[32m" . $this->getNameFile($dir);
28 28
             $value = include_once($dir);
29 29
             $value->up();
Please login to merge, or discard this patch.
src/Cli/Cli.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -12,11 +12,11 @@
 block discarded – undo
12 12
     public function __construct($commnad)
13 13
     {
14 14
         $this->array = [
15
-            "--migration" => function ($file) {
15
+            "--migration" => function($file) {
16 16
                 (new FileCreate)->createFile($file);
17 17
                 echo "\e[32mMigration " . $file . " on successfully";
18 18
             },
19
-            "--migrate" => function () {
19
+            "--migrate" => function() {
20 20
                 echo "\e[32mStarting the migration\n";
21 21
                 (new MigrationFile)->actionMigration();
22 22
             }
Please login to merge, or discard this patch.
src/Types/Blueprint.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
 
24 24
     public function getQuery()
25 25
     {
26
-        $value = ltrim($this->query,$this->query[0]);
26
+        $value = ltrim($this->query, $this->query[0]);
27 27
 
28 28
         return $value;
29 29
     }
Please login to merge, or discard this patch.
src/Types/IBlueprint.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@  discard block
 block discarded – undo
12 12
 
13 13
     public function timestamps();
14 14
 
15
-    public function string(string $name,int $limit = 255);
15
+    public function string(string $name, int $limit = 255);
16 16
 
17 17
     public function integer(string $name);
18 18
 
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
 
37 37
     public function foreignKey(string $name);
38 38
 
39
-    public function references(string $name,string $row = 'id');
39
+    public function references(string $name, string $row = 'id');
40 40
 
41 41
     public function cascade();
42 42
 
Please login to merge, or discard this patch.