Problem/Motivation
- Deprecated function: Creation of dynamic property Drupal\acquia_search\PreferredCoreService::$subscription is deprecated
- Deprecated function: Creation of dynamic property Drupal\acquia_search\PreferredCoreService::$acquiaSearchApiClient is deprecated
Steps to reproduce
We have integrated test case with acquia_search, while running the test I've found these deprecation with PHP 8.2 with Drupal 10.0.7 version
Proposed resolution
Implement proper property initialisation in the class before assigning any value further in the class.
Issue fork acquia_search-3350780
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
ankitv18 commentedComment #4
ankitv18 commentedCan anyone review MR!22 and move ahead??
Comment #5
liam morlandComment #7
mglamanWaiting for rebase runs then merging, thanks @ankitv18
Comment #9
mglamanMerged, thanks!