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

[REF][PHP8.2] Avoid dynamic properties in CRM_Case_XMLProcessor_ProcessTest #25325

Merged

Conversation

braders
Copy link
Contributor

@braders braders commented Jan 11, 2023

Overview

Stop using properties as dynamic properties in CRM_Case_XMLProcessor_ProcessTest. This is a test, so the properties can safely be private. The properties are set in setUp and used as part of the tests.

Before

Several properties set and retreived dynamically, which is deprecated in PHP 8.2. See https://lab.civicrm.org/dev/core/-/issues/3833 for context.

After

A step closer to PHP 8.2 compat.

@civibot
Copy link

civibot bot commented Jan 11, 2023

(Standard links)

@civibot civibot bot added the master label Jan 11, 2023
@eileenmcnaughton
Copy link
Contributor

Thanks !

@eileenmcnaughton eileenmcnaughton merged commit f68279f into civicrm:master Jan 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants