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 a046d19 commit d5ecfd2Copy full SHA for d5ecfd2
scripts/qa/section-order.php
@@ -177,7 +177,7 @@ function checkSectionErrors(string $path): array
177
$content = file_get_contents($path);
178
179
/* Skip class definitions */
180
- if (str_contains($content, '<phpdoc:classref')) {
+ if (preg_match('#<reference xml:id="(.+)" role="class"#', $content)) {
181
return [];
182
}
183
/* Skip Exception classes definitions */
0 commit comments