Skip to content

Commit f0a1869

Browse files
committed
Add missing rules
1 parent 52a94d7 commit f0a1869

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/CodeIgniter4.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -320,6 +320,7 @@ public function __construct()
320320
],
321321
'ordered_interfaces' => false,
322322
'ordered_traits' => false,
323+
'ordered_types' => false, // requires 8.0+
323324
'php_unit_construct' => [
324325
'assertions' => [
325326
'assertSame',
@@ -424,6 +425,7 @@ public function __construct()
424425
'uses',
425426
],
426427
],
428+
'phpdoc_param_order' => false,
427429
'phpdoc_return_self_reference' => [
428430
'replacements' => [
429431
'this' => '$this',
@@ -504,6 +506,7 @@ public function __construct()
504506
'single_line_after_imports' => true,
505507
'single_line_comment_spacing' => true,
506508
'single_line_comment_style' => ['comment_types' => ['asterisk', 'hash']],
509+
'single_line_empty_body' => false,
507510
'single_line_throw' => false,
508511
'single_quote' => ['strings_containing_single_quote_chars' => false],
509512
'single_space_around_construct' => [

0 commit comments

Comments
 (0)