Problem/Motivation

  • Fix an error to support 8.1
    • Calling static trait method is deprecated, it should only be called on a class using the trait:
      • Drupal\cloud\Traits\CloudContentEntityTrait::convertUnderscoreToWhitespace

Issue fork cloud-3294427

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

yas created an issue. See original summary.

yas’s picture

Title: Fix an error to support 8.1: Calling static trait method is deprecated (Drupal\cloud\Traits\CloudContentEntityTrait::convertUnderscoreToWhitespace) » Fix an error to support PHP 8.1: Calling static trait method is deprecated (Drupal\cloud\Traits\CloudContentEntityTrait::convertUnderscoreToWhitespace)
Status: Needs work » Reviewed & tested by the community

@all

The tests have been passed successfully, so I'll merge the patch to 4.x and 5.x, and close this issue as Fixed.

  • yas committed a634b45 on 5.x
    Issue #3294427 by yas: Fix an error to support PHP 8.1: Calling static...

  • yas committed b8820d8 on 4.x
    Issue #3294427 by yas: Fix an error to support PHP 8.1: Calling static...
yas’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

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