microsoft / microsoft/tolerant-php-parser

Add PHP static analyzers (of element types) to build checks?

Open
#186 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

continuous-improvement
Dominant language
PHP
Stars
894
Forks
85
Avg merge
2d 13h
Merged PRs (30d)
3

Description

Similar to #83

Motivation:

  • More likely that phpdoc will remain accurate when refactoring
    • Improved autocompletion and error detection in projects using tolerant-php-parser
  • Detect potential bugs in new commits/PRs that may be undetected by unit tests

There are several open source PHP static analyzers, such as https://github.com/phan/phan (which I maintain) and https://github.com/vimeo/psalm

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

No files or tests are named. Start by reviewing the repository's existing build checks, then compare the phan and psalm examples and linked analyzer-detected pull requests; define the analyzer, suppression policy, and CI success criteria before implementation.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
build-system, devtools
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.