prettier / prettier/plugin-php
[error] No files matching the pattern were found: "path/to/file.php".
Open
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 1.9k
- Forks
- 139
- PR merge metrics
- No merged PRs in 30d
Description
so I installed this plugin globally with:
npm install --global prettier @prettier/plugin-php
but when I run prettier path/to/file.php --write
i get this error:
[error] No files matching the pattern were found: "path/to/file.php".
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 with the reported command, prettier path/to/file.php --write, and verify whether the placeholder path represents an existing PHP file. Reproduce the result using the globally installed packages; a useful outcome requires a real file path and enough environment details to distinguish an invalid path from a plugin issue.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100