-
Notifications
You must be signed in to change notification settings - Fork 917
Closed
Labels
PHP[ci] enable extra PHP tests (php/php.editor)[ci] enable extra PHP tests (php/php.editor)kind:bugBug report or fixBug report or fix
Milestone
Description
Apache NetBeans version
Apache NetBeans 25
What happened
The following leads to a compile error in PHP - so we should not display the Add Override hint for constructors.
<?php
/**
* @author nils
*/
class newPHPClass{
public function __construct(){
}
}
/**
* @author nils
*/
class newPHPClass1 extends newPHPClass{
#[\Override]
public function __construct(){
}
}Language / Project Type / NetBeans Component
No response
How to reproduce
x
Did this work correctly in an earlier version?
No / Don't know
Operating System
Mageia
JDK
x
Apache NetBeans packaging
Apache NetBeans binary zip
Anything else
No response
Are you willing to submit a pull request?
Yes
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
PHP[ci] enable extra PHP tests (php/php.editor)[ci] enable extra PHP tests (php/php.editor)kind:bugBug report or fixBug report or fix