| Total Complexity | 7 |
| Total Lines | 40 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 15 | class UniqueDirectivesPerLocation extends ValidationRule |
||
| 16 | { |
||
| 17 | 125 | public function getVisitor(ValidationContext $context) |
|
| 18 | { |
||
| 19 | 125 | return $this->getASTVisitor($context); |
|
| 20 | } |
||
| 21 | |||
| 22 | 208 | public function getSDLVisitor(SDLValidationContext $context) |
|
| 25 | } |
||
| 26 | |||
| 27 | 326 | public function getASTVisitor(ASTValidationContext $context) |
|
| 46 | } |
||
| 47 | } |
||
| 48 | 326 | }, |
|
| 49 | ]; |
||
| 50 | } |
||
| 51 | |||
| 52 | 5 | public static function duplicateDirectiveMessage($directiveName) |
|
| 55 | } |
||
| 56 | } |
||
| 57 |