Skip to content

Add a linting setup for current PHP codebase #1256

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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