False Positive: DrupalPractice.Objects.UnusedPrivateMethod.UnusedMethod

Created on 31 October 2023, over 1 year ago
Updated 10 March 2024, about 1 year ago

Problem/Motivation

False positive Unused private method reported. The method is used in resetPassword().

FILE: /var/www/html/web/modules/custom/tfa/tests/src/Functional/TfaPasswordResetTest.php
--------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
--------------------------------------------------------------------------------------------------------------
 80 | WARNING | Unused private method getResetUrl()
    |         | (DrupalPractice.Objects.UnusedPrivateMethod.UnusedMethod)
--------------------------------------------------------------------------------------------------------------

Steps to reproduce

phpcs -s --standard=DrupalCombined against
against https://git.drupalcode.org/project/tfa/-/blob/528d860860eccc2b39655be0d9...

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

๐Ÿ› Bug report
Status

Fixed

Version

8.3

Component

Coder Sniffer

Created by

๐Ÿ‡บ๐Ÿ‡ธUnited States cmlara

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

Comments & Activities

Production build 0.71.5 2024