Conditions | 1 |
Paths | 1 |
Total Lines | 5 |
Code Lines | 3 |
Lines | 0 |
Ratio | 0 % |
Tests | 4 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
23 | 194 | public function configureSchema(ConfigurationBuilderInterface $builder): void |
|
24 | { |
||
25 | 194 | $builder->addSchema('autolink', Expect::structure([ |
|
26 | 194 | 'allowed_protocols' => Expect::listOf('string')->default(['http', 'https', 'ftp'])->mergeDefaults(false), |
|
27 | 194 | 'default_protocol' => Expect::string()->default('http'), |
|
28 | 194 | ])); |
|
40 |