Closed (duplicate)
Project:
Drupal core
Version:
9.1.x-dev
Component:
text.module
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
14 Aug 2020 at 04:41 UTC
Updated:
16 Oct 2020 at 20:52 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
siddhant.bhosale commentedHi, I have uploaded the patch, Please review.
Comment #3
siddhant.bhosale commentedComment #4
shetpooja04 commentedPatch is applying successfully.
Used the below command which is not returning any warning or error. Moving to RTBC
phpcs --standard=DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml core/modules/textComment #6
mohit.bansal623 commentedComment #7
anmolgoyal74 commentedUnrelated failure. Marking back to RTBC.
Comment #8
xjmThank you for your work on cleaning up Drupal core's code style!
In order to fix core coding standards in a maintainable way, all our coding standards issues should be done on a per-concept basis across all of core, rather than fixing standards in individual modules or files. See #3145418: [November 9, 2020] Remove uses of t() in assertText() calls for an example of proper issue scope.
For background information on why we usually will not commit coding standards fixes that aren't scoped in that way, see the core issue scope guidelines, especially the note about coding standards cleanups. That document also includes numerous suggestions for scoping issues including documentation coding standards cleanups.
Contributing to the overall plan above will help ensure that your fixes for core's coding standards remain in core the long term.
Closing as a duplicate of #3145418: [November 9, 2020] Remove uses of t() in assertText() calls and appropriate conceptually scoped followups.