Passed
Pull Request — master (#229)
by
unknown
09:08
created
src/Ifsnop/Mysqldump/Mysqldump.php 2 patches
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1116,7 +1116,7 @@  discard block
 block discarded – undo
1116 1116
         }
1117 1117
 
1118 1118
         if ($this->dumpSettings['verbose-mode']) {
1119
-          echo($stmt . ';' . PHP_EOL);
1119
+            echo($stmt . ';' . PHP_EOL);
1120 1120
         }
1121 1121
         $resultSet = $this->dbHandler->query($stmt);
1122 1122
         $resultSet->setFetchMode(PDO::FETCH_ASSOC);
@@ -1880,8 +1880,8 @@  discard block
 block discarded – undo
1880 1880
             $createTable = preg_replace($match, $replace, $createTable);
1881 1881
         }
1882 1882
 
1883
-		if ($this->dumpSettings['if-not-exists'] ) {
1884
-			$createTable = preg_replace('/^CREATE TABLE/', 'CREATE TABLE IF NOT EXISTS', $createTable);
1883
+        if ($this->dumpSettings['if-not-exists'] ) {
1884
+            $createTable = preg_replace('/^CREATE TABLE/', 'CREATE TABLE IF NOT EXISTS', $createTable);
1885 1885
         }
1886 1886
 
1887 1887
         $ret = "/*!40101 SET @saved_cs_client     = @@character_set_client */;".PHP_EOL.
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1116,7 +1116,7 @@  discard block
 block discarded – undo
1116 1116
         }
1117 1117
 
1118 1118
         if ($this->dumpSettings['verbose-mode']) {
1119
-          echo($stmt . ';' . PHP_EOL);
1119
+          echo($stmt.';'.PHP_EOL);
1120 1120
         }
1121 1121
         $resultSet = $this->dbHandler->query($stmt);
1122 1122
         $resultSet->setFetchMode(PDO::FETCH_ASSOC);
@@ -1880,7 +1880,7 @@  discard block
 block discarded – undo
1880 1880
             $createTable = preg_replace($match, $replace, $createTable);
1881 1881
         }
1882 1882
 
1883
-		if ($this->dumpSettings['if-not-exists'] ) {
1883
+		if ($this->dumpSettings['if-not-exists']) {
1884 1884
 			$createTable = preg_replace('/^CREATE TABLE/', 'CREATE TABLE IF NOT EXISTS', $createTable);
1885 1885
         }
1886 1886
 
@@ -1983,7 +1983,7 @@  discard block
 block discarded – undo
1983 1983
         $characterSetClient = $row['character_set_client'];
1984 1984
         $collationConnection = $row['collation_connection'];
1985 1985
         $sqlMode = $row['sql_mode'];
1986
-        if ( $this->dumpSettings['skip-definer'] ) {
1986
+        if ($this->dumpSettings['skip-definer']) {
1987 1987
             if ($functionStmtReplaced = preg_replace(
1988 1988
                 '/^(CREATE)\s+('.self::DEFINER_RE.')?\s+(FUNCTION\s.*)$/s',
1989 1989
                 '\1 \3',
Please login to merge, or discard this patch.