Completed
Push — master ( 4e8d35...0fba55 )
by Josué
03:08
created
src/Connection.php 2 patches
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
     public function getClientMayorVersion()
29 29
     {
30 30
         $clientVersion = $this->clientVersion();
31
-        return (int)substr($clientVersion, 0, strpos($clientVersion, '.'));
31
+        return (int) substr($clientVersion, 0, strpos($clientVersion, '.'));
32 32
     }
33 33
 
34 34
     /**
@@ -241,9 +241,9 @@  discard block
 block discarded – undo
241 241
     /**
242 242
      * @return int
243 243
      */
244
-    public function getServerMayorVersion(){
244
+    public function getServerMayorVersion() {
245 245
         preg_match('/\\d+(:?\\.\\d+)+/', $this->serverVersion(), $matches);
246
-        return (int)substr($matches[0], 0, strpos($matches[0], '.'));
246
+        return (int) substr($matches[0], 0, strpos($matches[0], '.'));
247 247
     }
248 248
 
249 249
     /**
Please login to merge, or discard this patch.
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -241,7 +241,8 @@
 block discarded – undo
241 241
     /**
242 242
      * @return int
243 243
      */
244
-    public function getServerMayorVersion(){
244
+    public function getServerMayorVersion()
245
+    {
245 246
         preg_match('/\\d+(:?\\.\\d+)+/', $this->serverVersion(), $matches);
246 247
         return (int)substr($matches[0], 0, strpos($matches[0], '.'));
247 248
     }
Please login to merge, or discard this patch.
src/Cursor.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -7,4 +7,6 @@
 block discarded – undo
7 7
  * @package Jpina\Oci8
8 8
  * @see http://php.net/manual/en/book.oci8.php
9 9
  */
10
-class Cursor extends Statement {}
10
+class Cursor extends Statement
11
+{
12
+}
Please login to merge, or discard this patch.
src/Statement.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -49,8 +49,7 @@  discard block
 block discarded – undo
49 49
         $maxTableLength = -1,
50 50
         $maxItemLength = -1,
51 51
         $type = SQLT_AFC
52
-    )
53
-    {
52
+    ) {
54 53
         return oci_bind_array_by_name($this->statement, $name, $varArray, $maxTableLength, $maxItemLength, $type);
55 54
     }
56 55
 
@@ -69,8 +68,7 @@  discard block
 block discarded – undo
69 68
         &$variable,
70 69
         $maxLength = -1,
71 70
         $type = SQLT_CHR
72
-    )
73
-    {
71
+    ) {
74 72
         return oci_bind_by_name($this->statement, $bvName, $variable, $maxLength, $type);
75 73
     }
76 74
 
Please login to merge, or discard this patch.
src/SingletonConnection.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -26,8 +26,7 @@
 block discarded – undo
26 26
         $connectionString = null,
27 27
         $characterSet = null,
28 28
         $sessionMode = 0
29
-    )
30
-    {
29
+    ) {
31 30
         $this->connection = oci_connect($username, $password, $connectionString, $characterSet, $sessionMode);
32 31
 
33 32
         return $this->connection;
Please login to merge, or discard this patch.