Skip to content

Commit 475e9d5

Browse files
committed
add another test case
1 parent e0fc88f commit 475e9d5

File tree

3 files changed

+28
-0
lines changed

3 files changed

+28
-0
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<?php
2+
3+
declare(strict_types=1);
4+
5+
namespace Namespace2;
6+
7+
/**
8+
* Class C's description.
9+
*/
10+
class C extends \Namespace1\D implements \Namespace1\I {
11+
}
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<?php
2+
3+
declare(strict_types=1);
4+
5+
namespace Namespace2;
6+
7+
use Namespace1\I;
8+
use Namespace1\D;
9+
10+
/**
11+
* Class C's description.
12+
*/
13+
class C extends D implements I {
14+
}

tests/Drupal/Classes/FullyQualifiedNamespaceUnitTest.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ protected function getErrorList(string $testFile): array
3535
return [16 => 1];
3636
case 'FullyQualifiedNamespaceUnitTest.2.inc':
3737
return [8 => 1];
38+
case 'FullyQualifiedNamespaceUnitTest.3.inc':
39+
return [10 => 2];
3840
}
3941

4042
return [];
@@ -72,6 +74,7 @@ protected function getTestFiles($testFileBase): array
7274
__DIR__.'/FullyQualifiedNamespaceUnitTest.inc',
7375
__DIR__.'/FullyQualifiedNamespaceUnitTest.1.inc',
7476
__DIR__.'/FullyQualifiedNamespaceUnitTest.2.inc',
77+
__DIR__.'/FullyQualifiedNamespaceUnitTest.3.inc',
7578
__DIR__.'/FullyQualifiedNamespaceUnitTest.api.php',
7679
];
7780

0 commit comments

Comments
 (0)