Skip to content

Commit

Permalink
add fully_qualified_strict_types:leading_backslash_in_global_namespac…
Browse files Browse the repository at this point in the history
…e to false by default following Drupal Coder changes
  • Loading branch information
WengerK committed Oct 1, 2024
1 parent f58fc91 commit bf4f54e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions config/drupal8/phpcsfixer.rules.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,5 @@ parameters:
declare_equal_normalize: true
declare_strict_types: false
blank_lines_before_namespace: false
fully_qualified_strict_types:
leading_backslash_in_global_namespace: false
4 changes: 3 additions & 1 deletion tests/Unit/Config/Drupal8Test.php
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,9 @@ public function testConfigDefault(): void
'fopen_flag_order' => true,
'fopen_flags' => true,
'full_opening_tag' => true,
'fully_qualified_strict_types' => true,
'fully_qualified_strict_types' => [
'leading_backslash_in_global_namespace' => false,
],
'function_declaration' => [
'closure_function_spacing' => 'one',
],
Expand Down

0 comments on commit bf4f54e

Please sign in to comment.