Skip to content

Commit d205eee

Browse files
authored
Added import FCQN rule (#16)
1 parent 5517a77 commit d205eee

File tree

5 files changed

+15
-0
lines changed

5 files changed

+15
-0
lines changed

src/lib/PhpCsFixer/Sets/AbstractIbexaRuleSet.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,9 @@ public function getRules(): array
198198
'visibility_required' => true,
199199
'whitespace_after_comma_in_array' => true,
200200
'yoda_style' => false,
201+
'fully_qualified_strict_types' => [
202+
'import_symbols' => true,
203+
],
201204
];
202205
}
203206

tests/lib/PhpCsFixer/Sets/expected_rules/4_6_rule_set/local_rules.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,4 +195,7 @@
195195
'whitespace_after_comma_in_array' => true,
196196
'yoda_style' => false,
197197
'Ibexa/multiline_parameters' => true,
198+
'fully_qualified_strict_types' => [
199+
'import_symbols' => true,
200+
],
198201
];

tests/lib/PhpCsFixer/Sets/expected_rules/4_6_rule_set/php_cs_fixer_rules.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,4 +179,7 @@
179179
'no_unneeded_curly_braces' => true,
180180
'single_blank_line_before_namespace' => true,
181181
'Ibexa/multiline_parameters' => true,
182+
'fully_qualified_strict_types' => [
183+
'import_symbols' => true,
184+
],
182185
];

tests/lib/PhpCsFixer/Sets/expected_rules/5_0_rule_set/local_rules.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,4 +218,7 @@
218218
'whitespace_after_comma_in_array' => true,
219219
'yoda_style' => false,
220220
'Ibexa/multiline_parameters' => true,
221+
'fully_qualified_strict_types' => [
222+
'import_symbols' => true,
223+
],
221224
];

tests/lib/PhpCsFixer/Sets/expected_rules/5_0_rule_set/php_cs_fixer_rules.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,4 +204,7 @@
204204
'space' => 'single',
205205
],
206206
'Ibexa/multiline_parameters' => true,
207+
'fully_qualified_strict_types' => [
208+
'import_symbols' => true,
209+
],
207210
];

0 commit comments

Comments
 (0)