Completed
Push — master ( 47c098...6c95d6 )
by smiley
02:23
created
src/Drivers/DBDriverAbstract.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,11 +12,11 @@
 block discarded – undo
12 12
 
13 13
 namespace chillerlan\Database\Drivers;
14 14
 
15
+use Psr\SimpleCache\CacheInterface;
15 16
 use chillerlan\Database\DBException;
16 17
 use chillerlan\Database\DBOptions;
17 18
 use chillerlan\Database\DBResult;
18 19
 use chillerlan\Database\Traits\Magic;
19
-use Psr\SimpleCache\CacheInterface;
20 20
 
21 21
 /**
22 22
  * @property string   $dialect
Please login to merge, or discard this patch.
src/Drivers/PDO/PDODriverAbstract.php 1 patch
Unused Use Statements   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,8 @@
 block discarded – undo
14 14
 
15 15
 use chillerlan\Database\DBException;
16 16
 use chillerlan\Database\Drivers\{DBDriverAbstract, DBDriverInterface};
17
-use PDO, PDOStatement;
17
+use PDO;
18
+use PDOStatement;
18 19
 
19 20
 /**
20 21
  *
Please login to merge, or discard this patch.
tests/Drivers/DriverTestAbstract.php 1 patch
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -12,9 +12,9 @@
 block discarded – undo
12 12
 
13 13
 namespace chillerlan\DatabaseTest\Drivers;
14 14
 
15
-use chillerlan\Database\Drivers\DBDriverInterface;
16
-use chillerlan\DatabaseTest\TestAbstract;
17 15
 use Psr\SimpleCache\CacheInterface;
16
+use chillerlan\DatabaseTest\TestAbstract;
17
+use chillerlan\Database\Drivers\DBDriverInterface;
18 18
 
19 19
 abstract class DriverTestAbstract extends TestAbstract{
20 20
 
Please login to merge, or discard this patch.
src/Query/Dialects/MySQL/Select.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -23,10 +23,10 @@
 block discarded – undo
23 23
 	 *
24 24
 	 * @return \chillerlan\Database\Query\SelectInterface
25 25
 	public function from(array $expressions):SelectInterface{
26
-		* // @todo: index hint
27
- *
26
+	 * // @todo: index hint
27
+	 *
28 28
 * return $this;
29
-	* }
29
+	 * }
30 30
 */
31 31
 
32 32
 
Please login to merge, or discard this patch.
src/Query/Dialects/MySQL/CreateTable.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@
 block discarded – undo
53 53
 
54 54
 		$type = strtoupper(trim($type));
55 55
 		$nolengthtypes = ['DATE', 'TINYBLOB', 'TINYTEXT', 'BLOB', 'TEXT', 'MEDIUMBLOB',
56
-		                  'MEDIUMTEXT', 'LONGBLOB', 'LONGTEXT', 'SERIAL', 'BOOLEAN', 'UUID'];
56
+						  'MEDIUMTEXT', 'LONGBLOB', 'LONGTEXT', 'SERIAL', 'BOOLEAN', 'UUID'];
57 57
 
58 58
 		$field[] = (is_int($length) || is_string($length) && count(explode(',', $length)) === 2) && !in_array($type, $nolengthtypes)
59 59
 			? $type.'('. $length . ')'
Please login to merge, or discard this patch.