<NME> TestClassUsesTraitSimple.php
<BEF> <?php
/**
 * Zend Framework (http://framework.zend.com/)
 *
 * @link      http://github.com/zendframework/zf2 for the canonical source repository
 * @copyright Copyright (c) 2005-2016 Zend Technologies USA Inc. (http://www.zend.com)
 * @license   http://framework.zend.com/license/new-bsd New BSD License
 */

namespace ZendTest\Code\TestAsset;

use ZendTest\Code\TestAsset\FooTrait;

class TestClassUsesTraitSimple
{
    use \ZendTest\Code\TestAsset\BarTrait, FooTrait;
}

<MSG> Resolve issues with traits in ClassScanner

- Only the first use statement would be accounted for when getting lists
  of traits, due to unnecessary break statements at the end of the loop.
  Fixes #58
- If one of the methods touched by this commit, such as getTraitNames(),
  or getTraits(), which calls getTraitNames(), was called as the first
  action on this class, no traits would be returned, due to the fact
  that scan() was not called at the start of the method. Fixes #57

<DFF> @@ -14,4 +14,5 @@ use ZendTest\Code\TestAsset\FooTrait;
 class TestClassUsesTraitSimple
 {
     use \ZendTest\Code\TestAsset\BarTrait, FooTrait;
+    use BazTrait;
 }

Resolve issues with traits in ClassScanner