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

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

bluegeek9 created an issue. See original summary.

viren18febS made their first commit to this issue’s fork.

viren18febs’s picture

Status: Active » Needs review
StatusFileSize
new1.63 KB

I have added a patch with updated way for createUser() with drupal 10 , please review.
Thanks

bluegeek9’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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

bluegeek9’s picture

Updating credits.