Skip to content

Scope Pint guideline to PHP file changes only#593

Merged
pushpak1300 merged 1 commit intomainfrom
update_pint_guideliens
Feb 20, 2026
Merged

Scope Pint guideline to PHP file changes only#593
pushpak1300 merged 1 commit intomainfrom
update_pint_guideliens

Conversation

@pushpak1300
Copy link
Member

Agents were running Pint unconditionally — even for documentation, config, or frontend-only changes — wasting tokens and adding unnecessary latency to every transaction.

Fixes #586

Approach

  • Add an "only if PHP files were modified" condition to the Pint run instruction, giving agents a clear and cheap signal to skip formatting when it isn't needed

@pushpak1300 pushpak1300 marked this pull request as ready for review February 20, 2026 08:03
@pushpak1300 pushpak1300 merged commit aa077bd into main Feb 20, 2026
18 checks passed
@pushpak1300 pushpak1300 deleted the update_pint_guideliens branch February 20, 2026 08:05
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.

Suggested optimization change to "Laravel Pint Code Formatter" guidance in AGENTS.md

1 participant

Comments