[wp-trac] [WordPress Trac] #59650: Coding Standards fixes for WP 6.5
WordPress Trac
noreply at wordpress.org
Wed Feb 14 19:26:11 UTC 2024
#59650: Coding Standards fixes for WP 6.5
--------------------------------------+-------------------------------
Reporter: hellofromTonya | Owner: (none)
Type: task (blessed) | Status: new
Priority: normal | Milestone: 6.5
Component: General | Version:
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests | Focuses: coding-standards
--------------------------------------+-------------------------------
Comment (by SergeyBiryukov):
In [changeset:"57633" 57633]:
{{{
#!CommitTicketReference repository="" revision="57633"
Coding Standards: Allow `$newlineEscape` parameter in
`WP_Text_Diff_Renderer_inline::_splitOnWords()`.
This resolves a WPCS warning:
{{{
Variable "$newlineEscape" is not in valid snake_case format, try
"$newline_escape"
}}}
The `WP_Text_Diff_Renderer_inline` class extends the
`Text_Diff_Renderer_inline` class from the `Text_Diff` package and should
have the same parameters as the parent class method, per the Task 1
section of ticket #51553.
Follow-up to [7747], [55163].
See #59650.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/59650#comment:24>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list