Make WordPress Core

Opened 6 years ago

Closed 6 years ago

#44315 closed defect (bug) (fixed)

PHPCS: Assignments must be the first block of code on a line

Reported by: subrataemfluence's profile subrataemfluence Owned by:
Milestone: 5.1 Priority: normal
Severity: normal Version: 5.1
Component: Users Keywords: has-patch
Focuses: coding-standards Cc:

Description

At several areas of wp-includes/user.php the coding style is not compatible with PHPCS validations using WordPress standards.

Issue: Assignments must be the first block of code on a line.

Proposed solution uploaded.

Attachments (1)

44315.diff (1.5 KB) - added by subrataemfluence 6 years ago.

Download all attachments as: .zip

Change History (6)

#1 @subrataemfluence
6 years ago

  • Keywords has-patch added; needs-patch removed

#2 @netweb
6 years ago

  • Milestone changed from Awaiting Review to 5.0

#3 @pento
6 years ago

  • Milestone changed from 5.0 to 5.1

#4 @pento
6 years ago

In 44597:

Coding Standards: Move assignments out of conditions in wp-includes/user.php.

Props subrataemfluence.
See #44315.

#5 @pento
6 years ago

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.