Skip to content

Bug: disallowedShortTernary can not be disabled #248

@dbu

Description

@dbu

rules can be individually disabled, but disallowedShortTernary is not in the configuration and can therefore not be disabled.

workaround in project phpstan.neon configuration file:

parameters:
    ignoreErrors:
        - identifier: ternary.shortNotAllowed

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