PhpStorm now bundles WordPress coding style natively, starting from version 8.
- Go to
Project Settings
>Code Style
>PHP
. - Select
Set From...
(top right of window) >Predefined Style
>WordPress
.
No longer need to muck with this import! :)
Git mirror:
git clone https://github.com/WordPress/WordPress.git
Creating a patch:
git diff --no-prefix > ~/12345.patch