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.
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 thegenerateFileReport()
method to theReport
interface and to theReporter::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 https://github.com/PHPCSStandards/PHP_CodeSniffer/pull/446#discussion_r1573936634