mirror of
https://github.com/codeigniter4/CodeIgniter4.git
synced 2025-02-20 11:44:28 +08:00
Set ordering rules
This commit is contained in:
parent
cc20a0b21d
commit
9224fb398d
@ -17,9 +17,9 @@ use CodeIgniter\HTTP\IncomingRequest;
|
||||
use CodeIgniter\HTTP\Response;
|
||||
use Config\Exceptions as ExceptionsConfig;
|
||||
use Config\Paths;
|
||||
use function error_reporting;
|
||||
use ErrorException;
|
||||
use Throwable;
|
||||
use function error_reporting;
|
||||
|
||||
/**
|
||||
* Exceptions manager
|
||||
|
@ -244,10 +244,13 @@ final class CodeIgniter4 extends AbstractRuleset
|
||||
'not_operator_with_successor_space' => true,
|
||||
'object_operator_without_whitespace' => true,
|
||||
'operator_linebreak' => ['only_booleans' => true, 'position' => 'beginning'],
|
||||
'ordered_class_elements' => false,
|
||||
'ordered_imports' => [
|
||||
'imports_order' => null,
|
||||
'sort_algorithm' => 'alpha',
|
||||
'imports_order' => ['class', 'function', 'const'],
|
||||
],
|
||||
'ordered_interfaces' => false,
|
||||
'ordered_traits' => false,
|
||||
'php_unit_construct' => [
|
||||
'assertions' => [
|
||||
'assertSame',
|
||||
|
Loading…
x
Reference in New Issue
Block a user