Migrated to WordPress coding standard for php and added editorconfig.