phpmd / phpmd/phpmd

PHP short tag check

Open
#771 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Feature Good first issue
Dominant language
PHP
Stars
2.5k
Forks
361
Avg merge
1d 19h
Merged PRs (30d)
11

Description

Does PHPMD have a check for php files that are using short tag form? <? instead of <?php

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 searching the existing PHPMD rules and documentation for a check covering PHP short tags; the issue does not name a file, entry point, or test. Done means establishing whether the requested check exists and, if not, identifying the rule and test locations needed to cover <? versus <?php.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.