dscanner.ini settings get ignored when adding ModuleFilters
SingingBush opened this issue · comments
Samael commented
The following works fine for all modules:
[analysis.config.StaticAnalysisConfig]
undocumented_declaration_check="disabled"
but if I add another setting specific to a module, with ModuleFilters before StaticAnalysisConfig, then the undocumented_declaration_check
is somehow enabled again.
[analysis.config.ModuleFilters]
could_be_immutable_check="+myproject.app,-myproject.tests"
[analysis.config.StaticAnalysisConfig]
undocumented_declaration_check="disabled"
If I put StaticAnalysisConfig before the ModuleFilters then the undocumented_declaration_check
does get disabled as expected but the could_be_immutable_check
is still being checked against myproject.tests when it shouldn't be.
[analysis.config.StaticAnalysisConfig]
undocumented_declaration_check="disabled"
[analysis.config.ModuleFilters]
could_be_immutable_check="+myproject.app,-myproject.tests"