apache / apache/netbeans

[PHP] Overiding final method must produce error

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

Overiding final method must produce error.

### How to reproduce

```php

Contributor guide

Open the contributing guide

Research direction

Start with the PHP editor's existing validation for overriding a final constant, using the reproduction in the issue as the entry point. Add equivalent handling for the final method override and a regression test; done means the method declaration displays an error like the constant declaration.

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.