| Total Complexity | 2 |
| Total Lines | 25 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 25 | final class DisallowedRawHtmlExtension implements ConfigurableExtensionInterface |
||
| 26 | { |
||
| 27 | private const DEFAULT_DISALLOWED_TAGS = [ |
||
| 28 | 'title', |
||
| 29 | 'textarea', |
||
| 30 | 'style', |
||
| 31 | 'xmp', |
||
| 32 | 'iframe', |
||
| 33 | 'noembed', |
||
| 34 | 'noframes', |
||
| 35 | 'script', |
||
| 36 | 'plaintext', |
||
| 37 | ]; |
||
| 38 | |||
| 39 | 213 | public function configureSchema(ConfigurationBuilderInterface $builder): void |
|
| 43 | ])); |
||
| 44 | 213 | } |
|
| 45 | |||
| 46 | 126 | public function register(EnvironmentBuilderInterface $environment): void |
|
| 52 |