Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DX: Change @testWith to @dataProvider #7535

Merged

Conversation

Wirone
Copy link
Member

@Wirone Wirone commented Dec 9, 2023

I know there is PhpUnitTestAnnotationFixerTest that has test cases with @testWith, but I believe we don't need this kind of approach for providing test cases in our actual codebase?

@Wirone Wirone requested a review from keradus December 9, 2023 00:27
@Wirone Wirone self-assigned this Dec 9, 2023
@coveralls
Copy link

Coverage Status

coverage: 94.908%. remained the same
when pulling 96a3a86 on Wirone:codito/change-testWith-to-dataProvider
into 3cd517b on PHP-CS-Fixer:master.

@Wirone Wirone merged commit 85085a7 into PHP-CS-Fixer:master Dec 9, 2023
25 checks passed
@@ -62,6 +60,18 @@ static function (FixerFileProcessedEvent $event) use (&$events): void {
self::assertSame($fileInfo, reset($files));
}

/**
* @return iterable<array<int>>
Copy link
Member

Choose a reason for hiding this comment

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

-=> #7542

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

Successfully merging this pull request may close these issues.

None yet

4 participants