[PHP 8.2] Creation of dynamic property JqueryUpdateTestCase::$full_admin is deprecated

Created on 7 January 2023, almost 2 years ago
Updated 23 January 2023, almost 2 years ago

Problem/Motivation

There is a dynamic property declaration in the JqueryUpdateTestCase causing a deprecation message on PHP 8.2:

exception: [Deprecated] Line 188 of sites/all/modules/jquery_update/tests/jquery_update.test:
Creation of dynamic property JqueryUpdateTestCase::$full_admin is deprecated

See: https://www.drupal.org/pift-ci-job/2562030 β†’

Steps to reproduce

Run tests on PHP 8.2

Proposed resolution

Declare the property.

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Closed: duplicate

Version

4.0

Component

Code

Created by

πŸ‡ΈπŸ‡°Slovakia poker10

Live updates comments and jobs are added and updated live.
  • PHP 8.2

    The issue particularly affects sites running on PHP version 8.2.0 or later.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024