Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add sniff to ban heredocs. #175

Merged
merged 1 commit into from
Apr 4, 2025
Merged

Add sniff to ban heredocs. #175

merged 1 commit into from
Apr 4, 2025

Conversation

jaymcp
Copy link
Member

@jaymcp jaymcp commented Mar 24, 2025

Per internal discussion, we have decided to disallow the use of heredocs (nowdocs are okay). This PR introduces a Sniff to that effect.

Types of changes (if applicable):

  • Bug fix (non-breaking change which fixes an issue).
  • New feature (non-breaking change which adds functionality).
  • Breaking change (fix or feature that would cause existing functionality to not work as expected).

Checklist (if applicable):

  • All checks pass when running `composer run all-checks.

@jaymcp jaymcp requested a review from a team March 24, 2025 11:14
@jaymcp jaymcp merged commit 3afdc37 into main Apr 4, 2025
5 checks passed
@jaymcp jaymcp deleted the feat/heredoc-sniff branch April 4, 2025 10:34
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant