Skip to content

Commit 04a4b2b

Browse files
Added a project resolver to decide which project is installed. Also added a config to overwrite the type used.
- A project resolver to decide which project is installed. Also added a config to overwrite the type used. - Composer requirement which should have already been there. - Make patches independent on project type. - Files mapping to make clear which platforms the files are used for.
1 parent 6f6f9c2 commit 04a4b2b

File tree

71 files changed

+296
-22
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

71 files changed

+296
-22
lines changed

CHANGELOG.md

Lines changed: 12 additions & 0 deletions

composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
"composer-plugin-api": "^1.0 || ^2.0"
1717
},
1818
"require-dev": {
19+
"composer/composer": "@stable",
1920
"ext-simplexml": "*",
2021
"kint-php/kint": "@stable",
2122
"mikey179/vfsstream": "^1.6"
Lines changed: 100 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,100 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<project version="4">
3+
<component name="ProjectCodeStyleSettingsManager">
4+
<option name="PER_PROJECT_SETTINGS">
5+
<value>
6+
<option name="RIGHT_MARGIN" value="80" />
7+
<CssCodeStyleSettings>
8+
<option name="HEX_COLOR_LOWER_CASE" value="true" />
9+
</CssCodeStyleSettings>
10+
<PHPCodeStyleSettings>
11+
<option name="ALIGN_PHPDOC_PARAM_NAMES" value="true" />
12+
<option name="ALIGN_ASSIGNMENTS" value="true" />
13+
<option name="PHPDOC_BLANK_LINE_BEFORE_TAGS" value="true" />
14+
<option name="PHPDOC_KEEP_BLANK_LINES" value="true" />
15+
<option name="PHPDOC_BLANK_LINES_AROUND_PARAMETERS" value="true" />
16+
<option name="PHPDOC_THROWS_CALL_TREE_ANALYSIS_DEPTH" value="0" />
17+
<option name="LOWER_CASE_BOOLEAN_CONST" value="true" />
18+
<option name="LOWER_CASE_NULL_CONST" value="true" />
19+
<option name="VARIABLE_NAMING_STYLE" value="CAMEL_CASE" />
20+
<option name="BLANK_LINE_BEFORE_RETURN_STATEMENT" value="true" />
21+
<option name="KEEP_RPAREN_AND_LBRACE_ON_ONE_LINE" value="true" />
22+
<option name="FORCE_SHORT_DECLARATION_ARRAY_STYLE" value="true" />
23+
</PHPCodeStyleSettings>
24+
<XML>
25+
<option name="XML_TEXT_WRAP" value="0" />
26+
<option name="XML_LEGACY_SETTINGS_IMPORTED" value="true" />
27+
</XML>
28+
<yaml>
29+
<option name="INDENT_SEQUENCE_VALUE" value="true" />
30+
</yaml>
31+
<codeStyleSettings language="JSON">
32+
<indentOptions>
33+
<option name="INDENT_SIZE" value="2" />
34+
<option name="CONTINUATION_INDENT_SIZE" value="2" />
35+
</indentOptions>
36+
</codeStyleSettings>
37+
<codeStyleSettings language="JavaScript">
38+
<option name="LINE_COMMENT_ADD_SPACE" value="false" />
39+
<option name="KEEP_BLANK_LINES_IN_CODE" value="1" />
40+
<option name="SPECIAL_ELSE_IF_TREATMENT" value="false" />
41+
<option name="ALIGN_MULTILINE_PARAMETERS" value="false" />
42+
<option name="CALL_PARAMETERS_WRAP" value="1" />
43+
<option name="METHOD_PARAMETERS_WRAP" value="5" />
44+
<option name="METHOD_PARAMETERS_LPAREN_ON_NEXT_LINE" value="true" />
45+
<option name="METHOD_PARAMETERS_RPAREN_ON_NEXT_LINE" value="true" />
46+
<option name="ARRAY_INITIALIZER_WRAP" value="5" />
47+
<option name="ARRAY_INITIALIZER_LBRACE_ON_NEXT_LINE" value="true" />
48+
<option name="ARRAY_INITIALIZER_RBRACE_ON_NEXT_LINE" value="true" />
49+
<option name="IF_BRACE_FORCE" value="3" />
50+
<option name="DOWHILE_BRACE_FORCE" value="3" />
51+
<option name="WHILE_BRACE_FORCE" value="3" />
52+
<option name="FOR_BRACE_FORCE" value="3" />
53+
</codeStyleSettings>
54+
<codeStyleSettings language="LESS">
55+
<indentOptions>
56+
<option name="INDENT_SIZE" value="4" />
57+
</indentOptions>
58+
</codeStyleSettings>
59+
<codeStyleSettings language="PHP">
60+
<option name="LINE_COMMENT_AT_FIRST_COLUMN" value="false" />
61+
<option name="BLANK_LINES_AFTER_PACKAGE" value="1" />
62+
<option name="ALIGN_MULTILINE_PARAMETERS" value="false" />
63+
<option name="SPACE_AFTER_TYPE_CAST" value="false" />
64+
<option name="CALL_PARAMETERS_WRAP" value="1" />
65+
<option name="METHOD_PARAMETERS_WRAP" value="5" />
66+
<option name="METHOD_PARAMETERS_LPAREN_ON_NEXT_LINE" value="true" />
67+
<option name="METHOD_PARAMETERS_RPAREN_ON_NEXT_LINE" value="true" />
68+
<option name="ARRAY_INITIALIZER_WRAP" value="5" />
69+
<option name="ARRAY_INITIALIZER_LBRACE_ON_NEXT_LINE" value="true" />
70+
<option name="ARRAY_INITIALIZER_RBRACE_ON_NEXT_LINE" value="true" />
71+
<option name="IF_BRACE_FORCE" value="3" />
72+
<option name="DOWHILE_BRACE_FORCE" value="3" />
73+
<option name="WHILE_BRACE_FORCE" value="3" />
74+
<option name="FOR_BRACE_FORCE" value="3" />
75+
</codeStyleSettings>
76+
<codeStyleSettings language="SASS">
77+
<indentOptions>
78+
<option name="INDENT_SIZE" value="4" />
79+
</indentOptions>
80+
</codeStyleSettings>
81+
<codeStyleSettings language="SCSS">
82+
<indentOptions>
83+
<option name="INDENT_SIZE" value="4" />
84+
</indentOptions>
85+
</codeStyleSettings>
86+
<codeStyleSettings language="SQL">
87+
<indentOptions>
88+
<option name="INDENT_SIZE" value="4" />
89+
<option name="CONTINUATION_INDENT_SIZE" value="4" />
90+
<option name="TAB_SIZE" value="4" />
91+
</indentOptions>
92+
</codeStyleSettings>
93+
<codeStyleSettings language="XML">
94+
<option name="RIGHT_MARGIN" value="800" />
95+
</codeStyleSettings>
96+
</value>
97+
</option>
98+
<option name="USE_PER_PROJECT_SETTINGS" value="true" />
99+
</component>
100+
</project>

files/default/emptyConfig.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<project version="4">
3+
</project>
File renamed without changes.

files/fileTemplates/code/PHP Fluent Setter Method.php renamed to files/default/fileTemplates/code/PHP Fluent Setter Method.php

File renamed without changes.
File renamed without changes.

files/fileTemplates/code/PHP Implemented Method Body.php renamed to files/default/fileTemplates/code/PHP Implemented Method Body.php

File renamed without changes.

files/fileTemplates/code/PHP Overridden Method Body.php renamed to files/default/fileTemplates/code/PHP Overridden Method Body.php

File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)