Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authormattab <matthieu.aubry@gmail.com>2016-01-18 07:22:03 +0300
committermattab <matthieu.aubry@gmail.com>2016-01-18 07:22:03 +0300
commitefcb49209cb70688d52aa9933ffa6c0bbf34db99 (patch)
treeb8a379ce645908f8d4750a6b239ac5b13fadc3dc /misc
parent0c1a4387770458fbb138fab91585e7e7719c3b0c (diff)
Fixes https://github.com/piwik/piwik/issues/8211
Diffstat (limited to 'misc')
-rw-r--r--misc/phpstorm-codestyles/Piwik_codestyle.xml34
-rw-r--r--misc/phpstorm-codestyles/README.md21
2 files changed, 0 insertions, 55 deletions
diff --git a/misc/phpstorm-codestyles/Piwik_codestyle.xml b/misc/phpstorm-codestyles/Piwik_codestyle.xml
deleted file mode 100644
index e863de94cd..0000000000
--- a/misc/phpstorm-codestyles/Piwik_codestyle.xml
+++ /dev/null
@@ -1,34 +0,0 @@
-<code_scheme name="Piwik-codestyle">
- <option name="LINE_SEPARATOR" value="&#10;" />
- <option name="RIGHT_MARGIN" value="160" />
- <PHPCodeStyleSettings>
- <option name="ALIGN_KEY_VALUE_PAIRS" value="true" />
- <option name="LOWER_CASE_BOOLEAN_CONST" value="true" />
- <option name="LOWER_CASE_NULL_CONST" value="true" />
- </PHPCodeStyleSettings>
- <XML>
- <option name="XML_LEGACY_SETTINGS_IMPORTED" value="true" />
- </XML>
- <codeStyleSettings language="JavaScript">
- <option name="ALIGN_MULTILINE_PARAMETERS" value="false" />
- <option name="KEEP_SIMPLE_BLOCKS_IN_ONE_LINE" value="true" />
- <option name="KEEP_SIMPLE_METHODS_IN_ONE_LINE" value="true" />
- </codeStyleSettings>
- <codeStyleSettings language="LESS">
- <indentOptions>
- <option name="INDENT_SIZE" value="4" />
- </indentOptions>
- </codeStyleSettings>
- <codeStyleSettings language="PHP">
- <option name="BLANK_LINES_AFTER_PACKAGE" value="1" />
- <option name="ALIGN_MULTILINE_ARRAY_INITIALIZER_EXPRESSION" value="true" />
- <arrangement>
- <groups>
- <group>
- <type>DEPENDENT_METHODS</type>
- <order>BREADTH_FIRST</order>
- </group>
- </groups>
- </arrangement>
- </codeStyleSettings>
-</code_scheme> \ No newline at end of file
diff --git a/misc/phpstorm-codestyles/README.md b/misc/phpstorm-codestyles/README.md
deleted file mode 100644
index 020f5d1cc8..0000000000
--- a/misc/phpstorm-codestyles/README.md
+++ /dev/null
@@ -1,21 +0,0 @@
-Phpstorm has an awesome feature called "Reformat code" which reformats all PHP code to follow a particular selected coding style.
-
-Piwik uses PSR coding standard for php source code. We use a slightly customized PSR style
-(because the default PSR style in Phpstorm results in some unwanted changes).
-
-Steps:
- * Use latest Phpstorm
- * 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/phpstorm-codestyles/Piwik_codestyle.xml ~/.WebIde80/config/codestyles/Piwik_codestyle.xml`
-
- * Restart PhpStorm
- * Select this coding in Settings > Code style.
-
-Phpstorm can also be configured to apply the style automatically before commit.
-
-You are now writing code that respects Piwik coding standards. Enjoy!
-
-Reference: [Piwik Coding standards](http://developer.piwik.org/guides/contributing-to-piwik-core#piwik-core-code-standards)
-