File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -38,3 +38,8 @@ parameters:
3838 booleansInConditions: true
3939 disallowedConstructs: true
4040 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
377377 // Handle Config as a special case to prevent logic loops
378378 ? self ::$ configOptions
379379 // Load values from the best Factory configuration (will include Registrars)
380- : config (Factory::class )->{$ component } ?? [];
380+ : config (' Factory ' )->{$ component } ?? [];
381381
382382 // The setOptions() reset the component. So getOptions() may reset
383383 // the component.
You can’t perform that action at this time.
0 commit comments