EnumDeclaration does not support classInterfaceClause

Open
#394 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
php
Domain
compilers

Research direction

Locate EnumDeclaration in the parser and trace how enum declarations are parsed and represented, using the linked PHP documentation as the expected syntax. Check existing parser tests for enum declarations and add coverage showing that an enum with a class interface clause is accepted and represented correctly.

Written by the indexing model from the issue text.

Description

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

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.

More from microsoft/tolerant-php-parser

All issues in microsoft/tolerant-php-parser

Similar issues

More PHP issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.