PHP has reserved all method names with a double underscore prefix for future use.

Created on 28 April 2020, over 4 years ago
Updated 16 May 2023, over 1 year ago

$ phpcs --standard=PHPCompatibility --extensions=php,module,inc,install,test,profile,theme,css /acquia_purge/

FILE: \acquia_purge\acquia_purge.admin.inc
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 5 WARNINGS AFFECTING 5 LINES
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------
281 | WARNING | Function name "__acquia_purge_manualpurge_add" is discouraged; PHP has reserved all method names with a double underscore prefix for future use.
291 | WARNING | Function name "__acquia_purge_manualpurge_remove" is discouraged; PHP has reserved all method names with a double underscore prefix for future use.
303 | WARNING | Function name "__acquia_purge_manualpurge_paths" is discouraged; PHP has reserved all method names with a double underscore prefix for future use.
313 | WARNING | Function name "__acquia_purge_manualpurge_validate" is discouraged; PHP has reserved all method names with a double underscore prefix for future use.
328 | WARNING | Function name "__acquia_purge_manualpurge_submit" is discouraged; PHP has reserved all method names with a double underscore prefix for future use.
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------

Time: 1.56 secs; Memory: 18MB

🐛 Bug report
Status

Fixed

Version

1.3

Component

Code

Created by

🇮🇳India ravikk-drupal

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

    The issue particularly affects sites running on PHP version 7.3.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