Code Duplication    Length = 4-4 lines in 2 locations

src/commands/NetteTester.php 2 locations

@@ 97-100 (lines=4) @@
94
			$cmd .= '-p ';
95
			$cmd .= escapeshellarg($this->options['interpreter']) . ' ';
96
		}
97
		if (isset($this->options['threads'])) {
98
			$cmd .= '-j ';
99
			$cmd .= escapeshellarg(max(1, (int) $this->options['threads'])) . ' ';
100
		}
101
		if (isset($this->options['mode'])) {
102
			$cmd .= '-o ';
103
			$cmd .= escapeshellarg($this->options['mode']) . ' ';
@@ 101-104 (lines=4) @@
98
			$cmd .= '-j ';
99
			$cmd .= escapeshellarg(max(1, (int) $this->options['threads'])) . ' ';
100
		}
101
		if (isset($this->options['mode'])) {
102
			$cmd .= '-o ';
103
			$cmd .= escapeshellarg($this->options['mode']) . ' ';
104
		}
105
		$cmd .= '-s '; // show skipped tests
106
		$cmd .= escapeshellarg($this->target) . ' ';
107