Passed
Push — develop ( d2d625...405251 )
by nguereza
03:36
created
src/Schema/CreateColumn.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -50,8 +50,7 @@  discard block
 block discarded – undo
50 50
  * Class CreateColumn
51 51
  * @package Platine\Database\Schema
52 52
  */
53
-class CreateColumn extends BaseColumn
54
-{
53
+class CreateColumn extends BaseColumn {
55 54
 
56 55
     /**
57 56
      * The associated table instance
@@ -65,8 +64,7 @@  discard block
 block discarded – undo
65 64
      * @param string $name
66 65
      * @param string|null $type
67 66
      */
68
-    public function __construct(CreateTable $table, string $name, ?string $type = null)
69
-    {
67
+    public function __construct(CreateTable $table, string $name, ?string $type = null) {
70 68
         $this->table = $table;
71 69
         parent::__construct($name, $type);
72 70
     }
Please login to merge, or discard this patch.
src/Schema/AlterColumn.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -50,8 +50,7 @@  discard block
 block discarded – undo
50 50
  * Class AlterColumn
51 51
  * @package Platine\Database\Schema
52 52
  */
53
-class AlterColumn extends BaseColumn
54
-{
53
+class AlterColumn extends BaseColumn {
55 54
 
56 55
     /**
57 56
      * The alter table
@@ -65,8 +64,7 @@  discard block
 block discarded – undo
65 64
      * @param string $name
66 65
      * @param string|null $type
67 66
      */
68
-    public function __construct(AlterTable $table, string $name, ?string $type = null)
69
-    {
67
+    public function __construct(AlterTable $table, string $name, ?string $type = null) {
70 68
         $this->table = $table;
71 69
         parent::__construct($name, $type);
72 70
     }
Please login to merge, or discard this patch.
src/Driver/Oracle.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -55,8 +55,7 @@
 block discarded – undo
55 55
  * Class Oracle
56 56
  * @package Platine\Database\Driver
57 57
  */
58
-class Oracle extends Driver
59
-{
58
+class Oracle extends Driver {
60 59
 
61 60
     /**
62 61
      * @inheritDoc
Please login to merge, or discard this patch.
src/Driver/Driver.php 1 patch
Braces   +3 added lines, -6 removed lines patch added patch discarded remove patch
@@ -60,8 +60,7 @@  discard block
 block discarded – undo
60 60
  *
61 61
  * @package Platine\Database\Driver
62 62
  */
63
-class Driver
64
-{
63
+class Driver {
65 64
 
66 65
     /**
67 66
      * The driver default date format
@@ -126,8 +125,7 @@  discard block
 block discarded – undo
126 125
      * Class constructor
127 126
      * @param Connection $connection
128 127
      */
129
-    public function __construct(Connection $connection)
130
-    {
128
+    public function __construct(Connection $connection) {
131 129
         $this->connection = $connection;
132 130
     }
133 131
 
@@ -454,8 +452,7 @@  discard block
 block discarded – undo
454 452
      * @return mixed
455 453
      *
456 454
      */
457
-    protected function value($value)
458
-    {
455
+    protected function value($value) {
459 456
         if (is_numeric($value)) {
460 457
             return $value;
461 458
         }
Please login to merge, or discard this patch.
src/Driver/SQLite.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -54,8 +54,7 @@
 block discarded – undo
54 54
  * Class SQLite
55 55
  * @package Platine\Database\Driver
56 56
  */
57
-class SQLite extends Driver
58
-{
57
+class SQLite extends Driver {
59 58
 
60 59
     /**
61 60
      * @inheritdoc
Please login to merge, or discard this patch.
src/Driver/SQLServer.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -53,8 +53,7 @@
 block discarded – undo
53 53
  * Class SQLServer
54 54
  * @package Platine\Database\Driver
55 55
  */
56
-class SQLServer extends Driver
57
-{
56
+class SQLServer extends Driver {
58 57
 
59 58
     /**
60 59
      * @inheritdoc
Please login to merge, or discard this patch.
src/Driver/MySQL.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -52,8 +52,7 @@
 block discarded – undo
52 52
  * Class MySQL
53 53
  * @package Platine\Database\Driver
54 54
  */
55
-class MySQL extends Driver
56
-{
55
+class MySQL extends Driver {
57 56
 
58 57
     /**
59 58
      * @inheritdoc
Please login to merge, or discard this patch.
src/Driver/PostgreSQL.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -53,8 +53,7 @@
 block discarded – undo
53 53
  * Class PostgreSQL
54 54
  * @package Platine\Database\Driver
55 55
  */
56
-class PostgreSQL extends Driver
57
-{
56
+class PostgreSQL extends Driver {
58 57
 
59 58
     /**
60 59
      * @inheritDoc
Please login to merge, or discard this patch.
src/Schema.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -53,8 +53,7 @@  discard block
 block discarded – undo
53 53
  * Class Schema
54 54
  * @package Platine\Database
55 55
  */
56
-class Schema
57
-{
56
+class Schema {
58 57
 
59 58
     /**
60 59
      * The Connection instance
@@ -84,8 +83,7 @@  discard block
 block discarded – undo
84 83
      * Class constructor
85 84
      * @param Connection $connection
86 85
      */
87
-    public function __construct(Connection $connection)
88
-    {
86
+    public function __construct(Connection $connection) {
89 87
         $this->connection = $connection;
90 88
     }
91 89
 
Please login to merge, or discard this patch.