WP-Benchmark icon indicating copy to clipboard operation
WP-Benchmark copied to clipboard

Update code style ala WordPress

Open mpeshev opened this issue 12 years ago • 2 comments
trafficstars

The plugin is great, but the styling doesn't comply with the WordPress coding conventions. Any way we can bring it closer for improved readability?

mpeshev avatar Sep 06 '13 23:09 mpeshev

Its they way I have been writing PHP for over 6 years, kinda stuck now. Eg. Brackets on new lines, etc... Which I actually think is more readable than WordPress standards.

The biggest issue is I have my IDE setup for formatting to my style. But I understand your request being that it is WordPress coding standard.

topdown avatar Sep 06 '13 23:09 topdown

I understand the background story, not to mention that some languages (.NET platform ones and some C/C++ conventions) claim to use it. I'm more of a Java-convention person and try to keep some structure but either way the feedback is appreciated (I might also try to propose some filters or other small updates and checking with initial PRs today).

mpeshev avatar Sep 06 '13 23:09 mpeshev