protected function Pum::test6 in Coder 8.2
Same name and namespace in other branches
- 8.3 tests/Drupal/Classes/UnusedUseStatementUnitTest.inc \MyNamespace\Depth\Pum::test6()
- 8.3.x tests/Drupal/Classes/UnusedUseStatementUnitTest.inc \MyNamespace\Depth\Pum::test6()
Inline var declarations should also get fixed to the full namespace.
File
- coder_sniffer/
Drupal/ Test/ Classes/ UnusedUseStatementUnitTest.inc, line 81
Class
- Pum
- Bla.
Namespace
MyNamespace\DepthCode
protected function test6($x) {
/** @var VarName $y */
$y = $x['test'];
/** @var AliasVarName2 $z */
$z = $x['test2'];
return $y;
}