Code Duplication    Length = 5-5 lines in 2 locations

packages/autoloader/src/AutoloadGenerator.php 2 locations

@@ 264-268 (lines=5) @@
261
262
			$content = $this->getAutoloadPackageFile( $file, $suffix );
263
264
			if ( file_put_contents( $outDir . '/' . $newFile, $content ) ) {
265
				$this->io->writeError( "  <info>Generated: $newFile</info>" );
266
			} else {
267
				$this->io->writeError( "  <error>Error: $newFile</error>" );
268
			}
269
		}
270
	}
271
@@ 299-303 (lines=5) @@
296
				continue;
297
			}
298
299
			if ( file_put_contents( $outDir . '/' . $file, $content ) ) {
300
				$this->io->writeError( "  <info>Generated: $file</info>" );
301
			} else {
302
				$this->io->writeError( "  <error>Error: $file</error>" );
303
			}
304
		}
305
	}
306