Skip to content

Commit

Permalink
Add use statement
Browse files Browse the repository at this point in the history
  • Loading branch information
bbrala committed Sep 21, 2023
1 parent a70c1c2 commit 38544b6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions fixtures/d9/rector_examples_updated/user_functions.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<?php

use Drupal\Component\Utility\DeprecationHelper;
function user_functions() {
// user_password().
$password = DeprecationHelper::backwardsCompatibleCall(\Drupal::VERSION, '9.1.0', fn() => user_password(), fn() => \Drupal::service('password_generator')->generate());
Expand Down

0 comments on commit 38544b6

Please sign in to comment.