Skip to content

Commit

Permalink
Do not check section order for exceptionrefs
Browse files Browse the repository at this point in the history
  • Loading branch information
Girgias committed Dec 6, 2023
1 parent efe5283 commit 66ff996
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts/qa/section-order.php
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,10 @@ function checkSectionErrors(string $path): array
if (str_contains($content, '<phpdoc:classref')) {
return [];
}
/* Skip Exception classes definitions */
if (str_contains($content, '<phpdoc:exceptionref')) {
return [];
}

/* Skip aliases */
if (str_contains($content, '&info.function.alias;')
Expand Down

0 comments on commit 66ff996

Please sign in to comment.