Opened 7 years ago
Closed 6 years ago
#44453 closed defect (bug) (duplicate)
PHPDoc comments do not contain all necessary @throws tags
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | Priority: | normal | |
| Severity: | normal | Version: | 5.1 |
| Component: | General | Keywords: | |
| Focuses: | docs, coding-standards | Cc: |
Description
Files:
/wp-includes/functions.php /wp-includes/spl-autoload-compat.php
There are more files having this issue but I am not sure if they are extensively maintained by WordPress core team itself. One example is files inside pomo directory. So I did not consider them.
Please find attached proposed patch.
Attachments (1)
Change History (3)
#1
@
7 years ago
- Milestone changed from Awaiting Review to Future Release
You are correct @subrataemfluence, there has not been much usage of @throws historically, it is also not documented in the handbook.
A little more research and some documentation is probably required in order before landing this.
Note: See
TracTickets for help on using
tickets.
Proposed patch