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

fix(vip-search): PHP 8.2 deprecation notices for dynamic properties #4904

Merged
merged 1 commit into from
Sep 27, 2023

Conversation

sjinks
Copy link
Member

@sjinks sjinks commented Sep 27, 2023

Description

This PR fixes deprecation notices in our codebase for the Enterprise Search.

Changelog Description

Plugin Updated: Enterprise Search

Fix PHP 8.2 deprecation notices

Pre-review checklist

Please make sure the items below have been covered before requesting a review:

  • This change works and has been tested locally (or has an appropriate fallback).
  • This change works and has been tested on a Go sandbox.
  • This change has relevant unit tests (if applicable).
  • This change uses a rollout method to ease with deployment (if applicable - especially for large scale actions that require writes).
  • This change has relevant documentation additions / updates (if applicable).
  • I've created a changelog description that aligns with the provided examples.

Pre-deploy checklist

  • VIP staff: Ensure any alerts added/updated conform to internal standards (see internal documentation).

Steps to Test

CI should pass.

@sjinks sjinks added [Status] Needs Review [Type] Maintenance Support the development in this repo PHP Compatibility [Component] Search ChangelogTagID: 2373 labels Sep 27, 2023
@sjinks sjinks requested a review from a team as a code owner September 27, 2023 10:52
@sjinks sjinks self-assigned this Sep 27, 2023
@sjinks
Copy link
Member Author

sjinks commented Sep 27, 2023

WP nightly CI jobs may fail until #4903 is merged.

@codecov
Copy link

codecov bot commented Sep 27, 2023

Codecov Report

Merging #4904 (e68534f) into develop (8761eba) will not change coverage.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##             develop    #4904   +/-   ##
==========================================
  Coverage      29.22%   29.22%           
  Complexity      4723     4723           
==========================================
  Files            277      277           
  Lines          20816    20816           
==========================================
  Hits            6083     6083           
  Misses         14733    14733           
Files Coverage Δ
search/includes/classes/class-health.php 55.97% <ø> (ø)
search/includes/classes/class-healthjob.php 22.41% <ø> (ø)
search/includes/classes/class-queue.php 83.99% <ø> (ø)
search/includes/classes/class-search.php 82.58% <ø> (ø)
...earch/includes/classes/class-settingshealthjob.php 34.22% <ø> (ø)
...ch/includes/classes/class-versioningcleanupjob.php 48.43% <ø> (ø)
...ncludes/classes/commands/class-documentcommand.php 0.00% <0.00%> (ø)

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