Skip to content

Commit 72a77a2

Browse files
committed
Remove outdated parts of the doc
1 parent e0bd6c8 commit 72a77a2

File tree

2 files changed

+0
-9
lines changed

2 files changed

+0
-9
lines changed

DependencyInjection/Configuration.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -296,10 +296,6 @@ private function addFormatListenerSection(ArrayNodeDefinition $rootNode)
296296
})
297297
->end()
298298
->canBeEnabled()
299-
->validate()
300-
->ifTrue(function ($v) { return empty($v['rules']) && !empty($v['media_type']['enabled']); })
301-
->thenInvalid('To enable the "media_type" setting, a "rules" setting must also needs to be defined for the "format_listener"')
302-
->end()
303299
->children()
304300
->scalarNode('service')->defaultNull()->end()
305301
->arrayNode('rules')

Resources/doc/configuration-reference.rst

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@ Full default configuration
6868
service: null
6969
failed_validation: 400
7070
empty_content: 204
71-
exception_wrapper_handler: null
7271
serialize_null: false
7372
jsonp_handler:
7473
callback_param: callback
@@ -114,10 +113,6 @@ Full default configuration
114113
fallback_format: html
115114
attributes: []
116115
priorities: []
117-
media_type:
118-
enabled: false
119-
service: null
120-
version_regex: '/(v|version)=(?P<version>[0-9\.]+)/'
121116
versioning:
122117
enabled: false
123118
default_version: ~

0 commit comments

Comments
 (0)