Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ public function getConfigTreeBuilder(): TreeBuilder
->always(function ($v) {
foreach ($v as $namespace => $defaults) {
if (!str_ends_with($namespace, '\\')) {
throw new InvalidConfigurationException(sprintf('The twig_component.defaults namespace "%s" is invalid: it must end in a "\"', $namespace));
throw new InvalidConfigurationException(sprintf('The twig_component.defaults namespace "%s" is invalid: it must end in a "\".', $namespace));
}
}

Expand All @@ -182,9 +182,6 @@ public function getConfigTreeBuilder(): TreeBuilder
->scalarNode('anonymous_template_directory')
->info('Defaults to `components`')
->end()
->scalarNode('controllers_json')
->defaultValue('%kernel.project_dir%/assets/controllers.json')
->end()
->end();

return $treeBuilder;
Expand Down