$ 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
-----------------------------------------------------------------------------------------
CommentFileSizeAuthor
#2 deprecated_each-3067289-1.patch453 byteslnunesbr

Comments

lnunesbr created an issue. See original summary.

lnunesbr’s picture

StatusFileSize
new453 bytes

patch for that

lnunesbr’s picture

apparently, the test failures are not related to the changes from the patch

lnunesbr’s picture

Status: Active » Needs review
damienmckenna’s picture

Status: Needs review » Reviewed & tested by the community

LGTM.

  • poker10 committed 589f1bee on 7.x-1.x authored by lnunesbr
    Issue #3067289 by lnunesbr: Function each() is deprecated since PHP 7.2
    
poker10’s picture

Status: Reviewed & tested by the community » Fixed

Committed, thanks all!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.