Skip to content

Commit cb6ab55

Browse files
committed
Even more interfaces that are not supposed to be implemented
1 parent 778af2e commit cb6ab55

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

Diff for: src/Rules/Api/BcUncoveredInterface.php

+20
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,20 @@
44

55
use PHPStan\Analyser\Scope;
66
use PHPStan\Command\Output;
7+
use PHPStan\Command\OutputStyle;
8+
use PHPStan\DependencyInjection\Container;
9+
use PHPStan\Node\ReturnStatementsNode;
10+
use PHPStan\Node\VirtualNode;
11+
use PHPStan\PhpDoc\Tag\TypedTag;
712
use PHPStan\Reflection\Callables\CallableParametersAcceptor;
813
use PHPStan\Reflection\ClassConstantReflection;
14+
use PHPStan\Reflection\ClassMemberAccessAnswerer;
915
use PHPStan\Reflection\ClassMemberReflection;
1016
use PHPStan\Reflection\ConstantReflection;
1117
use PHPStan\Reflection\ExtendedMethodReflection;
1218
use PHPStan\Reflection\ExtendedPropertyReflection;
1319
use PHPStan\Reflection\FunctionReflection;
20+
use PHPStan\Reflection\NamespaceAnswerer;
1421
use PHPStan\Reflection\ParameterReflectionWithPhpDocs;
1522
use PHPStan\Reflection\ParametersAcceptorWithPhpDocs;
1623
use PHPStan\Reflection\ReflectionProvider;
@@ -21,13 +28,21 @@
2128
use PHPStan\Rules\NonIgnorableRuleError;
2229
use PHPStan\Rules\RuleError;
2330
use PHPStan\Rules\TipRuleError;
31+
use PHPStan\Type\CompoundType;
32+
use PHPStan\Type\Generic\TemplateType;
2433
use PHPStan\Type\Type;
34+
use PHPStan\Type\TypeWithClassName;
2535

2636
final class BcUncoveredInterface
2737
{
2838

2939
public const CLASSES = [
3040
Type::class,
41+
CompoundType::class,
42+
TemplateType::class,
43+
TypedTag::class,
44+
TypeWithClassName::class,
45+
VirtualNode::class,
3146
ReflectionProvider::class,
3247
Scope::class,
3348
FunctionReflection::class,
@@ -47,6 +62,11 @@ final class BcUncoveredInterface
4762
ClassMemberReflection::class,
4863
ConstantReflection::class,
4964
ClassConstantReflection::class,
65+
ClassMemberAccessAnswerer::class,
66+
NamespaceAnswerer::class,
67+
Container::class,
68+
OutputStyle::class,
69+
ReturnStatementsNode::class,
5070
];
5171

5272
}

0 commit comments

Comments
 (0)