We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 907ad1d commit b31cc91Copy full SHA for b31cc91
scripts/qa/section-order.php
@@ -178,8 +178,8 @@ function checkSectionErrors(string $path): array
178
$pageHasNoReturnSection = false;
179
$content = file_get_contents($path);
180
181
- /* Skip class definitions */
182
- if (preg_match('#<reference xml:id="(.+)" role="class"#', $content)) {
+ /* Skip class or enum definitions */
+ if (preg_match('#<reference xml:id="(.+)" role="(class|enum)"#', $content)) {
183
return [];
184
}
185
/* Skip Exception classes definitions */
0 commit comments