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 merge function stdlib deprecation message #25

Merged
merged 2 commits into from
Jan 9, 2024
Merged

Fix merge function stdlib deprecation message #25

merged 2 commits into from
Jan 9, 2024

Conversation

ynnckvdv
Copy link
Contributor

@ynnckvdv ynnckvdv commented Jan 3, 2024

Fix 'This function is deprecated, please use stdlib::merge instead' warning message

@ynnckvdv
Copy link
Contributor Author

ynnckvdv commented Jan 8, 2024

Hi @treydock , could you check this out? Thanks.

@@ -88,7 +88,7 @@
'force_rebuild' => 'UNSET',
}

$config = merge($config_defaults, $config_overrides)
$config = stdlib::merge($config_defaults, $config_overrides)
Copy link
Owner

Choose a reason for hiding this comment

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

This will cause this module to required stdlib 9.x which I'd like to avoid for now. I think this can be replaced with:

$config = $config_defaults + $config_overrides

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Understandable, I replaced the merge line like you suggested so it doesn't require stdlib.

@treydock treydock added the bugfix label Jan 9, 2024
@treydock treydock merged commit 787f14e into treydock:master Jan 9, 2024
2 checks passed
@treydock
Copy link
Owner

treydock commented Jan 9, 2024

This is released as 2.0.1

@ynnckvdv
Copy link
Contributor Author

ynnckvdv commented Jan 9, 2024

Thanks!

@ynnckvdv ynnckvdv deleted the stdlib-deprecation-fix branch January 9, 2024 20:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants