jjgrainger / PostTypes

Simple WordPress custom post types.
https://posttypes.jjgrainger.co.uk/
MIT License
373 stars 47 forks source link

WP Coding standards #42

Closed noplanman closed 4 years ago

noplanman commented 5 years ago

Not really a bug, but shouldn't the whole PHP code follow strict WP Coding Standards too?

@jjgrainger Obviously feel free to just close this off if you prefer to keep your style, this is more of a suggestion, as it's a pure WordPress project.

jjgrainger commented 4 years ago

Thanks for the issue.

I chose to go with the PSR-2 standards to keep this project inline with modern PHP practices.

Based on the reactions from others, I think we'll keep this code style for now.

Thanks again :)