Skip to content

Allow specifying baseline via parameter #2534

@localheinz

Description

@localheinz

Feature request

I ❤️ the newly introduced baseline feature!

However, when you have a rather complex phpstan.neon configuration file, it's a bit difficult to generate a baseline.

That is, currently I need to duplicate the phpstan.neon that is used for running phpstan, with the only difference that the duplicated version of phpstan.neon - used for generating the baseline - does not not include the generated baseline.

Perhaps it could be made a bit easier if the baseline could be specified via a parameter?

I imagine that that parameter could then just be ignored when generating the baseline, perhaps even using a dedicated command?

This way it would not be necessary to duplicate the configuration.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions