Code Duplication    Length = 3-3 lines in 5 locations

Classes/Service/DatabaseCompareReal.php 5 locations

@@ 61-63 (lines=3) @@
58
			$results[] = $this->schemaMigrationService->performUpdateQueries($addCreateChange['add'], $allowedRequestKeys);
59
		}
60
61
		if ($allowedActions[self::ACTION_UPDATE_CHANGE] == 1) {
62
			$results[] = $this->schemaMigrationService->performUpdateQueries($addCreateChange['change'], $allowedRequestKeys);
63
		}
64
65
		if ($allowedActions[self::ACTION_UPDATE_CREATE_TABLE] == 1) {
66
			$results[] = $this->schemaMigrationService->performUpdateQueries($addCreateChange['create_table'], $allowedRequestKeys);
@@ 69-71 (lines=3) @@
66
			$results[] = $this->schemaMigrationService->performUpdateQueries($addCreateChange['create_table'], $allowedRequestKeys);
67
		}
68
69
		if ($allowedActions[self::ACTION_REMOVE_CHANGE] == 1) {
70
			$results[] = $this->schemaMigrationService->performUpdateQueries($dropRemove['change'], $allowedRequestKeys);
71
		}
72
73
		if ($allowedActions[self::ACTION_REMOVE_DROP] == 1) {
74
			$results[] = $this->schemaMigrationService->performUpdateQueries($dropRemove['drop'], $allowedRequestKeys);
@@ 73-75 (lines=3) @@
70
			$results[] = $this->schemaMigrationService->performUpdateQueries($dropRemove['change'], $allowedRequestKeys);
71
		}
72
73
		if ($allowedActions[self::ACTION_REMOVE_DROP] == 1) {
74
			$results[] = $this->schemaMigrationService->performUpdateQueries($dropRemove['drop'], $allowedRequestKeys);
75
		}
76
77
		if ($allowedActions[self::ACTION_REMOVE_CHANGE_TABLE] == 1) {
78
			$results[] = $this->schemaMigrationService->performUpdateQueries($dropRemove['change_table'], $allowedRequestKeys);
@@ 77-79 (lines=3) @@
74
			$results[] = $this->schemaMigrationService->performUpdateQueries($dropRemove['drop'], $allowedRequestKeys);
75
		}
76
77
		if ($allowedActions[self::ACTION_REMOVE_CHANGE_TABLE] == 1) {
78
			$results[] = $this->schemaMigrationService->performUpdateQueries($dropRemove['change_table'], $allowedRequestKeys);
79
		}
80
81
		if ($allowedActions[self::ACTION_REMOVE_DROP_TABLE] == 1) {
82
			$results[] = $this->schemaMigrationService->performUpdateQueries($dropRemove['drop_table'], $allowedRequestKeys);
@@ 81-83 (lines=3) @@
78
			$results[] = $this->schemaMigrationService->performUpdateQueries($dropRemove['change_table'], $allowedRequestKeys);
79
		}
80
81
		if ($allowedActions[self::ACTION_REMOVE_DROP_TABLE] == 1) {
82
			$results[] = $this->schemaMigrationService->performUpdateQueries($dropRemove['drop_table'], $allowedRequestKeys);
83
		}
84
85
		foreach ($results as $resultSet) {
86
			if (is_array($resultSet)) {