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

not PHP8 compatible -> obsolete function create_function #54

Closed
Headley76 opened this issue Mar 22, 2021 · 1 comment
Closed

not PHP8 compatible -> obsolete function create_function #54

Headley76 opened this issue Mar 22, 2021 · 1 comment
Labels

Comments

@Headley76
Copy link

Hi developers,

current version is not PHP8 compatible because of the obsolete function create_function in utils.php line 154.

It should be replaced with something like this:

$fun = function($args) use ($code){ ... };

But I could not successfully hanlde the statements in $code :-(

Can someone fix it?

Thx very much.

@Headley76
Copy link
Author

sorry -> duplicate issue

I could fix it myself with:

$fun = fn($args) => $code;
// @codeCoverageIgnoreStart
if (!is_callable($fun))

Perhaps you can also fix it here,

Greetings

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants