[wp-trac] [WordPress Trac] #54029: Rename WordPress native expectDeprecated() and @ExpectedDeprecated to avoid confusion with PHPUnit native expectDeprecation and for future-proofing

WordPress Trac noreply at wordpress.org
Mon Jun 20 18:16:15 UTC 2022


#54029: Rename WordPress native expectDeprecated() and @ExpectedDeprecated to avoid
confusion with PHPUnit native expectDeprecation and for future-proofing
------------------------------+------------------------------
 Reporter:  hellofromTonya    |       Owner:  (none)
     Type:  task (blessed)    |      Status:  new
 Priority:  normal            |   Milestone:  Awaiting Review
Component:  Build/Test Tools  |     Version:
 Severity:  normal            |  Resolution:
 Keywords:                    |     Focuses:
------------------------------+------------------------------

Comment (by SergeyBiryukov):

 Replying to [comment:2 SergeyBiryukov]:
 > On a slightly related note, I think `assertDiscardWhitespace()` should
 be renamed to `assertEqualsDiscardWhitespace()`, for consistency with
 `assertEqualsIgnoreEOL()`, but that's something for another ticket.

 Follow-up: #56021

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


More information about the wp-trac mailing list