Closed (fixed)
Project:
Drupal core
Version:
11.x-dev
Component:
phpunit
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
5 May 2023 at 10:25 UTC
Updated:
7 Jul 2023 at 05:29 UTC
Jump to comment: Most recent
Maybe we could limit to deprecating the use of the magic __gets introduced by the parent (i.e. stop allowing accessing the property directly)...
@mondrake in #3358186-5: [META] Deprecate non-static random generation methods from RandomGeneratorTrait
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
Comment #3
spokjeComment #4
mondrakeWe have the same in BrowserTestBase and KernelTestBase... wouldn't it make sense to have a single issue for them all? Some comment inline in the MR, and I think we should have deprecation tests here.
Comment #5
spokjeComment #6
spokjeThanks @mondrake, missed the other two occurrences, and was thinking/hoping we're past deprecation tests.
Comment #7
mondrakeAlmost there IMHO, see comments inline
Comment #8
spokjeThanks @mondrake, it _was_ a long time ago (just before 10.0.0 was released) when I could write decent deprecation tests in the first attempt...
Comment #9
mondrakeComment #10
mondrakelooks good 👍
Comment #13
longwaveUpdated the deprecation message from 10.1.0 to 10.2.0 on commit. Will update and publish the CR.
Committed and pushed c3a57ec48b to 11.x (10.2.x). Thanks!