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

Trait double doesn't need a trait suffix #235

Closed
andizer opened this issue Nov 19, 2020 · 1 comment
Closed

Trait double doesn't need a trait suffix #235

andizer opened this issue Nov 19, 2020 · 1 comment

Comments

@andizer
Copy link
Contributor

andizer commented Nov 19, 2020

When a double has been made for a trait the CS expects to have it suffixed with -trait. This can lead to weird file naming with a lot of traits in it.

When it is a double or is in the doubles directory we should just append -double to it.

wordpress-seo_–_composer_json

@jrfnl
Copy link
Collaborator

jrfnl commented Sep 22, 2023

Solution: change the Double/Mock to a class which uses the trait. Problem solved.

@jrfnl jrfnl closed this as not planned Won't fix, can't repro, duplicate, stale Sep 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants