Code Duplication    Length = 5-5 lines in 2 locations

packages/autoloader/src/AutoloadGenerator.php 2 locations

@@ 269-273 (lines=5) @@
266
267
			$content = $this->getAutoloadPackageFile( $file, $suffix );
268
269
			if ( file_put_contents( $outDir . '/' . $newFile, $content ) ) {
270
				$this->io->writeError( "  <info>Generated: $newFile</info>" );
271
			} else {
272
				$this->io->writeError( "  <error>Error: $newFile</error>" );
273
			}
274
		}
275
	}
276
@@ 304-308 (lines=5) @@
301
				continue;
302
			}
303
304
			if ( file_put_contents( $outDir . '/' . $file, $content ) ) {
305
				$this->io->writeError( "  <info>Generated: $file</info>" );
306
			} else {
307
				$this->io->writeError( "  <error>Error: $file</error>" );
308
			}
309
		}
310
	}
311