Make WordPress Core

Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#40419 closed defect (bug) (wontfix)

WordPress Style Code

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

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 9 years ago.

Download all attachments as: .zip

Change History (4)

#1 @sebastian.pisula
9 years ago

In attachment example of changes in this file in my editor

#2 @ocean90
9 years ago

  • Milestone Awaiting Review
  • Resolution → wontfix
  • Status new → 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.


9 years ago

Note: See TracTickets for help on using tickets.