Code-Qualität: PHP-CS-Fixer mit AGPL-Header, PHPStan Level 8, PHPUnit #4

Closed
opened 2026-11-09 17:37:43 +00:00 by csaeum · 0 comments
Owner

Ziel

Qualitätswerkzeuge lokal und in der CI identisch nutzbar.

Umfang

  • .php-cs-fixer.dist.php mit @PSR12 und header_comment (AGPL-v3-Header, Wortlaut siehe CICD-Actions.md)
  • phpstan.neon Level 8, phpunit.xml mit failOnWarning/failOnDeprecation/failOnNotice
  • require-dev und Composer-Skripte cs-check, cs-fix, phpstan, test
  • .gitattributes mit export-ignore (Paket-Inhalt: composer.json, src/, LICENSE, README.md)

Herkunft

Konfigurationsdateien aus wsc_sulubundle_consentanalytics, Header von GPL auf AGPL umstellen.

Akzeptanzkriterien

  • Alle drei Werkzeuge laufen im DDEV grün
  • Eine Datei ohne Header lässt cs-check rot werden (Gegenprobe)
## Ziel Qualitätswerkzeuge lokal und in der CI identisch nutzbar. ## Umfang - `.php-cs-fixer.dist.php` mit `@PSR12` und `header_comment` (AGPL-v3-Header, Wortlaut siehe `CICD-Actions.md`) - `phpstan.neon` Level 8, `phpunit.xml` mit `failOnWarning`/`failOnDeprecation`/`failOnNotice` - `require-dev` und Composer-Skripte `cs-check`, `cs-fix`, `phpstan`, `test` - `.gitattributes` mit `export-ignore` (Paket-Inhalt: `composer.json`, `src/`, `LICENSE`, `README.md`) ## Herkunft Konfigurationsdateien aus `wsc_sulubundle_consentanalytics`, Header von GPL auf AGPL umstellen. ## Akzeptanzkriterien - [x] Alle drei Werkzeuge laufen im DDEV grün - [x] Eine Datei ohne Header lässt `cs-check` rot werden (Gegenprobe)
Sign in to join this conversation.
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
Sulu-Bundles/wsc_sulubundle_orestbidacookieconsent#4
No description provided.