#43203 closed defect (bug) (fixed)
Fix PHPUnit problems regarding @covers and @use
| Reported by: | jipmoors | Owned by: | SergeyBiryukov |
|---|---|---|---|
| Priority: | normal | Milestone: | 5.1 |
| Component: | Build/Test Tools | Version: | 5.1 |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: | docs, coding-standards |
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
In 42636: