HTML and Markdown report generation with single table configuration#69
Merged
Conversation
…ration - Updated HtmlReport to support a single table layout for metrics when configured. - Modified MarkdownReport to include a single table format for all methods. - Added new test cases to validate the single table output for both HTML and Markdown reports. - Introduced configuration options to toggle between grouped and single table formats in reports.
…is into group-by-class
- Updated file handling in MarkdownReport to use a local variable for the file handle, improving clarity and reducing potential errors. - Removed unnecessary type assertions and adjusted docblocks for better type hinting. - Ensured consistent usage of the file handle across methods for writing report data.
- Introduced a new method `writeGroupedByClassBatch` to encapsulate the logic for writing class sections to the report. - Created a dedicated `buildClassSection` method to streamline the construction of class report sections, enhancing code readability and maintainability. - Removed redundant code and improved the flow of data writing to the file handle.
- Changed base image from php:8.3-cli to php:8.5-cli to leverage new features and improvements in PHP 8.5. - Updated package installation to ensure compatibility with the new PHP version.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Refs #58