[wp-trac] [WordPress Trac] #60513: trivial: using 'double asterisks (/**)' instead of 'single asterisk (/*)' for 'MockAction' class in 'tests/phpunit/includes/utils.php' looks better to me
WordPress Trac
noreply at wordpress.org
Mon Feb 12 17:34:29 UTC 2024
#60513: trivial: using 'double asterisks (/**)' instead of 'single asterisk (/*)'
for 'MockAction' class in 'tests/phpunit/includes/utils.php' looks better
to me
------------------------------------+-----------------------------
Reporter: hztyfoon | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: trunk
Severity: trivial | Keywords:
Focuses: docs, coding-standards |
------------------------------------+-----------------------------
Looks to me,
In here https://github.com/WordPress/wordpress-
develop/blob/4fe09a2df/tests/phpunit/includes/utils.php#L52 for the code
doc of 'MockAction' class instead of using single asterisk (`/*`) for the
beginning of that code doc, we should use double asterisks (`/**`).
This will be consistent with other docs for class & also will be better
for visibility/highlighting of the comment `@since UT (3.7.0)` in popular
code editors like 'VS Code','PhpStorm' etc.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/60513>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list