prettier / prettier/plugin-php
Update doc
Open
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 1.9k
- Forks
- 139
- PR merge metrics
- No merged PRs in 30d
Description
Hey,
for use your (great) plugin, we need to use --parser=php on command line, i think it's good to add it on your doc :)
he's specified but not everywhere
yarn run prettier --parser=php path/to/file.php --write
# or
npm run prettier --parser=php path/to/file.php --write
and
prettier --parser=php path/to/file.php --write
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
Locate the plugin documentation that shows PHP command-line usage and review the existing examples. Update the relevant examples to include --parser=php, including the yarn, npm, and direct prettier commands; the documentation is done when each shown PHP invocation specifies the parser.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100