Add a linting setup for current PHP codebase
Open
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 755
- Forks
- 128
- PR merge metrics
- No merged PRs in 30d
Description
currently the php codebase is not having proper linting system which makes the code little uncinsistent and lacks productibity which decreases the developer experience so please craete a proper system for it.
Proposed solution
- PHP_CodeSniffer (phpcs) - detect violations of coding standards
- PHP-CS-Fixer - automatically fix code style issues
- PHPStan or Psalm - static analysis for type safety
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 reviewing the PHP codebase and the proposed PHP_CodeSniffer, PHP-CS-Fixer, and PHPStan or Psalm tools. Define the coding-standard and static-analysis scope before choosing the setup; done means the selected checks run consistently and provide automatic style fixes where appropriate.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- developer-experience, tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100