Plugin idea: warn about classes/namespaces that don't match composer.json autoload declaration
Open
@TysonAndre is already working on this.
Since Dec 14, 2020.
enhancement
- Dominant language
- PHP
- Stars
- 5.6k
- Forks
- 365
- Avg merge
- 1h 25m
- Merged PRs (30d)
- 6
Description
- exclude checking vendor
- Add a way to exclude third-party folders (e.g. non-vendor)
- Warn about files/folders that would cause issues on case-sensitive filesystems.
If there are one or more classes in a file, warn if none of those classes have the namespace+class you'd expect from looking at composer.json, if they're within a folder composer.json mentions
This would matter for projects being pulled in with composer 2
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.
Assessment
This issue has not been assessed yet.