Code Duplication    Length = 2-2 lines in 2 locations

docker/mu-plugins/debug.php 2 locations

@@ 70-71 (lines=2) @@
67
	if ( is_null( $stuff ) ) {
68
		// Log the file and line number
69
		$backtrace = debug_backtrace(false);
70
		while ( isset( $backtrace[1]['function'] ) && $backtrace[1]['function'] == __FUNCTION__ )
71
			array_shift( $backtrace );
72
		$log = sprintf( '%s line %d', $backtrace[0]['file'], $backtrace[0]['line'] );
73
	} elseif ( is_bool( $stuff ) ) {
74
		$log = $stuff ? 'TRUE' : 'FALSE';
@@ 231-232 (lines=2) @@
228
		$start = $now;
229
230
	$backtrace = debug_backtrace(false);
231
	while ( isset( $backtrace[1]['function'] ) && $backtrace[1]['function'] == __FUNCTION__ )
232
		array_shift( $backtrace );
233
234
	$file = $backtrace[0]['file'];
235
	$line = $backtrace[0]['line'];