| Total Complexity | 2 |
| Total Lines | 18 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 10 | class BelongsToNamespace implements FqcnSpecification |
||
| 11 | { |
||
| 12 | use ReflectionSpecificationTrait; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * @var string |
||
| 16 | */ |
||
| 17 | protected $namespace; |
||
| 18 | |||
| 19 | public function __construct(string $namespace) |
||
| 22 | } |
||
| 23 | |||
| 24 | protected function isSatisfiedByReflection(string $fqcn, ReflectionClass $reflectionClass): bool |
||
| 30 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.