-
Notifications
You must be signed in to change notification settings - Fork 915
[GH 8420] PHP Constructor code completion should not add [#Override] #8421
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
I only added a test for SelectedPropertyMethodsCreator - I did not find any tests for the PHPCompletionItem class. It would be nice if this could still be added in the next version since this behaviour creates annoying bugs. |
|
found it - will add some more tests |
d3a44ed to
e17a2a3
Compare
|
Added more tests. |
junichi11
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add a white space after if. Thanks.
php/php.editor/src/org/netbeans/modules/php/editor/codegen/SinglePropertyMethodCreator.java
Outdated
Show resolved
Hide resolved
php/php.editor/src/org/netbeans/modules/php/editor/completion/PHPCompletionItem.java
Outdated
Show resolved
Hide resolved
Override Attribute on constructors in PHP leads to compile errors (See also apache#8334) - No longer add override on constructors
e17a2a3 to
ad3d9c6
Compare
|
Please separate screenshots before & after. Before: After: |
junichi11
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for your work!
Override Attribute on constructors in PHP leads to compile errors (See also #8334)
before:

after:

^Add meaningful description above
Click to collapse/expand PR instructions
By opening a pull request you confirm that, unless explicitly stated otherwise, the changes -
Please make sure (eg.
git log) that all commits have a valid name and email address for you in the Author field.If you're a first time contributor, see the Contributing guidelines for more information.
If you're a committer, please label the PR before pressing "Create pull request" so that the right test jobs can run.
PR approval and merge checklist:
If this PR targets the delivery branch: don't merge. (full wiki article)