Skip to content

Conversation

@VincentLanglet
Copy link
Contributor

No description provided.

@TomasVotruba
Copy link
Member

Thanks! I've approved the CI to get feedback. Could you look at it?

To fix this before pushing, run tests locally with vendor/bin/phpunit

@VincentLanglet
Copy link
Contributor Author

Thanks! I've approved the CI to get feedback. Could you look at it?

To fix this before pushing, run tests locally with vendor/bin/phpunit

It should be better now

public function test()
{
$this->assertCount(5, $something);
$this->assertSame(count($something), 5);
Copy link
Member

@TomasVotruba TomasVotruba Dec 22, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you extract this to a new test fixture? It looks unrelated to change here.

By convention we separate files that have changes, and those that are skipped. So they're easier to read and test separately

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@TomasVotruba TomasVotruba enabled auto-merge (squash) December 22, 2024 10:50
@TomasVotruba
Copy link
Member

Perfect! Thank you

@TomasVotruba TomasVotruba merged commit 4dfb448 into rectorphp:main Dec 22, 2024
6 checks passed
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