Skip to content

Support 'literal-string' with Encapsed Strings#768

Merged
ondrejmirtes merged 2 commits intophpstan:masterfrom
craigfrancis:Issue-5994
Nov 16, 2021
Merged

Support 'literal-string' with Encapsed Strings#768
ondrejmirtes merged 2 commits intophpstan:masterfrom
craigfrancis:Issue-5994

Conversation

@craigfrancis
Copy link
Copy Markdown
Contributor

Regarding Issue #5994.

This allows a developer to write "foo {$literal}", and it be considered a literal-string.

I've added 2 tests, and while they pass (along with all the others from phpunit/paratest), I'm not familiar with the whole process, so I might have missed some steps, or coding styles (feel free to rewrite/discard).

@ondrejmirtes
Copy link
Copy Markdown
Member

Perfect, thank you!

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