Skip to content

Report addition of trigger_error() to a function's body as a BC break #369

Open
@Ocramius

Description

@Ocramius

Functions that are otherwise working fine cannot have trigger_error() expressions added to them, as that:

  • breaks downstream consumers (output, loggers, test suites)
  • introduces an unwanted side-effected, which could potentially cause major issues in a production environment

Therefore, we will add a new checker that ensures that trigger_error() additions are considered BC breaks.

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