Skip to content

Conversation

@ashleyhindle
Copy link
Collaborator

What & Why

Adds pint rule to enforce curly braces in string interpolation

My personal preference is to have explicit curly braces in string interpolation: $name = 'Dood'; echo "Howdy {$name}!";

But it also follows the framework's approach, Joe's code in wayfinder, and Spatie's guidelines 👌

@ashleyhindle ashleyhindle merged commit a672f48 into main Aug 12, 2025
3 of 12 checks passed
@ashleyhindle ashleyhindle deleted the explicit-interpolation branch August 13, 2025 14:04
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.

2 participants