apache / apache/netbeans

[PHP] New hint item for missing type at declaration places

Open
#6,047 0 comments 0 reactions 0 assignees View on GitHub
kind:feature needs:triage PHP
Dominant language
Java
Stars
3.1k
Forks
935
Avg merge
2d 3h
Merged PRs (30d)
17

Description

### Description

Currently, PHP type system covers most of the cases. With ```mixed```, other unrepresented types can be represented by it. Another purpose of ```mixed``` is to discern whether people forgot to give a type or not. Adding types to all possible places is a good discipline. Netbeans need to provide additional item in editor hint to switch on and off to adjust this rule to the project policy.

### Use case/motivation

```php

Contributor guide

Open the contributing guide

Research direction

The issue names no files, tests, or entry points. Start by locating NetBeans' PHP editor hint implementations and their tests, then verify coverage for untyped properties, parameters, return types, and promoted constructor properties; done means the hint can be enabled or disabled for the project policy and flags the shown cases.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.