Drupal\Component\Uuid\Php should not be called statically

Created on 31 July 2025, 24 days ago

Problem/Motivation

      $uuid = Php::generate();

This should not be called statically.

This is a service and should be obtained from the container:

  uuid:
    class: Drupal\Component\Uuid\Php

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

3.0

Component

Code

Created by

🇬🇧United Kingdom joachim

Live updates comments and jobs are added and updated live.
  • Novice

    It would make a good project for someone who is new to the Drupal contribution process. It's preferred over Newbie.

Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024