-
tests/lint/check-comments.php<pre>@@ -37,6 +37,7 @@$lines = \array_map(static fn (string $line): string => \trim($line, " \t*/"), $lines);$lines = \array_values(\array_filter($lines, static fn (string $line): bool => $line !== ''));$descriptive = \array_values(\array_filter($lines, static fn (string $line): bool => !\preg_match('~^@[a-zA-Z]~', $line)));+return \count($descriptive) > 1 ? 'mehr als eine beschreibende Zeile' : null;};@@ -53,6 +54,7 @@return $i + $direction;}}+return $i;};