Code Duplication    Length = 5-5 lines in 2 locations

packages/autoloader/src/AutoloadGenerator.php 2 locations

@@ 379-383 (lines=5) @@
376
377
			$content = $this->getAutoloadPackageFile( $file, $suffix );
378
379
			if ( file_put_contents( $outDir . '/' . $newFile, $content ) ) {
380
				$this->io->writeError( "  <info>Generated: $newFile</info>" );
381
			} else {
382
				$this->io->writeError( "  <error>Error: $newFile</error>" );
383
			}
384
		}
385
	}
386
@@ 414-418 (lines=5) @@
411
				continue;
412
			}
413
414
			if ( file_put_contents( $outDir . '/' . $file, $content ) ) {
415
				$this->io->writeError( "  <info>Generated: $file</info>" );
416
			} else {
417
				$this->io->writeError( "  <error>Error: $file</error>" );
418
			}
419
		}
420
	}
421