Skip to content

totallyTyped is ignored if errorLevel is not in config #2832

@orklah

Description

@orklah

I'm not sure if it's wanted behaviour, but it's quite confusing so I report it.

In config.xsd of psalm, errorLevel's default value is 1. However, when errorLevel is not present in psalm.xml, totallyTyped is ignored (it doesn't activate Mixed* if =true). When we manually add errorLevel=1, it now works.

It's quite confusing for existing Psalm.xml because it will disable Mixed* rules if config file is not changed while upgrading to 3.9

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions