Make WordPress Core

Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#40419 closed defect (bug) (wontfix)

WordPress Style Code

Reported by: sebastianpisula's profile sebastian.pisula Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: General Keywords:
Focuses: Cc:

Description

I'm use PHPStorm and I have PHP Style format set to WordPress style.

During reformat code I have long list of changes. For example: wp-includes/formatting.php

Attachments (1)

40419.patch (160.5 KB) - added by sebastian.pisula 6 years ago.

Download all attachments as: .zip

Change History (4)

#1 @sebastian.pisula
6 years ago

In attachment example of changes in this file in my editor

#2 @ocean90
6 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to wontfix
  • Status changed from new to closed

Thanks for the patch but WordPress generally discourages code refactoring just for the sake of formatting cleanup. Coding style fixes should be a result of more substantial changes: https://make.wordpress.org/core/handbook/contribute/code-refactoring/.

This ticket was mentioned in Slack in #core by alkesh.solwin. View the logs.


6 years ago

Note: See TracTickets for help on using tickets.