Closed (works as designed)
Project:
Drupal core
Version:
9.1.x-dev
Component:
base system
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
29 Mar 2020 at 04:08 UTC
Updated:
21 Jul 2020 at 12:32 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #3
codersukanta commentedComment #4
codersukanta commentedComment #5
hardik_patel_12 commentedThanks for working on this.
It's not just replacing \Drupal::pathValidator() with \Drupal::service('path.validator') , but
It's to replace \Drupal::pathValidator() and \Drupal::service('path.validator') with IoC injection where possible.
Kindly see the Parent issue for more info.
Comment #6
hardik_patel_12 commentedSeems nothing to do.
Comment #7
junglePer the parent issue, rescoping this to do it for non-test code. Sorry for the change!
Comment #8
jungleIt kooks like that only in scope one is in
core/lib/Drupal/Core/Url.php, but it's inprotected static function fromInternalUri()To me, there is nothing to do. Thanks all for your efforts!