Problem/Motivation
To fix simple cleanups where we were declaring null return types which is against the standard but still accurate docs.
As requested in #2722647-59: [Meta] Fix Drupal.Commenting.FunctionComment.InvalidNoReturn
Steps to reproduce
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
Release notes snippet
| Comment | File | Size | Author |
|---|
Issue fork drupal-3387950
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
Comment #2
quietone commentedComment #4
quietone commentedComment #5
smustgrave commentedSimple cleanup
Searched for return Null and also found DrupalKernelTest but since that's a test assuming it doesn't count.
+1
Comment #6
xjmActually, I would include #5 and any other instances we can identify in the scope. Thanks!
Comment #8
ashley_herodev commentedOps, my IDE messed with Drupal's code standards, I will try to fix it
Comment #9
ashley_herodev commentedHiding old patch for clarity
Comment #10
smustgrave commentedThanks left comment on MR.
Comment #11
xjmSetting back to NR -- I think it is out of scope to remove the additional documentation about the methods being no-ops. The methods don't make any sense without that information. 🙂
Pipeline failure looks to be a random:
Comment #12
smustgrave commentedSounds good @xjm.
Comment #13
longwaveCommitted and pushed 8d14c6d9ad to 11.x and 15f7124382 to 10.2.x and 8b18a246b6 to 10.1.x. Thanks!