[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: VSE Assignee: nicofuma
Resolution: Fixed Votes: 0
Labels: None


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 Sat Oct 20 12:48:37 UTC 2018 using JIRA 7.9.2#79002-sha1:3bb15b68ecd99a30eb364c4c1a393359bcad6278.