[wp-trac] [WordPress Trac] #59069: Fix test @covers annotation to refer to use recommended pattern for function names
WordPress Trac
noreply at wordpress.org
Fri Aug 11 08:15:11 UTC 2023
#59069: Fix test @covers annotation to refer to use recommended pattern for
function names
------------------------------+-----------------------------
Reporter: ayeshrajans | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version:
Severity: trivial | Keywords: has-patch
Focuses: coding-standards |
------------------------------+-----------------------------
PHPUnit `@covers` annotations recommend declaring the function names with
a `::` prefix. We already do so for a lot of functions, but this found two
instances that were missing the prefix.
https://docs.phpunit.de/en/10.0/code-coverage.html#code-coverage-
specifying-covered-parts
--
Ticket URL: <https://core.trac.wordpress.org/ticket/59069>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list