Skip to content

Commit 7e849aa

Browse files
committed
Merge branch '2.8' into 3.4
* 2.8: Fixed more sorting issues in config options Removed the full config dump of FrameworkBundle
2 parents 872aca7 + 1c855de commit 7e849aa

File tree

2 files changed

+2
-172
lines changed

2 files changed

+2
-172
lines changed

reference/configuration/framework.rst

Lines changed: 0 additions & 170 deletions
Original file line numberDiff line numberDiff line change
@@ -2018,176 +2018,6 @@ lock
20182018
The default lock adapter. If not defined, the value is set to ``semaphore`` when
20192019
available, or to ``flock`` otherwise. Store's DSN are also allowed.
20202020

2021-
Full Default Configuration
2022-
--------------------------
2023-
2024-
.. configuration-block::
2025-
2026-
.. code-block:: yaml
2027-
2028-
framework:
2029-
secret: ~
2030-
http_method_override: true
2031-
trusted_proxies: []
2032-
ide: ~
2033-
test: ~
2034-
default_locale: en
2035-
2036-
csrf_protection:
2037-
enabled: false
2038-
2039-
# form configuration
2040-
form:
2041-
enabled: false
2042-
csrf_protection:
2043-
enabled: true
2044-
field_name: ~
2045-
2046-
# esi configuration
2047-
esi:
2048-
enabled: false
2049-
2050-
# fragments configuration
2051-
fragments:
2052-
enabled: false
2053-
path: /_fragment
2054-
2055-
# profiler configuration
2056-
profiler:
2057-
enabled: false
2058-
collect: true
2059-
only_exceptions: false
2060-
only_master_requests: false
2061-
dsn: file:%kernel.cache_dir%/profiler
2062-
matcher:
2063-
ip: ~
2064-
2065-
# use the urldecoded format
2066-
path: ~ # Example: ^/path to resource/
2067-
service: ~
2068-
2069-
# router configuration
2070-
router:
2071-
resource: ~ # Required
2072-
type: ~
2073-
http_port: 80
2074-
https_port: 443
2075-
2076-
# * set to true to throw an exception when a parameter does not
2077-
# match the requirements
2078-
# * set to false to disable exceptions when a parameter does not
2079-
# match the requirements (and return null instead)
2080-
# * set to null to disable parameter checks against requirements
2081-
#
2082-
# 'true' is the preferred configuration in development mode, while
2083-
# 'false' or 'null' might be preferred in production
2084-
strict_requirements: true
2085-
2086-
# session configuration
2087-
session:
2088-
storage_id: session.storage.native
2089-
handler_id: session.handler.native_file
2090-
name: ~
2091-
cookie_lifetime: ~
2092-
cookie_path: ~
2093-
cookie_domain: ~
2094-
cookie_secure: ~
2095-
cookie_httponly: ~
2096-
gc_divisor: ~
2097-
gc_probability: ~
2098-
gc_maxlifetime: ~
2099-
save_path: '%kernel.cache_dir%/sessions'
2100-
2101-
# serializer configuration
2102-
serializer:
2103-
enabled: false
2104-
cache: ~
2105-
name_converter: ~
2106-
circular_reference_handler: ~
2107-
2108-
# assets configuration
2109-
assets:
2110-
base_path: ~
2111-
base_urls: []
2112-
version: ~
2113-
version_format: '%%s?%%s'
2114-
packages:
2115-
2116-
# Prototype
2117-
name:
2118-
base_path: ~
2119-
base_urls: []
2120-
version: ~
2121-
version_format: '%%s?%%s'
2122-
2123-
# templating configuration
2124-
templating:
2125-
hinclude_default_template: ~
2126-
form:
2127-
resources:
2128-
2129-
# Default:
2130-
- FrameworkBundle:Form
2131-
cache: ~
2132-
engines: # Required
2133-
2134-
# Example:
2135-
- twig
2136-
loaders: []
2137-
2138-
# translator configuration
2139-
translator:
2140-
enabled: false
2141-
fallbacks: [en]
2142-
logging: "%kernel.debug%"
2143-
paths: []
2144-
2145-
# validation configuration
2146-
validation:
2147-
enabled: false
2148-
cache: ~
2149-
enable_annotations: false
2150-
translation_domain: validators
2151-
mapping:
2152-
paths: []
2153-
2154-
# annotation configuration
2155-
annotations:
2156-
cache: file
2157-
file_cache_dir: '%kernel.cache_dir%/annotations'
2158-
debug: '%kernel.debug%'
2159-
2160-
# PHP errors handling configuration
2161-
php_errors:
2162-
log: false
2163-
throw: '%kernel.debug%'
2164-
2165-
# cache configuration
2166-
cache:
2167-
app: cache.adapter.filesystem
2168-
system: cache.adapter.system
2169-
directory: '%kernel.cache_dir%/pools'
2170-
default_doctrine_provider: ~
2171-
default_psr6_provider: ~
2172-
default_redis_provider: 'redis://localhost'
2173-
default_memcached_provider: 'memcached://localhost'
2174-
pools:
2175-
# Prototype
2176-
name:
2177-
adapter: cache.app
2178-
public: false
2179-
default_lifetime: ~
2180-
provider: ~
2181-
clearer: ~
2182-
2183-
# lock configuration
2184-
lock:
2185-
invoice: 'redis://localhost'
2186-
report: semaphore
2187-
# lock: ~
2188-
# lock: 'flock'
2189-
# lock: ['semaphore', 'redis://localhost']
2190-
21912021
.. _`HTTP Host header attacks`: http://www.skeletonscribe.net/2013/05/practical-http-host-header-attacks.html
21922022
.. _`Security Advisory Blog post`: https://symfony.com/blog/security-releases-symfony-2-0-24-2-1-12-2-2-5-and-2-3-3-released#cve-2013-4752-request-gethost-poisoning
21932023
.. _`Doctrine Cache`: http://docs.doctrine-project.org/projects/doctrine-common/en/latest/reference/caching.html

reference/configuration/swiftmailer.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ Configuration
2929

3030
* `antiflood`_
3131

32-
* `threshold`_
3332
* `sleep`_
33+
* `threshold`_
3434

3535
* `auth_mode`_
3636
* `command`_
@@ -47,8 +47,8 @@ Configuration
4747
* `source_ip`_
4848
* `spool`_
4949

50-
* `type`_
5150
* `path`_
51+
* `type`_
5252

5353
* `timeout`_
5454
* `transport`_

0 commit comments

Comments
 (0)