Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
bshaffer committed Jun 6, 2024
1 parent e3b304f commit d92f8fb
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion dev/src/Command/DocFxCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,10 @@ private function validate(ClassNode $class, OutputInterface $output): bool
$isGenerated ? OutputInterface::VERBOSITY_VERBOSE : OutputInterface::VERBOSITY_NORMAL
);
// generated classes are allowed to have broken xrefs
$valid = !$isGenerated && $valid;
if ($isGenerated) {
continue;
}
$valid = false;
}
}
if (!$valid) {
Expand Down

0 comments on commit d92f8fb

Please sign in to comment.