Make WordPress Core

Opened 2 years ago

Closed 2 years ago

#62183 closed defect (bug) (fixed)

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

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

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 2 years ago.
This patch contain some of the doc comment for the parameter.

Download all attachments as: .zip

Change History (6)

@parthvataliya
2 years ago

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

#1 @SergeyBiryukov
2 years ago

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

#2 @SergeyBiryukov
2 years ago

In 59200:

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

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

Props parthvataliya.
See #62183.

#3 @SergeyBiryukov
2 years 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
2 years ago

In 59218:

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

Follow-up to [43808].

Props parthvataliya.
See #62183.

#5 @SergeyBiryukov
2 years ago

  • Resolution → fixed
  • Status reviewing → 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.