-
Notifications
You must be signed in to change notification settings - Fork 867
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
Don't add the listener if a document is not a test file #8196
Don't add the listener if a document is not a test file #8196
Conversation
junichi11
commented
Jan 26, 2025
•
edited
Loading
edited
- Avoid adding the listener to all PHP files (Add it to only test files) because other than test files don't have test methods
- Improve the deeply nested parts
php/php.project/src/org/netbeans/modules/php/project/ComputeTestMethodAnnotations.java
Outdated
Show resolved
Hide resolved
php/php.project/src/org/netbeans/modules/php/project/ComputeTestMethodAnnotations.java
Outdated
Show resolved
Hide resolved
php/php.project/src/org/netbeans/modules/php/project/ComputeTestMethodAnnotations.java
Outdated
Show resolved
Hide resolved
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.
@junichi11 , please, see my comments, thank you.
eb40f84
to
b4fcdad
Compare
- Avoid adding the listener to all PHP files (Add it to only test files) Because other than test files don't have test methods - Improve the deeply nested parts
b4fcdad
to
c6eb9a8
Compare
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 very much for the improvements!
I made an elementary stupid mistake but I realized that thanks to Tomas. |
will merge this and create sync but the #8201 will need rebase |