Skip to content

Don't add the listener if a document is not a test file#8196

Merged
ebarboni merged 1 commit intoapache:deliveryfrom
junichi11:php-improve-test-method-annotations
Jan 28, 2025
Merged

Don't add the listener if a document is not a test file#8196
ebarboni merged 1 commit intoapache:deliveryfrom
junichi11:php-improve-test-method-annotations

Conversation

@junichi11
Copy link
Copy Markdown
Member

@junichi11 junichi11 commented Jan 26, 2025

  • 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

@junichi11 junichi11 added the PHP [ci] enable extra PHP tests (php/php.editor) label Jan 26, 2025
@junichi11 junichi11 added this to the NB25 milestone Jan 26, 2025
@junichi11 junichi11 requested review from tmysik and troizet January 26, 2025 09:40
Copy link
Copy Markdown
Member

@tmysik tmysik left a 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.

@junichi11 junichi11 force-pushed the php-improve-test-method-annotations branch from eb40f84 to b4fcdad Compare January 26, 2025 14:55
- 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
@junichi11 junichi11 force-pushed the php-improve-test-method-annotations branch from b4fcdad to c6eb9a8 Compare January 26, 2025 15:27
Copy link
Copy Markdown
Collaborator

@troizet troizet left a 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!

@junichi11
Copy link
Copy Markdown
Member Author

I made an elementary stupid mistake but I realized that thanks to Tomas.
A release manager merges this into the delivery branch :)
Thank you, both!

@junichi11
Copy link
Copy Markdown
Member Author

@ebarboni @lahodaj Conflict may occur because this file is changed here(delivery branch) and #8201 (master branch).

@ebarboni
Copy link
Copy Markdown
Contributor

will merge this and create sync but the #8201 will need rebase

@ebarboni ebarboni merged commit f2f8ea7 into apache:delivery Jan 28, 2025
@junichi11 junichi11 deleted the php-improve-test-method-annotations branch January 28, 2025 23:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

PHP [ci] enable extra PHP tests (php/php.editor)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants