Make WordPress Core

Opened 9 months ago

Closed 8 months ago

#62183 closed defect (bug) (fixed)

Bundled themes: PHPCS "doc comment for parameter is missing"

Reported by: parthvataliya's profile parthvataliya Owned by: sergeybiryukov's profile SergeyBiryukov
Milestone: 6.7 Priority: normal
Severity: normal Version:
Component: Bundled Theme Keywords:
Focuses: coding-standards Cc:

Description

This ticket is created to serve as the base for resolving the phpcs error such as
"Doc comment for parameter is missing" for the whole codebase.

Command to check for this Error :-

phpcs --standard=WordPress --extensions=php file_path

Attachments (1)

62183.patch (2.5 KB) - added by parthvataliya 9 months ago.
This patch contain some of the doc comment for the parameter.

Download all attachments as: .zip

Change History (6)

@parthvataliya
9 months ago

This patch contain some of the doc comment for the parameter.

#1 @SergeyBiryukov
9 months ago

  • Milestone changed from Awaiting Review to 6.7
  • Owner set to SergeyBiryukov
  • Status changed from new to reviewing

#2 @SergeyBiryukov
9 months ago

In 59200:

Twenty Eleven: Document the $instance parameter in Ephemera widget form.

Follow-up to [17669], [25625].

Props parthvataliya.
See #62183.

#3 @SergeyBiryukov
9 months ago

In 59210:

Twenty Fourteen: Document the $args parameter in Featured_Content::hide_featured_term().

Follow-up to [25808], [26556], [28536].

Props parthvataliya.
See #62183.

#4 @SergeyBiryukov
8 months ago

In 59218:

Twenty Nineteen: Document the $defaults parameter in twentynineteen_comment_form_defaults().

Follow-up to [43808].

Props parthvataliya.
See #62183.

#5 @SergeyBiryukov
8 months ago

  • Resolution set to fixed
  • Status changed from reviewing to closed

In 59219:

Twenty Ten: Document the $css parameter in twentyten_remove_gallery_css().

Follow-up to [13012], [13128], [13157], [13552], [13885], [13886].

Props parthvataliya.
Fixes #62183.

Note: See TracTickets for help on using tickets.