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

Fix parsing of ambiguous classes to avoid ignoring real classes when test ones get scanned first #13

Merged
merged 1 commit into from
Oct 3, 2024

Conversation

Seldaek
Copy link
Member

@Seldaek Seldaek commented Oct 3, 2024

@Seldaek Seldaek merged commit 98bbf67 into composer:main Oct 3, 2024
13 checks passed
@Seldaek Seldaek deleted the fix-ambiguous branch October 3, 2024 18:14
* If you want to get these back as well you can pass false to $duplicatesFilter. Or
* you can pass your own pattern to exclude if you need to change the default.
*
* @param non-empty-string|false $duplicatesFilter
Copy link
Contributor

Choose a reason for hiding this comment

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

Why not using null for the absence of filter ? That would be a cleaner API

Copy link
Member Author

Choose a reason for hiding this comment

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

Because I started as filter true/false, then figured I could let people customize the filter, and the false stuck. A bit late now that it's been tagged, but it's not really a broadly used API so not such a big deal.

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