Documentation

ChecksDuplicateBasenames

Executed migration state is keyed on the basename, so two files sharing one basename across roots (or subdirectories) would silently swallow one of them. Commands assembling multi-root migration sets refuse to run.

Table of Contents

rejectDuplicateBasenames()  : bool
Returns true when duplicates were found (and reported to $out).

Methods

rejectDuplicateBasenames()

Returns true when duplicates were found (and reported to $out).

private rejectDuplicateBasenames(array<string|int, mixed> $migrationFiles, OutputInterface $out) : bool
Parameters
$migrationFiles : array<string|int, mixed>
$out : OutputInterface
Return values
bool

Search results