1. YoureCom
    1. Über mich
  2. Lösungen
    1. Tipprunde
    2. Aufgaben & Support
    3. Mitglieder-Netzwerk
    4. Online-Shop
    5. Alle Lösungen & Preise
  3. Für Admins
    1. Plugins
    2. ByteMon
    3. ByteMon: Community verwalten
    4. ByteMon: Portalidentität
    5. Individuelle Entwicklung
    6. WSC 6.3 Alpha
    7. GitHub
  4. Neuigkeiten
    1. Kurzmeldungen
  5. Support
  6. Mein Konto
  7. Lösungen testen
  • Anmelden
  • Registrieren
  • Warenkorb 0
  • Suche
Alles
  • Alles
  • Artikel
  • Seiten
  • Aufgaben
  • Produkte
  • Pulse-Beiträge
  • Erweiterte Suche
  1. YoureCom – Software für Vereine, Teams & Communities
  2. Repository-Liste
  3. de.yourecom.wcf.api.mpdf

Standard: Regel xml-comment übernommen, XML-Kommentare als bekannte Funde eingetragen Verwaltete Dateien aus _dev/standard (apply.php). Einträge in tests/lint/config.php sind Funde der neuen Regeln im bestehenden Code (comments-known.php, architecture-known.php); sie werden abgebaut, nicht ergänzt. Ein Minus heißt: Der Fund gilt nicht mehr (Regel geändert oder Datei bereinigt). Netto je Regel (Dateien):

  • Marcel Beckers
  • +28 Hinzufügungen
  • 28 Gesamt
  • 2 Dateien
  • 22. Oktober 2026 um 17:41
  • tests/lint/check-comments.php
    <pre>@@ -4,6 +4,8 @@
    * YoureCom Standard: comment rules (Marcel 21.10.2026, Sitzung). Managed by _dev/standard (apply.php), do not edit here.
    * - templates (.tpl) and SCSS never have a comment (Smarty, HTML or C-style) - not even one line. An empty `{* *}`
    * (only whitespace inside) is allowed: it joins two template lines without output whitespace, as in the core.
    + * - XML never has a comment, not even a section marker like `<!-- user -->`: every *.xml in the plugin root (PIP
    + * files, package.xml) except phpunit*.xml (tool configuration), and language/*.xml (xml-comment, Marcel 22.10.2026).
    * - PHP and TypeScript: a comment is only allowed directly above a class/interface/trait/enum, a function/method or a
    * property, and only one short descriptive line - PHPStan/TSDoc annotation lines (@param, @return, @var, @template,
    * @throws, @inheritDoc, ...) do not count toward that line and may be as many as needed. Anywhere else (inline in a
    @@ -274,6 +276,29 @@
    $report($relative, 'scss-comment', 'SCSS-Kommentar, SCSS hat nie Kommentare');
    }
    }
    +// XML: every file in the root (PIP files, package.xml) except the tool configuration phpunit*.xml, the language files
    +$xmlFiles = [];
    +foreach (\glob(ROOT . '/*.xml') ?: [] as $path) {
    + if (!\str_starts_with(\basename($path), 'phpunit')) {
    + $xmlFiles[\basename($path)] = $path;
    + }
    +}
    +foreach (files(['language'], ['.xml']) as $relative => $path) {
    + $xmlFiles[$relative] = $path;
    +}
    +foreach ($xmlFiles as $relative => $path) {
    + // template code in CDATA may contain HTML comments; blank it out but keep its line breaks for the line number
    + $source = (string)\preg_replace_callback(
    + '~<!\[CDATA\[.*?\]\]>~s',
    + static fn (array $match): string => \str_repeat("\n", \substr_count($match[0], "\n")),
    + (string)\file_get_contents($path),
    + );
    + $position = \strpos($source, '<!--');
    + if ($position !== false) {
    + $line = \substr_count(\substr($source, 0, $position), "\n") + 1;
    + $report($relative, 'xml-comment', "Zeile {$line}: XML-Kommentar (<!-- -->), XML des Pakets hat nie Kommentare");
    + }
    +}
    $known = config()['commentsKnown'] ?? [];
    $errors = [];
  • tests/lint/config.php
    <pre>@@ -12,6 +12,9 @@
    'xsdKnown' => [],
    // legacy patterns that cannot be changed yet: relative file => rules of check-architecture.php (the list can only shrink)
    'architectureKnown' => [],
    + // comment findings of the standard that are not cleaned up yet: relative file => rules of check-comments.php (the list can only shrink)
    + 'commentsKnown' => [
    + ],
    // committed build of ts/ (the outDir of tsconfig.test.json), null without TypeScript
    'jsBuildDir' => null,
    ];

Bereit, deine Community smarter zu machen?

Ob fertiges Produkt oder individuelle Softwarelösung – überzeuge dich selbst.

Jetzt kaufen Demo testen

Direkter Support vom Entwickler

Zuletzt erledigte Aufgaben

  1. Overlay beim Verschieben eines Themas Clan Verwaltung Clan Verwaltung: Foren

    Marcel Beckers Erledigt am 23. Oktober 2026 um 22:10
  2. Feature-Wunsch: Einführung von Tippgemeinschaften / Team-Wertung (Team-Tippen) Wettbewerbe Basissystem Wettbewerbe: Tippspiel

    villain Erledigt am 22. Oktober 2026 um 08:15
  3. Verschiebung zwischen Clanforen/WSB Clan Verwaltung Clan Verwaltung: Foren

    Marcel Beckers Erledigt am 22. Oktober 2026 um 00:12
  4. Massenbearbeitung von Clans Clan Verwaltung

    Marcel Beckers Erledigt am 22. Oktober 2026 um 00:10
  5. Synchronisation zwischen Clan und Benutzergruppe erweitern Clan Verwaltung

    Marcel Beckers Erledigt am 21. Oktober 2026 um 23:59
  6. Überarbeitung der eigenen Events Clan Verwaltung

    Marcel Beckers Erledigt am 21. Oktober 2026 um 23:40
Arbeitsplatz
YoureCom – Software für Vereine, Teams & Communities

YoureCom – Software für Vereine, Teams & Communities. Seit 2004.

Fertig eingerichtete Lösungen für Verein, Team und Community, dazu Erweiterungen für die WoltLab Suite. Aus Wuppertal, für Kunden weltweit.

Lösungen

  • Tipprunde
  • Aufgaben & Support
  • Mitglieder-Netzwerk
  • Online-Shop
  • Alle Lösungen & Preise

Für Administratoren

  • Plugins
  • Clan Verwaltung
  • Wettbewerbe
  • MultiHunter
  • ByteMon
  • Individuelle Entwicklung

YoureCom

  • Über mich
  • Shop
  • Kontakt
  • Neuigkeiten
  • GitHub

Cloud-Verträge

  • AGB Cloud
  • AVV Cloud
  • Rechtswidrige Inhalte melden
  • Datenwechsel

Rechtliches

  • Datenschutzerklärung
  • Impressum
  • AGB
  • Vertrag widerrufen
  • Abonnements kündigen
  • Widerrufsbelehrung
© 2026 YoureCom · Marcel Beckers