Add PHP settings

Signed-off-by: Severin Kaderli <severin@kaderli.dev>
This commit is contained in:
Severin Kaderli 2019-06-19 13:51:17 +02:00
parent 195de4363e
commit c618940012
Signed by: severinkaderli
GPG key ID: F419F8835B72F0C4
4 changed files with 46 additions and 2 deletions

10
.gitignore vendored
View file

@ -22,10 +22,18 @@ system/.config/i3/config
system/.config/gtk-2.0/gtkfilechooser.ini system/.config/gtk-2.0/gtkfilechooser.ini
# PhpStorm Configuration # PhpStorm Configuration
system/.config/phpstorm/config/port.lock
system/.config/phpstorm/config/port
system/.config/phpstorm/config/tasks
system/.config/phpstorm/config/plugins
system/.config/phpstorm/system
system/.config/phpstorm/config/phpstorm.key
system/.config/phpstorm/config/options/dimensions.xml system/.config/phpstorm/config/options/dimensions.xml
system/.config/phpstorm/config/options/debugger.xml system/.config/phpstorm/config/options/debugger.xml
system/.config/phpstorm/config/options/images.support.xml system/.config/phpstorm/config/options/images.support.xml
system/.config/phpstorm/config/options/other.xml system/.config/phpstorm/config/options/other.xml
system/.config/phpstorm/config/options/project.default.xml system/.config/phpstorm/config/options/project.default.xml
system/.config/phpstorm/config/options/updates.xml system/.config/phpstorm/config/options/updates.xml
system/.config/phpstorm/config/options/usage.statistics.xml system/.config/phpstorm/config/options/usage.statistics.xml
system/.config/phpstorm/config/options/recentProjectDirectories.xml
system/.config/phpstorm/config/options/window.manager.xml

View file

@ -1 +1,24 @@
<code_scheme name="Default" version="173" /> <code_scheme name="Default" version="173">
<PHPCodeStyleSettings>
<option name="LOWER_CASE_BOOLEAN_CONST" value="true" />
<option name="LOWER_CASE_NULL_CONST" value="true" />
<option name="ELSE_IF_STYLE" value="COMBINE" />
<option name="KEEP_RPAREN_AND_LBRACE_ON_ONE_LINE" value="true" />
<option name="FORCE_SHORT_DECLARATION_ARRAY_STYLE" value="true" />
</PHPCodeStyleSettings>
<codeStyleSettings language="PHP">
<option name="BLANK_LINES_AFTER_PACKAGE" value="1" />
<option name="ALIGN_MULTILINE_PARAMETERS" value="false" />
<option name="CALL_PARAMETERS_WRAP" value="1" />
<option name="METHOD_PARAMETERS_WRAP" value="5" />
<option name="METHOD_PARAMETERS_LPAREN_ON_NEXT_LINE" value="true" />
<option name="METHOD_PARAMETERS_RPAREN_ON_NEXT_LINE" value="true" />
<option name="ARRAY_INITIALIZER_WRAP" value="5" />
<option name="ARRAY_INITIALIZER_LBRACE_ON_NEXT_LINE" value="true" />
<option name="ARRAY_INITIALIZER_RBRACE_ON_NEXT_LINE" value="true" />
<option name="IF_BRACE_FORCE" value="3" />
<option name="DOWHILE_BRACE_FORCE" value="3" />
<option name="WHILE_BRACE_FORCE" value="3" />
<option name="FOR_BRACE_FORCE" value="3" />
</codeStyleSettings>
</code_scheme>

View file

@ -0,0 +1,5 @@
<application>
<component name="GeneralSettings">
<option name="showTipsOnStartup" value="false" />
</component>
</application>

View file

@ -0,0 +1,8 @@
<application>
<component name="MessDetector">
<phpmd_settings_migrated />
</component>
<component name="PhpCodeSniffer">
<phpcs_settings_migrated />
</component>
</application>