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

PossiblyUnusedMethod for data providers #138

Closed
boesing opened this issue Apr 19, 2023 · 3 comments
Closed

PossiblyUnusedMethod for data providers #138

boesing opened this issue Apr 19, 2023 · 3 comments
Labels
enhancement New feature or request

Comments

@boesing
Copy link

boesing commented Apr 19, 2023

Psalm with enabled PHPUnit plugin + enabled findUnusedCode reports data provider methods which are in use.

@orklah orklah added the enhancement New feature or request label Apr 20, 2023
@orklah
Copy link
Contributor

orklah commented Apr 20, 2023

Yeah, this should be handled by this plugin indeed

@MidnightDesign
Copy link
Contributor

It does work with @dataProvider, just not with the PHPUnit\Framework\Attributes\DataProvider attribute.

@boesing
Copy link
Author

boesing commented Oct 16, 2023

Hm, there was already an issue pointing to this problem in #131, will close here in favor of that issue.

@boesing boesing closed this as completed Oct 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants