createUser() deprecated

Created on 18 January 2024, 10 months ago
Updated 19 January 2024, 10 months ago

Problem/Motivation

  4x: Calling createUser() with $permissions as the second parameter is deprecated in drupal:10.1.0 and will be removed from drupal:11.0.0. Use createUser(array $permissions = [], $name = NULL, $admin = FALSE, array $values = []) instead. See https://www.drupal.org/node/3330762
    2x in ModerationNoteEntityTest::testAccess from Drupal\Tests\moderation_note\Kernel
    1x in ModerationNoteEntityTest::testModeratedEntity from Drupal\Tests\moderation_note\Kernel
    1x in ModerationNoteEntityTest::testParentNote from Drupal\Tests\moderation_note\Kernel

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

📌 Task
Status

Active

Version

1.0

Component

Code

Created by

🇺🇸United States bluegeek9

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