Skip to content

Commit

Permalink
final touch: comment
Browse files Browse the repository at this point in the history
  • Loading branch information
samsonasik authored and TomasVotruba committed Jan 4, 2022
1 parent f64c849 commit fb38502
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/Application/ApplicationFileProcessor.php
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,14 @@ public function run(Configuration $configuration, InputInterface $input): array
unset($systemErrorsAndFileDiffs[Bridge::SYSTEM_ERRORS][$key]);
$newSystemErrorsAndFileDiffs = $this->run($fallbackConfiguration, $input);

/**
* Using Recursive merge on purpose to merge with existing Parallel associative data of $systemErrorsAndFileDiffs
*
* @see e2e/parallel-reflection-resolver/src for demo, tested with run in CI:
*
* ~ cd e2e/parallel-reflection-resolver
* ~ php ../e2eTestRunner.php
*/
/** @var array{system_errors: SystemError[], file_diffs: FileDiff[]} $systemErrorsAndFileDiffs */
$systemErrorsAndFileDiffs = array_merge_recursive(
$systemErrorsAndFileDiffs,
Expand Down

0 comments on commit fb38502

Please sign in to comment.