| Total Complexity | 3 |
| Total Lines | 26 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 17 | final class ConstraintAttributeProcessor implements ElementAttributeProcessorInterface |
||
| 18 | { |
||
| 19 | use SimpleMethodCallGeneratorTrait; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * {@inheritdoc} |
||
| 23 | */ |
||
| 24 | 50 | public function type(): string |
|
| 25 | { |
||
| 26 | 50 | return Constraint::class; |
|
| 27 | } |
||
| 28 | |||
| 29 | /** |
||
| 30 | * {@inheritdoc} |
||
| 31 | */ |
||
| 32 | 3 | public function process(ChildBuilderInterface $builder, object $attribute): void |
|
| 35 | } |
||
| 36 | |||
| 37 | /** |
||
| 38 | * {@inheritdoc} |
||
| 39 | */ |
||
| 40 | 8 | private function methodName(): string |
|
| 45 |
This check looks for private methods that have been defined, but are not used inside the class.