create_function() is deprecated in filebrowser.theme.inc

Created on 14 June 2019, over 5 years ago
Updated 19 January 2025, about 18 hours ago

Getting following warning on PHPCS run

$ phpcs --standard=PHPCompatibility --extensions=php,module,inc,install,test,pro file,theme --runtime-set testVersion 7.2

File: ....\sites\default\modules\contrib\filebrowser\filebrowser.theme.inc

FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES
-----------------------------------------------------------------------------------------------------------
267 | WARNING | Function create_function() is deprecated since PHP 7.2; Use an anonymous function instead
272 | WARNING | Function create_function() is deprecated since PHP 7.2; Use an anonymous function instead
-----------------------------------------------------------------------------------------------------------

📌 Task
Status

Closed: outdated

Version

3.0

Component

Miscellaneous

Created by

🇮🇳India aswathi.haridasan

Live updates comments and jobs are added and updated live.
  • PHP 7.2

    The issue particularly affects sites running on PHP version 7.2.0 or later.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024