Skip to content

[FR] Add polyfill for new assertIs[Not]ClosedResource() #4

@jrfnl

Description

@jrfnl

PHPUnit 9.3.0 introduces two new assertions Assert::assertIsClosedResource() and Assert::assertIsNotClosedResource().

Polyfilling these would be challenging to say the least, as the PHP native functionality used to determine whether a resource is closed or not only became available in PHP 7.2.

Refs:

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions