#43203 closed defect (bug) (fixed)
Fix PHPUnit problems regarding @covers and @use
Reported by: | jipmoors | Owned by: | SergeyBiryukov |
---|---|---|---|
Milestone: | 5.1 | Priority: | normal |
Severity: | normal | Version: | 5.1 |
Component: | Build/Test Tools | Keywords: | |
Focuses: | docs, coding-standards | Cc: |
Description
While trying to get an insight in the Tests that are implemented in WordPress, we came across some malformed @covers and @use statements.
This patch fixes these small problems.
Functions in the global namespace should be prefixed with ::
for PHPUnit to understand they are global. This is not very well documented, but has been used in the codebase already on other tests.
Attachments (1)
Change History (4)
Note: See
TracTickets for help on using
tickets.
In 42636: