Function each() is deprecated since PHP 7.2

Created on 11 July 2019, over 5 years ago
Updated 16 July 2023, over 1 year ago
$ vendor/bin/phpcs drupal/sites/all/modules/contrib/tfa_basic -p --standard=PHPCompatibility --extensions=inc,install,module,php,profile,test,theme --runtime-set testVersion 7.2
..W...E.... 11 / 11 (100%)



FILE: drupal/sites/all/modules/contrib/tfa_basic/tests/tfa_basic.test
-----------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
-----------------------------------------------------------------------------------------
 124 | WARNING | Function each() is deprecated since PHP 7.2; Use a foreach loop instead
-----------------------------------------------------------------------------------------
πŸ› Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡§πŸ‡·Brazil lnunesbr πŸ‡§πŸ‡· SΓ£o Paulo, BR

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