Code Duplication    Length = 7-7 lines in 2 locations

packages/autoloader/src/class-version-loader.php 1 location

@@ 79-85 (lines=7) @@
76
			return;
77
		}
78
79
		foreach ( $this->filemap as $file_identifier => $file_data ) {
80
			if ( empty( $GLOBALS['__composer_autoload_files'][ $file_identifier ] ) ) {
81
				require_once $file_data['path'];
82
83
				$GLOBALS['__composer_autoload_files'][ $file_identifier ] = true;
84
			}
85
		}
86
	}
87
88
	/**

packages/autoloader/tests/php/data/plugins/plugin_v2_2_0/vendor/class-files-handler.php 1 location

@@ 104-110 (lines=7) @@
101
	 */
102
	public function file_loader() {
103
		global $jetpack_packages_filemap;
104
		foreach ( $jetpack_packages_filemap as $file_identifier => $file_data ) {
105
			if ( empty( $GLOBALS['__composer_autoload_files'][ $file_identifier ] ) ) {
106
				require_once $file_data['path'];
107
108
				$GLOBALS['__composer_autoload_files'][ $file_identifier ] = true;
109
			}
110
		}
111
	}
112
}
113