Skip to content

Add a linting setup for current PHP codebase #1256

@naman9271

Description

@naman9271

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions