Passed
Push — unix_timestamp_zero ( ffeb94...021a5e )
by Jonathan
15:06 queued 04:49
created
src/Vectorface/MySQLite/MySQLite.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
     public static function getFunctionList()
40 40
     {
41 41
         return array_map(
42
-            function ($f) {
42
+            function($f) {
43 43
                 return substr($f, 6);
44 44
             },
45 45
             array_keys(static::getPublicMethodData())
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
      * @param string[] $fnList A list of functions to create on the SQLite database. (Omit to create all.)
54 54
      * @return PDO Returns a reference to the PDO instance passed in to the function.
55 55
      */
56
-    public static function &createFunctions(PDO &$pdo, array $fnList = null)
56
+    public static function &createFunctions(PDO&$pdo, array $fnList = null)
57 57
     {
58 58
         if ($pdo->getAttribute(PDO::ATTR_DRIVER_NAME) !== 'sqlite') {
59 59
             throw new InvalidArgumentException('Expecting a PDO instance using the SQLite driver');
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
         $data = [];
77 77
 
78 78
         $ref = new ReflectionClass(__CLASS__);
79
-        $methods = $ref->getMethods(ReflectionMethod::IS_PUBLIC | ReflectionMethod::IS_STATIC);
79
+        $methods = $ref->getMethods(ReflectionMethod::IS_PUBLIC|ReflectionMethod::IS_STATIC);
80 80
         foreach ($methods as $method) {
81 81
             if (strpos($method->name, 'mysql_') !== 0) {
82 82
                 continue;
@@ -97,7 +97,7 @@  discard block
 block discarded – undo
97 97
      * @param string[] $fnList A list of functions to create on the SQLite database, or empty for all.
98 98
      * @return bool Returns true if the method was registed. False otherwise.
99 99
      */
100
-    protected static function registerMethod(PDO &$pdo, $method, $paramCount, array $fnList = null)
100
+    protected static function registerMethod(PDO&$pdo, $method, $paramCount, array $fnList = null)
101 101
     {
102 102
         $function = substr($method, 6); /* Strip 'mysql_' prefix to get the function name. */
103 103
 
Please login to merge, or discard this patch.
src/Vectorface/MySQLite/MySQL/StringFunctions.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -10,10 +10,10 @@
 block discarded – undo
10 10
 trait StringFunctions
11 11
 {
12 12
 
13
-     /**
14
-     * Concat - Return a concatenated string of all function arguments provided
15
-     * @return string $str concatenated string
16
-     */
13
+        /**
14
+         * Concat - Return a concatenated string of all function arguments provided
15
+         * @return string $str concatenated string
16
+         */
17 17
     public static function mysql_concat()
18 18
     {
19 19
         $str = '';
Please login to merge, or discard this patch.