mb_strtolower passing null to parameter ($string) of type string

Running the PHPUnit Functional test with php8.1

Either we can use null coalescing operator to avoid these kind of deprecations or we can use strictly typed parameters

Drupal version: 9.4.x || 9.5.x
PhpUnit: 9.5.21
PHP: 8.1

The test cases aren't failing we have encountered only with the deprecations warnings of NULL parameter

CommentFileSizeAuthor
Screenshot 2022-08-04 at 10.17.22 AM.png832.24 KBankitv18

Issue fork drupal-3301692

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

ankitv18 created an issue. See original summary.

ankitv18’s picture

Issue summary: View changes
ankitv18’s picture

Assigned: ankitv18 » Unassigned
Status: Active » Needs review

Version: 9.5.x-dev » 10.1.x-dev

Drupal 9.5.0-beta2 and Drupal 10.0.0-beta2 were released on September 29, 2022, which means new developments and disruptive changes should now be targeted for the 10.1.x-dev branch. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

jungle’s picture

smustgrave’s picture

Status: Needs review » Closed (duplicate)

Closing this one as a duplicate of the other since they are tracking down what is calling the mb_strtolower will move over credit.

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