Code Duplication    Length = 3-3 lines in 5 locations

lib/private/App/InfoParser.php 5 locations

@@ 138-140 (lines=3) @@
135
				$array['types'] = [];
136
			}
137
		}
138
		if (isset($array['repair-steps']['install']['step']) && is_array($array['repair-steps']['install']['step'])) {
139
			$array['repair-steps']['install'] = $array['repair-steps']['install']['step'];
140
		}
141
		if (isset($array['repair-steps']['pre-migration']['step']) && is_array($array['repair-steps']['pre-migration']['step'])) {
142
			$array['repair-steps']['pre-migration'] = $array['repair-steps']['pre-migration']['step'];
143
		}
@@ 141-143 (lines=3) @@
138
		if (isset($array['repair-steps']['install']['step']) && is_array($array['repair-steps']['install']['step'])) {
139
			$array['repair-steps']['install'] = $array['repair-steps']['install']['step'];
140
		}
141
		if (isset($array['repair-steps']['pre-migration']['step']) && is_array($array['repair-steps']['pre-migration']['step'])) {
142
			$array['repair-steps']['pre-migration'] = $array['repair-steps']['pre-migration']['step'];
143
		}
144
		if (isset($array['repair-steps']['post-migration']['step']) && is_array($array['repair-steps']['post-migration']['step'])) {
145
			$array['repair-steps']['post-migration'] = $array['repair-steps']['post-migration']['step'];
146
		}
@@ 144-146 (lines=3) @@
141
		if (isset($array['repair-steps']['pre-migration']['step']) && is_array($array['repair-steps']['pre-migration']['step'])) {
142
			$array['repair-steps']['pre-migration'] = $array['repair-steps']['pre-migration']['step'];
143
		}
144
		if (isset($array['repair-steps']['post-migration']['step']) && is_array($array['repair-steps']['post-migration']['step'])) {
145
			$array['repair-steps']['post-migration'] = $array['repair-steps']['post-migration']['step'];
146
		}
147
		if (isset($array['repair-steps']['live-migration']['step']) && is_array($array['repair-steps']['live-migration']['step'])) {
148
			$array['repair-steps']['live-migration'] = $array['repair-steps']['live-migration']['step'];
149
		}
@@ 147-149 (lines=3) @@
144
		if (isset($array['repair-steps']['post-migration']['step']) && is_array($array['repair-steps']['post-migration']['step'])) {
145
			$array['repair-steps']['post-migration'] = $array['repair-steps']['post-migration']['step'];
146
		}
147
		if (isset($array['repair-steps']['live-migration']['step']) && is_array($array['repair-steps']['live-migration']['step'])) {
148
			$array['repair-steps']['live-migration'] = $array['repair-steps']['live-migration']['step'];
149
		}
150
		if (isset($array['repair-steps']['uninstall']['step']) && is_array($array['repair-steps']['uninstall']['step'])) {
151
			$array['repair-steps']['uninstall'] = $array['repair-steps']['uninstall']['step'];
152
		}
@@ 150-152 (lines=3) @@
147
		if (isset($array['repair-steps']['live-migration']['step']) && is_array($array['repair-steps']['live-migration']['step'])) {
148
			$array['repair-steps']['live-migration'] = $array['repair-steps']['live-migration']['step'];
149
		}
150
		if (isset($array['repair-steps']['uninstall']['step']) && is_array($array['repair-steps']['uninstall']['step'])) {
151
			$array['repair-steps']['uninstall'] = $array['repair-steps']['uninstall']['step'];
152
		}
153
		if (isset($array['background-jobs']['job']) && is_array($array['background-jobs']['job'])) {
154
			$array['background-jobs'] = $array['background-jobs']['job'];
155
		}