Problem/Motivation

\Drupal\views_test_config\Hook\ViewsTestConfigHooks::viewLoad() causes deprecations on PHP 8.5

Steps to reproduce

Run Drupal\Tests\views\Kernel\ThirdPartyUninstallTest triggers it this deprecation on PHP 8.5 (amongst others)

Proposed resolution

Use an empty string as the default value for the state get.

Remaining tasks

None

User interface changes

None

Introduced terminology

N/a

API changes

None

Data model changes

none

Release notes snippet

N/a

Issue fork drupal-3557056

Command icon 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

alexpott created an issue. See original summary.

alexpott’s picture

Status: Active » Needs review
andypost’s picture

Status: Needs review » Reviewed & tested by the community

Thank you, missing default value is the cause

  • longwave committed 88aa6a2c on 11.3.x
    Issue #3557056 by alexpott, andypost: Fix \Drupal\views_test_config\Hook...

  • longwave committed 4efb8f5d on 11.x
    Issue #3557056 by alexpott, andypost: Fix \Drupal\views_test_config\Hook...
longwave’s picture

Status: Reviewed & tested by the community » Fixed

Committed to 11.x and 11.3.x, thanks!

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.