diff --git a/misc/others/phpstorm-codestyles/Piwik_codestyle.xml b/misc/phpstorm-codestyles/Piwik_codestyle.xml similarity index 100% rename from misc/others/phpstorm-codestyles/Piwik_codestyle.xml rename to misc/phpstorm-codestyles/Piwik_codestyle.xml diff --git a/misc/others/phpstorm-codestyles/README.md b/misc/phpstorm-codestyles/README.md similarity index 71% rename from misc/others/phpstorm-codestyles/README.md rename to misc/phpstorm-codestyles/README.md index ce4f8e94bbdfa8a4d72ecc8d4561cf2771036e02..0dc88684404cd1ee9ae1b8d843c9f03b9a389f11 100644 --- a/misc/others/phpstorm-codestyles/README.md +++ b/misc/phpstorm-codestyles/README.md @@ -5,13 +5,13 @@ Piwik uses PSR coding standard for php source code. We use a slightly customized Steps: * Use latest Phpstorm - * Copy this Piwik_codestyle.xml file in your ~/.WebIde60/config/codestyles/ + * Copy this Piwik_codestyle.xml file in your `~/.WebIde80/config/codestyles/` * If you use Windows or Mac see which path to copy at: http://intellij-support.jetbrains.com/entries/23358108 * To automatically link to the file in Piwik: - `$ ln -s ~/dev/piwik-master/misc/others/phpstorm-codestyles/Piwik_codestyle.xml ~/.WebIde70/config/codestyles/Piwik_codestyle.xml` + `$ ln -s ~/dev/piwik-master/misc/phpstorm-codestyles/Piwik_codestyle.xml ~/.WebIde80/config/codestyles/Piwik_codestyle.xml` - * Restart PhpStorm. - * Select this coding in Settings>Code style. + * Restart PhpStorm + * Select this coding in Settings > Code style. Phpstorm can also be configured to apply the style automatically before commit.