Skip to content

Commit

Permalink
Enable other options of fully_qualified_strict_types
Browse files Browse the repository at this point in the history
  • Loading branch information
paulbalandan committed Dec 29, 2023
1 parent 4cd8fee commit 5c11c9b
Showing 1 changed file with 26 additions and 2 deletions.
28 changes: 26 additions & 2 deletions src/CodeIgniter4.php
Original file line number Diff line number Diff line change
Expand Up @@ -157,8 +157,32 @@ public function __construct()
'fopen_flag_order' => true,
'fopen_flags' => ['b_mode' => true],
'full_opening_tag' => true,
'fully_qualified_strict_types' => ['leading_backslash_in_global_namespace' => false],
'function_declaration' => [
'fully_qualified_strict_types' => [
'import_symbols' => false,
'leading_backslash_in_global_namespace' => false,
'phpdoc_tags' => [
'param',
'phpstan-param',
'phpstan-property',
'phpstan-property-read',
'phpstan-property-write',
'phpstan-return',
'phpstan-var',
'property',
'property-read',
'property-write',
'psalm-param',
'psalm-property',
'psalm-property-read',
'psalm-property-write',
'psalm-return',
'psalm-var',
'return',
'throws',
'var',
],
],
'function_declaration' => [
'closure_function_spacing' => 'one',
'closure_fn_spacing' => 'one',
'trailing_comma_single_line' => false,
Expand Down

0 comments on commit 5c11c9b

Please sign in to comment.