Skip to content

Assert exceptions (maybe make them logic or runtime exceptions?) #96

Description

@rekmixa
Image Image

Hello.
Why don't assert exceptions inherit LogicException or DomainException or RuntimeException? Since tests inherit the base PHP exception, they have to write PHP documentation specifying exceptions (throws), which seems unnecessary for tests.

Thanks

No activity

Activity on this issue will appear here.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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