qa: PER-CS code style + composer hygiene; floor twig at 3.27 - #11
Merged
Conversation
Brings twig-attribute onto the shared parisek QA baseline (mirrors timber-kit), plus a formatter scoped to the Parisek-authored code: - PHP-CS-Fixer (@PER-CS) over AttributeExtension.php + tests/ only; the vendored Drupal classes in src/ keep their 2-space style so upstream refreshes stay diff-able. `cs` / `cs:fix` scripts + a `cs` CI job. - composer hygiene CI: validate + audit (--abandoned=report, the tree has abandoned transitives) + normalize. Adds ergebnis/composer-normalize. - pin config.platform.php to 8.3 (lock is committed here) so symfony/console resolves to a 7.x that installs on the floor. - **Security:** raise the twig/twig require floor to ^3.27 (CVE-2026-46634). PHPStan stays level 5 — level 8 would flag the vendored Drupal src, which must not be touched. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
…rsist) Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Brings twig-attribute onto the shared parisek QA baseline (mirrors
timber-kit), with a formatter scoped to the Parisek-authored code.What
@PER-CS) overAttributeExtension.php+tests/only — the vendored Drupal classes insrc/deliberately keep Drupal's 2-space style so upstream refreshes stay diff-able.cs/cs:fixscripts + acsCI job.composer validate --strict+composer audit --abandoned=report+composer normalize --dry-run. Addsergebnis/composer-normalize.config.platform.php= 8.3 (the lock is committed here) sosymfony/consoleresolves to a 7.x that installs on the floor.twig/twigrequire floor to^3.27(CVE-2026-46634).Notes
--abandoned=reportbecause the tree has abandoned transitives (not vulnerabilities) — they shouldn't fail the security gate.src/, which must not be modified.Part of unifying QA tooling across the parisek libraries.
🤖 Generated with Claude Code