Skip to content
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

Implement Readme Parser #346

Merged
merged 5 commits into from
Jan 3, 2024

Conversation

ernilambar
Copy link
Member

@ernilambar ernilambar commented Dec 19, 2023

Fixes #322

  • Add afragen/wordpress-plugin-readme-parser as dependency
  • Update Plugin_Readme_Check methods to use new Parser class.
  • Add check_for_warnings method for other readme parser warnings.
  • Ensure existing tests pass as expected.
  • Add test for new check_for_warnings method.

@ernilambar ernilambar force-pushed the implement-readme-parser branch 2 times, most recently from a2340ec to 6606e6e Compare December 19, 2023 09:48
@ernilambar ernilambar changed the title WIP: Implement readme parser Implement Readme Parser Dec 19, 2023
Copy link
Member

@mukeshpanchal27 mukeshpanchal27 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @ernilambar for the PR. Left some feedback for consideration.

includes/Checker/Checks/Plugin_Readme_Check.php Outdated Show resolved Hide resolved
includes/Checker/Checks/Plugin_Readme_Check.php Outdated Show resolved Hide resolved
includes/Checker/Checks/Plugin_Readme_Check.php Outdated Show resolved Hide resolved
includes/Checker/Checks/Plugin_Readme_Check.php Outdated Show resolved Hide resolved
includes/Checker/Checks/Plugin_Readme_Check.php Outdated Show resolved Hide resolved
includes/Checker/Checks/Plugin_Readme_Check.php Outdated Show resolved Hide resolved
includes/Checker/Checks/Plugin_Readme_Check.php Outdated Show resolved Hide resolved
includes/Checker/Checks/Plugin_Readme_Check.php Outdated Show resolved Hide resolved
composer.json Show resolved Hide resolved
@ernilambar ernilambar force-pushed the implement-readme-parser branch 2 times, most recently from 3d39941 to 9df7611 Compare January 2, 2024 10:44
Copy link
Member

@felixarntz felixarntz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks great, thank you @ernilambar! Only a small recommendation regarding the filter name, but otherwise good to go from my perspective.

includes/Checker/Checks/Plugin_Readme_Check.php Outdated Show resolved Hide resolved
@ernilambar
Copy link
Member Author

PR has been updated.

Copy link
Member

@mukeshpanchal27 mukeshpanchal27 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, @ernilambar, for the update. It's almost ready to go. I've left some final feedback for your consideration.

@mukeshpanchal27 mukeshpanchal27 merged commit 61eb08f into WordPress:trunk Jan 3, 2024
25 checks passed
@ernilambar ernilambar deleted the implement-readme-parser branch January 4, 2024 10:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement readme parser check in trunk
4 participants