Code Duplication    Length = 3-3 lines in 2 locations

core/vendor/monolog/monolog/src/Monolog/Formatter/LineFormatter.php 1 location

@@ 102-104 (lines=3) @@
99
        }
100
101
        foreach ($vars as $var => $val) {
102
            if (false !== strpos($output, '%'.$var.'%')) {
103
                $output = str_replace('%'.$var.'%', $this->stringify($val), $output);
104
            }
105
        }
106
107
        // remove leftover %extra.xxx% and %context.xxx% if any

install/src/sqlParser.class.php 1 location

@@ 108-110 (lines=3) @@
105
106
		// Replace custom placeholders
107
		foreach($custom_placeholders as $key=>$val) {
108
			if (strpos($idata, '{'.$key.'}') !== false) {
109
				$idata = str_replace('{'.$key.'}', $val, $idata);
110
			}
111
		}
112
113
		$sql_array = explode("\n\n", $idata);