[PHPBB3-14598] Phing Sniffer Testing Use Statements in DocBlocks Created: 12/Apr/16  Updated: 13/Apr/16  Resolved: 13/Apr/16

Status: Unverified Fix
Project: phpBB3
Component/s: Test Suite
Affects Version/s: None
Fix Version/s: 3.1.10-RC1

Type: Task Priority: Minor
Reporter: Matt Friedman Assignee: nicofuma
Resolution: Fixed Votes: 0
Labels: None


 Description   

Phing-sniff will consider a Use statement unused if it is only being used in a docblock, i.e.:

use Foo\Bar\FooBar

/* @var FooBar */

It should be updated to recognize the statement is in fact used, to prevent test failures.

Example failure: https://travis-ci.org/phpbb/phpbb/jobs/122583594#L940
This is the usage: https://github.com/VSEphpbb/phpbb/blob/ticket/14569/phpBB/phpbb/console/command/user/reclean.php#L36


Generated at Thu Dec 13 20:15:14 UTC 2018 using Jira 7.12.3#712004-sha1:5ef91d760d7124da5ebec5c16a948a4a807698df.