openml / openml/OpenML

Add a linting setup for current PHP codebase

Open
#1,256 0 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.