Skip to content

Commit

Permalink
Merge pull request #1517 from FriendsOfSymfony/DOC
Browse files Browse the repository at this point in the history
Remove outdated parts of the doc
  • Loading branch information
lsmith77 authored Jun 15, 2016
2 parents e0bd6c8 + 72a77a2 commit 1490774
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
4 changes: 0 additions & 4 deletions DependencyInjection/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -296,10 +296,6 @@ private function addFormatListenerSection(ArrayNodeDefinition $rootNode)
})
->end()
->canBeEnabled()
->validate()
->ifTrue(function ($v) { return empty($v['rules']) && !empty($v['media_type']['enabled']); })
->thenInvalid('To enable the "media_type" setting, a "rules" setting must also needs to be defined for the "format_listener"')
->end()
->children()
->scalarNode('service')->defaultNull()->end()
->arrayNode('rules')
Expand Down
5 changes: 0 additions & 5 deletions Resources/doc/configuration-reference.rst
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ Full default configuration
service: null
failed_validation: 400
empty_content: 204
exception_wrapper_handler: null
serialize_null: false
jsonp_handler:
callback_param: callback
Expand Down Expand Up @@ -114,10 +113,6 @@ Full default configuration
fallback_format: html
attributes: []
priorities: []
media_type:
enabled: false
service: null
version_regex: '/(v|version)=(?P<version>[0-9\.]+)/'
versioning:
enabled: false
default_version: ~
Expand Down

0 comments on commit 1490774

Please sign in to comment.