Passed
Push — develop ( 306891...b67689 )
by nguereza
02:39
created
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
      * The Connection instance
60 59
      * @var Connection
@@ -89,8 +88,7 @@  discard block
 block discarded – undo
89 88
      * Class constructor
90 89
      * @param Connection $connection
91 90
      */
92
-    public function __construct(Connection $connection)
93
-    {
91
+    public function __construct(Connection $connection) {
94 92
         $this->connection = $connection;
95 93
     }
96 94
 
Please login to merge, or discard this patch.
src/QueryBuilder.php 1 patch
Braces   +3 added lines, -6 removed lines patch added patch discarded remove patch
@@ -55,8 +55,7 @@  discard block
 block discarded – undo
55 55
  * @class QueryBuilder
56 56
  * @package Platine\Database
57 57
  */
58
-class QueryBuilder
59
-{
58
+class QueryBuilder {
60 59
     /**
61 60
      * The Connection instance
62 61
      * @var Connection
@@ -73,8 +72,7 @@  discard block
 block discarded – undo
73 72
      * Class constructor
74 73
      * @param Connection $connection
75 74
      */
76
-    public function __construct(Connection $connection)
77
-    {
75
+    public function __construct(Connection $connection) {
78 76
         $this->connection = $connection;
79 77
         $this->schema = $this->connection->getSchema();
80 78
     }
@@ -113,8 +111,7 @@  discard block
 block discarded – undo
113 111
      * @param callable $callback
114 112
      * @return mixed
115 113
      */
116
-    public function transaction(callable $callback)
117
-    {
114
+    public function transaction(callable $callback) {
118 115
         return $this->connection->transaction($callback, $this);
119 116
     }
120 117
 
Please login to merge, or discard this patch.
src/Pool.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 Pool
54 54
  * @package Platine\Database
55 55
  */
56
-class Pool
57
-{
56
+class Pool {
58 57
     /**
59 58
      * The default connection name
60 59
      * @var string
@@ -71,8 +70,7 @@  discard block
 block discarded – undo
71 70
      * Class constructor
72 71
      * @param array<string, mixed> $config
73 72
      */
74
-    public function __construct(array $config = [])
75
-    {
73
+    public function __construct(array $config = []) {
76 74
         if (!empty($config)) {
77 75
             if (
78 76
                 !empty($config['connections'])
Please login to merge, or discard this patch.
src/Exception/TransactionException.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -36,6 +36,5 @@
 block discarded – undo
36 36
  * @class TransactionException
37 37
  * @package Platine\Database\Exception
38 38
  */
39
-class TransactionException extends DatabaseException
40
-{
39
+class TransactionException extends DatabaseException {
41 40
 }
Please login to merge, or discard this patch.
src/Exception/ConnectionAlreadyExistsException.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -38,6 +38,5 @@
 block discarded – undo
38 38
  * @class ConnectionAlreadyExistsException
39 39
  * @package Platine\Database\Exception
40 40
  */
41
-class ConnectionAlreadyExistsException extends Exception
42
-{
41
+class ConnectionAlreadyExistsException extends Exception {
43 42
 }
Please login to merge, or discard this patch.
src/Exception/ConnectionException.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -36,6 +36,5 @@
 block discarded – undo
36 36
  * @class ConnectionException
37 37
  * @package Platine\Database\Exception
38 38
  */
39
-class ConnectionException extends DatabaseException
40
-{
39
+class ConnectionException extends DatabaseException {
41 40
 }
Please login to merge, or discard this patch.
src/Exception/DatabaseException.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -38,6 +38,5 @@
 block discarded – undo
38 38
  * @class DatabaseException
39 39
  * @package Platine\Database\Exception
40 40
  */
41
-class DatabaseException extends Exception
42
-{
41
+class DatabaseException extends Exception {
43 42
 }
Please login to merge, or discard this patch.
src/Exception/ConnectionNotFoundException.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -38,6 +38,5 @@
 block discarded – undo
38 38
  * @class ConnectionNotFoundException
39 39
  * @package Platine\Database\Exception
40 40
  */
41
-class ConnectionNotFoundException extends Exception
42
-{
41
+class ConnectionNotFoundException extends Exception {
43 42
 }
Please login to merge, or discard this patch.
src/Exception/QueryPrepareException.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -36,6 +36,5 @@
 block discarded – undo
36 36
  * @class QueryPrepareException
37 37
  * @package Platine\Database\Exception
38 38
  */
39
-class QueryPrepareException extends DatabaseException
40
-{
39
+class QueryPrepareException extends DatabaseException {
41 40
 }
Please login to merge, or discard this patch.