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

[Bug]: Expectation mixin in marked as internal class #1141

Open
fnzr opened this issue Apr 22, 2024 · 0 comments
Open

[Bug]: Expectation mixin in marked as internal class #1141

fnzr opened this issue Apr 22, 2024 · 0 comments
Labels

Comments

@fnzr
Copy link

fnzr commented Apr 22, 2024

What Happened

PHPStan provides a false(?) warning when using mixin expectation functions:

2024-04-22-17:30:53-screenshot

This is very similar to #1018, fixed in #1020 and is caused by

* @internal

How to Reproduce

Analyse the code with phpstan. I'm using phpactor under nvim, can provide configurations if necessary.

Sample Repository

No response

Pest Version

2.34

PHP Version

8.3

Operation System

Linux

Notes

No response

@fnzr fnzr added the bug label Apr 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant