Passed
Pull Request — master (#211)
by
unknown
06:54
created
src/Ifsnop/Mysqldump/Mysqldump.php 2 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1875,8 +1875,8 @@
 block discarded – undo
1875 1875
             $createTable = preg_replace($match, $replace, $createTable);
1876 1876
         }
1877 1877
         
1878
-		if ($this->dumpSettings['if-not-exists'] ) {
1879
-			$createTable = preg_replace('/^CREATE TABLE/', 'CREATE TABLE IF NOT EXISTS', $createTable);
1878
+        if ($this->dumpSettings['if-not-exists'] ) {
1879
+            $createTable = preg_replace('/^CREATE TABLE/', 'CREATE TABLE IF NOT EXISTS', $createTable);
1880 1880
         }        
1881 1881
 
1882 1882
         $ret = "/*!40101 SET @saved_cs_client     = @@character_set_client */;".PHP_EOL.
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1875,7 +1875,7 @@  discard block
 block discarded – undo
1875 1875
             $createTable = preg_replace($match, $replace, $createTable);
1876 1876
         }
1877 1877
         
1878
-		if ($this->dumpSettings['if-not-exists'] ) {
1878
+		if ($this->dumpSettings['if-not-exists']) {
1879 1879
 			$createTable = preg_replace('/^CREATE TABLE/', 'CREATE TABLE IF NOT EXISTS', $createTable);
1880 1880
         }        
1881 1881
 
@@ -1978,7 +1978,7 @@  discard block
 block discarded – undo
1978 1978
         $characterSetClient = $row['character_set_client'];
1979 1979
         $collationConnection = $row['collation_connection'];
1980 1980
         $sqlMode = $row['sql_mode'];
1981
-        if ( $this->dumpSettings['skip-definer'] ) {
1981
+        if ($this->dumpSettings['skip-definer']) {
1982 1982
             if ($functionStmtReplaced = preg_replace(
1983 1983
                 '/^(CREATE)\s+('.self::DEFINER_RE.')?\s+(FUNCTION\s.*)$/s',
1984 1984
                 '\1 \3',
Please login to merge, or discard this patch.