Skip to content

Conversation

@biozshock
Copy link
Contributor

No description provided.

Fixture to test proper refactoring of PHPUnit assertion.
@samsonasik
Copy link
Member

Confirmed:

    public function test()
    {
        self::assertTrue(0 < 1);
        self::assertGreaterThan(0, 1);
    }

is OK.

@samsonasik
Copy link
Member

staabm pushed a commit to staabm/rector-phpunit that referenced this pull request Oct 9, 2025
…ficMethodRector (rectorphp#532)

* Create assert_true_to_greater_than.php.inc

Fixture to test proper refactoring of PHPUnit assertion.

* Closes rectorphp#531

* more

* more fixtures

* should keep order

---------

Co-authored-by: Artem Lopata <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants