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

[REF][PHP8.2] Fix use of self in callables deprecation #25791

Merged

Conversation

braders
Copy link
Contributor

@braders braders commented Mar 12, 2023

Overview

Fix Use of "self" in callables is deprecated issue.

Before

Fixes use of a syntax deprecated in PHP 8.2.

More detail on the deprecation can be found at https://php.watch/versions/8.2/partially-supported-callable-deprecation.

After

Use of a PHP 8.2 valid syntax.

Comments

This fixes a very recent change made here bafcc24. Ping @eileenmcnaughton, you are likely not aware that you used a syntax that is now deprecated in the latest version of PHP.

This is the same fix as was previously merged for another class here: #25625

@civibot
Copy link

civibot bot commented Mar 12, 2023

(Standard links)

@civibot civibot bot added the master label Mar 12, 2023
@eileenmcnaughton
Copy link
Contributor

Thanks for the fix @braders & for making sure I saw it - hopefully it will sink into my pre-coffee brain

@eileenmcnaughton eileenmcnaughton merged commit 18ef03b into civicrm:master Mar 12, 2023
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