Make WordPress Core

Opened 6 weeks ago

Closed 5 weeks ago

Last modified 5 weeks ago

#62648 closed defect (bug) (fixed)

Twenty Twenty-Two: Fixed PHPCS issues.

Reported by: pitamdey's profile pitamdey Owned by: sergeybiryukov's profile SergeyBiryukov
Milestone: 6.8 Priority: normal
Severity: normal Version:
Component: Bundled Theme Keywords: has-patch commit
Focuses: coding-standards Cc:

Description

Resolved PHPCS (PHP CodeSniffer) violations in the Twenty Twenty-Two theme to improve code quality and adhere to coding standards.

Warning in function.php file as shown below:

  • There must be exactly one blank line after the file comment
  • Inline comments must end in full stops, exclamation marks, or question marks

Attachments (1)

phpcsfixes.patch (577 bytes) - added by pitamdey 6 weeks ago.
Patch for this issue

Download all attachments as: .zip

Change History (7)

@pitamdey
6 weeks ago

Patch for this issue

#1 @SergeyBiryukov
6 weeks ago

  • Milestone changed from Awaiting Review to 6.8

#3 @mukesh27
6 weeks ago

  • Keywords commit added

These one ready to go.

@mukesh27 commented on PR #7981:


6 weeks ago
#4

Props to @pitamdey

#5 @SergeyBiryukov
5 weeks ago

  • Owner set to SergeyBiryukov
  • Resolution set to fixed
  • Status changed from new to closed

In 59504:

Twenty Twenty-Two: Fix PHPCS issues in functions.php.

  • Inline comments must end in full stops, exclamation marks, or question marks.
  • There must be exactly one blank line after the file comment.

Follow-up to [52081].

Props pitamdey, mukesh27.
Fixes #62648.

@SergeyBiryukov commented on PR #7981:


5 weeks ago
#6

Thanks for the PR! Merged in r59504.

Note: See TracTickets for help on using tickets.