Most German docs were written with `ue`/`ae`/`oe`/`ss` ASCII fallbacks (`fuer`, `aenderung`, `koennen`, `gemaess`) — relic from older toolchain constraints. Replaced 237 occurrences across 38 .md files with proper umlauts and ß so the docs read naturally. Substitutions are constrained to plain prose: fenced code blocks (```...```), inline code spans (`...`), markdown link targets `[..](..)`, and HTML comments are preserved verbatim. Path references like `docs/howto-erste-aenderung.md` keep their original (umlaut-replaced) filenames — only the surrounding prose is normalised. Tool: bin/fix-md-umlauts.py (idempotent — no-op on already-clean files). Re-runnable if ASCII fallbacks creep back in via copy-paste. Doc-link-check + doc-drift-check stay green. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
26 lines
740 B
Markdown
26 lines
740 B
Markdown
# Local Style Workflow
|
|
|
|
## Commands
|
|
|
|
```bash
|
|
vendor/bin/php-cs-fixer fix --config=tools/php-cs-fixer/.php-cs-fixer.dist.php --dry-run --diff --verbose
|
|
composer cs:fix
|
|
```
|
|
|
|
## Praktikabler Ablauf
|
|
|
|
1. Erst Style-Check laufen lassen (`vendor/bin/php-cs-fixer fix --config=tools/php-cs-fixer/.php-cs-fixer.dist.php --dry-run --diff --verbose`).
|
|
2. Danach `cs:fix`.
|
|
3. Nur relevante Diffs übernehmen, grosse Misch-Diffs vermeiden.
|
|
4. Anschliessend:
|
|
|
|
```bash
|
|
docker compose exec php vendor/bin/phpunit
|
|
docker compose exec php vendor/bin/phpstan analyse -c phpstan.neon --no-progress
|
|
```
|
|
|
|
## Review-Fokus
|
|
|
|
1. `ordered_imports`, `braces_position`, `statement_indentation`.
|
|
2. Kein semantischer Drift bei anon classes, arrow functions, array maps.
|