[wp-trac] [WordPress Trac] #64898: PHPStan code quality improvements for 7.1

WordPress Trac noreply at wordpress.org
Fri Mar 27 22:18:31 UTC 2026


#64898: PHPStan code quality improvements for 7.1
----------------------------+-------------------------------
 Reporter:  desrosj         |       Owner:  (none)
     Type:  task (blessed)  |      Status:  new
 Priority:  normal          |   Milestone:  7.1
Component:  General         |     Version:
 Severity:  normal          |  Resolution:
 Keywords:  has-patch       |     Focuses:  coding-standards
----------------------------+-------------------------------

Comment (by SergeyBiryukov):

 In [changeset:"62167" 62167]:
 {{{
 #!CommitTicketReference repository="" revision="62167"
 Code Quality: Unwrap `sprintf()` with one argument.

 This removes unnecessary uses of the `sprintf()` function when localizing
 or outputting static strings. These changes simplify the code and improve
 readability without affecting functionality.

 Props Soean.
 See #64898.
 }}}

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


More information about the wp-trac mailing list