apache / apache/netbeans

[PHP] func_get_args must suppress all unused parameter errors.

Open
#6,025 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

### Apache NetBeans version

Apache NetBeans 18

### What happened

__func_get_args__ useful to catch all params at once without worrying about details. So obviously there is no unused parameter anymore.

### How to reproduce

```php

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the unused-parameter warnings in the NetBeans PHP editor with the two functions shown in the issue. Locate the inspection responsible for unused PHP parameters and determine how it detects func_get_args(); done means all parameters consumed through func_get_args() no longer produce unused-parameter errors while ordinary unused parameters still do.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
devtools
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 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.