Skip to content

PHPUnit: expectNotToPerformAssertions #3

Description

@jennjwang

Introduce new rule that will execute following change.
Rule shall be marked risky.

ref sebastianbergmann/phpunit#3042

-$this->addToAssertionCount(1);
+$this->expectNotToPerformAssertions();

clones: PHP-CS-Fixer#5647
sibling: PHP-CS-Fixer#7364

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