- Issue created by @mstrelan
- Assigned to obsidianicon
obsidian_ β changed the visibility of the branch 3432868-remove-deprecated-code to hidden.
- Assigned to mstrelan
- Status changed to Needs review
8 months ago 2:49am 22 March 2024 - Issue was unassigned.
- Status changed to Needs work
8 months ago 2:58am 22 March 2024 - π¦πΊAustralia mstrelan
I think we missed a few deprecations because I was searching for "removed from drupal:11" but there are a number of instances of "removed in drupal:11", "required in drupal:11" and "will cause an error in drupal:11". The reason I didn't search for @deprecated is because it also matched drupal:12.
Adding the following to the issue summary:
- UserRequestSubscriber::__construct
- UserController::__construct
- User::hasPermission
- PermissionHandler::__construct
- UserLoginBlock::__construct
- First commit to issue fork.
- Status changed to Needs review
7 months ago 7:58pm 22 April 2024 - Status changed to Needs work
7 months ago 9:31pm 22 April 2024 - π¬π§United Kingdom catch
One note on the MR - there's a deprecation for removal in 12.0.0 that should have been for 11.0.0 which I think we should go ahead and remove here, with a spin-off issue to fix the removal version in 10.3
- Status changed to Needs review
7 months ago 1:24am 23 April 2024 - πΊπΈUnited States smustgrave
Updated 7139 to remove that deprecation
Opened 7658 for 10.3.x to update deprecation message.
- Status changed to RTBC
7 months ago 6:17am 23 April 2024 - Status changed to Needs work
7 months ago 8:23am 23 April 2024 - π¬π§United Kingdom longwave UK
core/modules/user/src/Form/UserPasswordForm.php: @\trigger_error('Passing $userNameValidator as \Drupal\Core\TypedData\TypedDataManagerInterface to ' . __METHOD__ . ' () is deprecated in drupal:10.3.0 and is removed in drupal:10.0.0. Pass a Drupal\user\UserValidator instead. See https://www.drupal.org/node/3431205', E_USER_DEPRECATED);
This one is obviously wrong, we should fix or remove it here, but what should it be?
core/modules/user/src/UserAuth.php: @trigger_error(__METHOD__ . ' is deprecated in drupal:10.3.0 and will be removed from drupal 12.0.0. Implement \Drupal\user\UserAuthenticationInterface instead. See https://www.drupal.org/node/3411040');
This one is missing the colon in
drupal:12.0.0
, let's also fix that here. - π¬π§United Kingdom catch
The UserPasswordForm one should be removed in 11.0.0 - constructor for a form class, we can fix the deprecation message in the 10.3.x branch.
The UserAuth one - let's just fix the colon in the 10.3.x branch here too?
- First commit to issue fork.
- Status changed to Needs review
7 months ago 8:56am 23 April 2024 - Status changed to RTBC
7 months ago 1:50pm 23 April 2024 -
alexpott β
committed 1c914f2d on 11.x
Issue #3432868 by smustgrave, obsidian_, longwave, quietone, mstrelan,...
-
alexpott β
committed 1c914f2d on 11.x
-
alexpott β
committed 82bc1eed on 10.3.x
Issue #3432868 by smustgrave, obsidian_, longwave, quietone, mstrelan,...
-
alexpott β
committed 82bc1eed on 10.3.x
- Status changed to Fixed
7 months ago 1:56pm 23 April 2024 - π¬π§United Kingdom alexpott πͺπΊπ
Automatically closed - issue fixed for 2 weeks with no activity.