-
Notifications
You must be signed in to change notification settings - Fork 162
Closed
Labels
Progress: donebugSomething isn't workingSomething isn't workingfalse positiveRule causes false positive findingsRule causes false positive findings
Description
Description
Originally this issue appeared here: magento/magento2#21235 (comment)
Run static tests against following file:
Right now you're getting following message:
PHP Code Sniffer detected 1 violation(s):
FILE: /var/www/html/app/code/Magento/Customer/Model/Customer.php
----------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
----------------------------------------------------------------------
68 | WARNING | Motivation behind the added @deprecated tag MUST be
| | explained. @see tag MUST be used with reference to
| | new implementation when code is deprecated and there
| | is a new alternative.
----------------------------------------------------------------------
Failed asserting that 1 matches expected 0.
As we can see here - there is @see
tag:
Expected behavior
You should not have any complains
Benefits
Additional information
Metadata
Metadata
Assignees
Labels
Progress: donebugSomething isn't workingSomething isn't workingfalse positiveRule causes false positive findingsRule causes false positive findings