[wp-trac] [WordPress Trac] #52217: Fix code issues identified by PHPStan

WordPress Trac noreply at wordpress.org
Wed Nov 6 12:03:21 UTC 2024


#52217: Fix code issues identified by PHPStan
-------------------------+-------------------------------
 Reporter:  johnbillion  |       Owner:  (none)
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Future Release
Component:  General      |     Version:
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |     Focuses:  coding-standards
-------------------------+-------------------------------

Comment (by SergeyBiryukov):

 In [changeset:"59361" 59361]:
 {{{
 #!CommitTicketReference repository="" revision="59361"
 Editor: Correct the number of arguments for
 `WP_HTML_Tag_Processor::get_tag()`.

 This resolves an issue with `::get_tag()` being called in
 `WP_Block::replace_html()` with an extra argument, as the method accepts
 no arguments.

 Follow-up to [57514].

 Props justlevine, mukesh27.
 See #52217.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/52217#comment:65>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list