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