[wp-trac] [WordPress Trac] #56021: Rename or deprecate assertDiscardWhitespace()

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


#56021: Rename or deprecate assertDiscardWhitespace()
------------------------------+---------------------
 Reporter:  SergeyBiryukov    |       Owner:  (none)
     Type:  enhancement       |      Status:  new
 Priority:  normal            |   Milestone:  6.1
Component:  Build/Test Tools  |     Version:
 Severity:  normal            |  Resolution:
 Keywords:                    |     Focuses:
------------------------------+---------------------

Comment (by swissspidy):

 > While it is possible that plugins may use the method in their tests,
 searching in the directory shows zero results.

 Plugins shouldn't ship with test files, so I'd say this is expected.

 GitHub Code Search returns a few results:

 https://github.com/search?q=assertDiscardWhitespace&type=code
 https://cs.github.com/?q=assertDiscardWhitespace

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


More information about the wp-trac mailing list