[PHP8.2] Remove undeclared property #26947
Merged
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.
It appears to be copy & paste cos it is set but never used
api_v3_ReportTemplateTest::testReportTemplateGetRowsAllReports with data set #29 ('event/incomesummary')
Failure in api call for report_template getrows: Creation of dynamic property CRM_Report_Form_Event_IncomeCountSummary::$_participantWhere is deprecated
#0 /home/homer/buildkit/build/build-1/web/sites/all/modules/civicrm/CRM/Report/Form/Event/IncomeCountSummary.php(209): PHPUnit\Util\ErrorHandler->__invoke(8192, 'Creation of dyn...', '/home/homer/bui...', 209)
#1 /home/homer/buildkit/build/build-1/web/sites/all/modules/civicrm/CRM/Report/Form.php(3086): CRM_Report_Form_Event_IncomeCountSummary->where()
#2 /home/homer/buildkit/build/build-1/web/sites/all/modules/civicrm/api/v3/ReportTemplate.php(146): CRM_Report_Form->buildQuery()
#3 /home/homer/buildkit/build/build-1/web/sites/all/modules/civicrm/api/v3/ReportTemplate.php(105): _civicrm_api3_report_template_getrows(Array)
#4 /home/homer/buildkit/build/build-1/web/sites/all/modules/civicrm/Civi/API/Provider/MagicFunctionProvider.php(89): civicrm_api3_report_template_getrows(Array)
#5 /home/homer/buildkit/build/build-1/web/sites/all/modules/civicrm/Civi/API/Kernel.php(158): Civi\API\Provider\MagicFunctionProvider->invoke(Array)
#6 /home/homer/buildkit/build/build-1/web/sites/all/modules/civicrm/Civi/API/Kernel.php(81): Civi\API\Kernel->runRequest(Array)
#7 /home/homer/buildkit/build/build-1/web/sites/all/modules/civicrm/api/api.php(22): Civi\API\Kernel->runSafe('report_template', 'getrows', Array)