Make WordPress Core

Changeset 54049


Ignore:
Timestamp:
09/01/2022 04:03:08 PM (2 years ago)
Author:
SergeyBiryukov
Message:

Tests: Remove @covers tags for native PHP functions in phpunit/tests/compat/.

As these are not user-defined functions, they cause notices when generating the code coverage report:

"@covers ::array_key_first" is invalid
"@covers ::array_key_last" is invalid
"@covers ::hash_hmac" is invalid
"@covers ::is_countable" is invalid
"@covers ::is_iterable" is invalid
"@covers ::mb_strlen" is invalid
"@covers ::mb_substr" is invalid
"@covers ::str_contains" is invalid
"@covers ::str_ends_with" is invalid
"@covers ::str_starts_with" is invalid

Follow-up to [51852], [52038], [52039], [52040].

See #39265, #55652.

Location:
trunk/tests/phpunit/tests/compat
Files:
10 edited

Legend:

Unmodified
Added
Removed
Note: See TracChangeset for help on using the changeset viewer.