File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -38,3 +38,8 @@ parameters:
38
38
booleansInConditions: true
39
39
disallowedConstructs: true
40
40
matchingInheritedMethodNames: true
41
+ ignoreErrors:
42
+ - '#^Call to function config with Config\\.+\:\:class is discouraged\.$#'
43
+ codeigniter:
44
+ additionalConfigNamespaces:
45
+ - CodeIgniter\Config\
Original file line number Diff line number Diff line change @@ -377,7 +377,7 @@ public static function getOptions(string $component): array
377
377
// Handle Config as a special case to prevent logic loops
378
378
? self ::$ configOptions
379
379
// Load values from the best Factory configuration (will include Registrars)
380
- : config (Factory::class )->{$ component } ?? [];
380
+ : config (' Factory ' )->{$ component } ?? [];
381
381
382
382
// The setOptions() reset the component. So getOptions() may reset
383
383
// the component.
You can’t perform that action at this time.
0 commit comments