Skip to content

Extract navigation toggle suppression policy#519

Merged
chubes4 merged 1 commit into
trunkfrom
chore/php-transformer-cleanup
Jul 6, 2026
Merged

Extract navigation toggle suppression policy#519
chubes4 merged 1 commit into
trunkfrom
chore/php-transformer-cleanup

Conversation

@chubes4

@chubes4 chubes4 commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Move hamburger/nav-toggle suppression policy out of HtmlTransformer into Support\NavigationToggleSuppressionTrait.
  • Keep the moved method bodies behavior-preserving while reducing HtmlTransformer size and giving generic nav-toggle policy clear ownership.
  • Leave fixture outputs unchanged.

Testing

  • composer test (from php-transformer)

AI assistance

  • AI assistance: Yes
  • Tool(s): OpenAI GPT-5.5 via OpenCode
  • Used for: Identified a non-overlapping PHP transformer refactor after trunk refresh, moved the navigation toggle suppression policy, ran tests, and drafted this PR description.

@chubes4 chubes4 merged commit b1ae3cb into trunk Jul 6, 2026
1 check passed
@chubes4 chubes4 deleted the chore/php-transformer-cleanup branch July 6, 2026 19:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant