Warning : Function create_function() is deprecated

Created on 31 March 2023, over 1 year ago
Updated 31 August 2023, over 1 year ago

Problem/Motivation

Remove deprecation warning
471 | WARNING | Function create_function() is deprecated since PHP 7.2; Use an anonymous function instead

Steps to reproduce

Update PHP version to 8+
Run compatibility test on module
phpcs -p . --standard=PHPCompatibility --extensions=module/php,inc/php,install/php,php/php --runtime-set testVersion 8.1

🐛 Bug report
Status

RTBC

Version

1.0

Component

Code

Created by

🇮🇳India harivansh

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024