prettier / prettier/plugin-php
heredoc/nowdoc: add missing newline
Open
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 1.9k
- Forks
- 139
- PR merge metrics
- No merged PRs in 30d
Description
See comment by @evilebottnawi in https://github.com/prettier/plugin-php/pull/1295_
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading the referenced comment in prettier/plugin-php#1295, since the issue does not name a source file or test. Trace the heredoc/nowdoc formatting behavior described there and identify the relevant test coverage. Done means the formatter preserves or adds the required missing newline, with a regression test confirming the output.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100