Completed
Pull Request — master (#15)
by Hugo
08:12 queued 05:09
created
src/Console/SchemaDropCommand.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
         $tool->dropSchema($metadata);
40 40
 
41 41
         if ($this->option('sql')) {
42
-            $this->info(implode(';'.PHP_EOL, $sql));
42
+            $this->info(implode(';' . PHP_EOL, $sql));
43 43
         }
44 44
 
45 45
         $this->info('Schema dropped!');
Please login to merge, or discard this patch.
src/Console/SchemaCreateCommand.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
         $tool->createSchema($metadata);
40 40
 
41 41
         if ($this->option('sql')) {
42
-            $this->info(implode(';'.PHP_EOL, $sql));
42
+            $this->info(implode(';' . PHP_EOL, $sql));
43 43
         }
44 44
 
45 45
         $this->info('Schema created!');
Please login to merge, or discard this patch.
src/Console/SchemaUpdateCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
         $tool->updateSchema($metadata);
38 38
 
39 39
         if ($this->option('sql')) {
40
-            $this->info(implode(';'.PHP_EOL, $sql));
40
+            $this->info(implode(';' . PHP_EOL, $sql));
41 41
         }
42 42
 
43 43
         $this->info('Schema updated!');
Please login to merge, or discard this patch.
src/NamingStrategy.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
      */
28 28
     public function embeddedFieldToColumnName($propertyName, $embeddedColumnName, $className = null, $embeddedClassName = null)
29 29
     {
30
-        return $propertyName.'_'.$embeddedColumnName;
30
+        return $propertyName . '_' . $embeddedColumnName;
31 31
     }
32 32
 
33 33
     /**
@@ -43,7 +43,7 @@  discard block
 block discarded – undo
43 43
      */
44 44
     public function joinColumnName($propertyName)
45 45
     {
46
-        return snake_case(str_singular($propertyName)).'_'.$this->referenceColumnName();
46
+        return snake_case(str_singular($propertyName)) . '_' . $this->referenceColumnName();
47 47
     }
48 48
 
49 49
     /**
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
      */
52 52
     public function joinTableName($sourceEntity, $targetEntity, $propertyName = null)
53 53
     {
54
-        return $this->normalizeClassName($sourceEntity).'_'.$this->normalizeClassName($targetEntity);
54
+        return $this->normalizeClassName($sourceEntity) . '_' . $this->normalizeClassName($targetEntity);
55 55
     }
56 56
 
57 57
     /**
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
      */
60 60
     public function joinKeyColumnName($entityName, $referencedColumnName = null)
61 61
     {
62
-        return $this->normalizeClassName($entityName).'_'.($referencedColumnName ?: $this->referenceColumnName());
62
+        return $this->normalizeClassName($entityName) . '_' . ($referencedColumnName ?: $this->referenceColumnName());
63 63
     }
64 64
 
65 65
     /**
Please login to merge, or discard this patch.