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

Blacklist: Fix building of the excludes list #62

Merged
merged 1 commit into from
Aug 12, 2024

Conversation

wesolydexter
Copy link

Reason: The "+" operator compares keys from two arrays, which, while building the excludes list, results in some paths being skipped.
Implementation: Replaced array union operator with simple array_merge. Unfortunately, this approach might generate duplicate paths, so an array_unique call was added.
Side effects: None.

Reason: The "+" operator compares keys from two arrays, which, while building the excludes list, results in some paths being skipped.
Implementation: Replaced array union operator with simple array_merge. Unfortunately, this approach might generate duplicate paths, so an array_unique call was added.
Side effects: None.
@shulard shulard merged commit cfe2fd1 into friends-of-phpspec:master Aug 12, 2024
3 checks passed
@shulard
Copy link
Member

shulard commented Aug 12, 2024

Thank you for the patch !

@shulard
Copy link
Member

shulard commented Aug 12, 2024

A release has been published with this change: v6.4.1

@wesolydexter
Copy link
Author

Thanks for the quick merge ;)

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