Skip to content

style: import FQ class names to satisfy pint --test#2

Merged
SRWieZ merged 1 commit into
mainfrom
fix/pint-style-issues
May 18, 2026
Merged

style: import FQ class names to satisfy pint --test#2
SRWieZ merged 1 commit into
mainfrom
fix/pint-style-issues

Conversation

@SRWieZ
Copy link
Copy Markdown
Member

@SRWieZ SRWieZ commented May 18, 2026

Summary

  • Replace fully-qualified class references with use imports in cli/flushdns.php and tests/Unit/ArchTest.php so vendor/bin/pint --test passes.
  • These style issues pre-existed; the old pint.yml workflow ran pint in auto-fix mode and auto-committed the fixups, so they were never visible on PRs. Once Harden GitHub Actions workflows against token disclosure #1 switches the workflow to --test, they surface as failures.

Test plan

  • CI: Linting (pint --test) green
  • CI: Tests green on ubuntu/macos (Windows still blocked by knotsphp/system wmic issue — separate follow-up)

🤖 Generated with Claude Code

The Linting workflow was switched from auto-fix mode to --test in #1,
which surfaces pre-existing style issues that the old workflow silently
fixed and force-committed. Replace fully-qualified class references with
imports in cli/flushdns.php and tests/Unit/ArchTest.php so pint passes.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@SRWieZ SRWieZ merged commit c7dbce0 into main May 18, 2026
9 of 13 checks passed
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