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

Documentation: improve information about Report data format + remove unused foreach keys #523

Merged
merged 2 commits into from
Jul 2, 2024

Conversation

jrfnl
Copy link
Member

@jrfnl jrfnl commented Jun 5, 2024

Description

Follow up on PR #446

Documentation: improve information about report data format

This commit adds detailed information about the array format Report classes receive in the generateFileReport() method to the Report interface and to the Reporter::prepareFileReport() method which prepares the data.

It also makes the parameter specification in the individual reports a little more specific and references the Report interface for further details.

CS/QA: remove unused foreach keys from report code

As the array format is now documented, these unused variables are no longer needed for documentation purposes.

Suggested changelog entry

N/A

Related issues/external references

Related to #446 (comment)

jrfnl and others added 2 commits June 7, 2024 14:41
This commit adds detailed information about the array format `Report` classes receive in the `generateFileReport()` method to the `Report` interface and to the `Reporter::prepareFileReport()` method which prepares the data.

It also makes the parameter specification in the individual reports a little more specific and references the `Report` interface for further details.
As the array format is now documented, these unused variables are no longer needed for documentation purposes.

Co-authored-by: Klaus Purer <klaus.purer@protonmail.ch>
@jrfnl jrfnl force-pushed the feature/docs-improve-reports-array-format-info branch from 5461454 to 52c891a Compare June 7, 2024 12:42
@jrfnl
Copy link
Member Author

jrfnl commented Jun 7, 2024

Fixed a typo in the first commit, which @fredden pointed out to me. No other changes.

@jrfnl jrfnl merged commit e245088 into master Jul 2, 2024
48 checks passed
@jrfnl jrfnl deleted the feature/docs-improve-reports-array-format-info branch July 2, 2024 07:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants